Framer
Databuddy enables you to gather privacy-first analytics on user behavior, capture custom events, track performance metrics, and more within your Framer site - all while maintaining GDPR compliance without cookies.
Installation Methods
Option 1: Framer Plugin (Recommended)
The easiest way to add Databuddy to your Framer site is through our official plugin:
Install the Plugin
Configure Settings
Publish Your Site
Click Publish to make your changes live.
Plugin Benefits:
Option 2: Manual Installation
If you prefer manual control or need custom configuration:
Get Your Tracking Script
Navigate to your Databuddy dashboard and copy your tracking code snippet:
<script>
(function () {
var script = document.createElement("script");
script.async = true;
script.src = "https://cdn.databuddy.cc/databuddy.js";
script.setAttribute("data-client-id", "YOUR_CLIENT_ID");
script.setAttribute("data-track-screen-views", "true");
script.setAttribute("data-track-attributes", "true");
script.setAttribute("data-track-errors", "true");
document.head.appendChild(script);
})();
</script>Add the Script to Your Framer Project
Verify Installation
Once published, you can verify that Databuddy is working by:
Advanced Features
Custom Event Tracking
Track custom interactions in your Framer components using data attributes:
<!-- Track button clicks -->
<button data-track="cta_clicked" data-button-type="primary">Get Started</button>
<!-- Track form submissions -->
<form data-track="newsletter_signup" data-form-location="header">
<!-- form content -->
</form>Performance Monitoring
Enable performance tracking by updating your script configuration:
<script>
(function () {
var script = document.createElement("script");
script.async = true;
script.src = "https://cdn.databuddy.cc/databuddy.js";
script.setAttribute("data-client-id", "YOUR_CLIENT_ID");
script.setAttribute("data-track-screen-views", "true");
script.setAttribute("data-track-performance", "true");
script.setAttribute("data-track-web-vitals", "true");
script.setAttribute("data-track-errors", "true");
document.head.appendChild(script);
})();
</script>Benefits for Framer Sites
Troubleshooting
Plugin Issues
Script Not Loading
Data Not Appearing
Related Integrations
Need help? Contact our support team at help@databuddy.cc.
How is this guide?