You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/Integrations/framer.mdx
+73-20Lines changed: 73 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,44 +3,76 @@ title: Framer
3
3
description: Add privacy-first analytics to your Framer site
4
4
---
5
5
6
+
import { Step, Steps } from"@/components/docs";
7
+
import { Callout } from"@/components/docs";
8
+
import { CodeBlock } from"@/components/docs";
9
+
6
10
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.
7
11
8
-
> **Easy Setup**: Install our [official Framer plugin](https://www.framer.com/marketplace/plugins/databuddy-analytics/) from the Framer Marketplace for the fastest setup, or manually add the script using the instructions below.
12
+
<Callouttype="info">
13
+
**Easy Setup**: Install our [official Framer plugin](https://www.framer.com/marketplace/plugins/databuddy-analytics/) from the Framer Marketplace for the fastest setup, or manually add the script using the instructions below.
14
+
</Callout>
9
15
10
16
## Installation Methods
11
17
12
18
### Option 1: Framer Plugin (Recommended)
13
19
14
20
The easiest way to add Databuddy to your Framer site is through our official plugin:
15
21
22
+
<Steps>
23
+
<Step>
24
+
25
+
## Install the Plugin
26
+
16
27
1. Open your Framer project
17
28
2. Go to **Plugins** in the left sidebar
18
29
3. Search for "Databuddy Analytics"
19
30
4. Click **Install** on the [Databuddy Analytics plugin](https://www.framer.com/marketplace/plugins/databuddy-analytics/)
20
-
5. Enter your Client ID from your [Databuddy dashboard](https://app.databuddy.cc)
21
-
6. Configure optional settings:
31
+
32
+
</Step>
33
+
<Step>
34
+
35
+
## Configure Settings
36
+
37
+
1. Enter your Client ID from your [Databuddy dashboard](https://app.databuddy.cc)
38
+
2. Configure optional settings:
22
39
- Custom CDN URL (for self-hosted setups)
23
40
- Custom Dashboard URL (for self-hosted setups)
24
-
7. Publish your site
41
+
42
+
</Step>
43
+
<Step>
44
+
45
+
## Publish Your Site
46
+
47
+
Click **Publish** to make your changes live.
25
48
26
49
**Plugin Benefits**:
27
50
- Zero configuration needed
28
51
- Automatic updates
29
52
- Self-hosted option available
30
53
- No manual code editing required
31
54
32
-
> Plugin created by [@dominikkoch](https://x.com/dominikkoch)
55
+
<Callouttype="success">
56
+
Plugin created by [Dominik Koch](https://dominikkoch.dev/)
57
+
</Callout>
58
+
59
+
</Step>
60
+
</Steps>
33
61
34
62
### Option 2: Manual Installation
35
63
36
64
If you prefer manual control or need custom configuration:
37
65
38
-
#### 1. Get Your Tracking Script
66
+
<Steps>
67
+
<Step>
68
+
69
+
## Get Your Tracking Script
39
70
40
71
Navigate to your [Databuddy dashboard](https://app.databuddy.cc) and copy your tracking code snippet:
41
72
42
-
```html
43
-
<script>
73
+
<CodeBlock
74
+
language="html"
75
+
code={`<script>
44
76
(function () {
45
77
var script = document.createElement("script");
46
78
script.async = true;
@@ -51,18 +83,24 @@ Navigate to your [Databuddy dashboard](https://app.databuddy.cc) and copy your t
51
83
script.setAttribute("data-track-errors", "true");
52
84
document.head.appendChild(script);
53
85
})();
54
-
</script>
55
-
```
86
+
</script>`}
87
+
/>
88
+
89
+
</Step>
90
+
<Step>
56
91
57
-
#### 2. Add the Script to Your Framer Project
92
+
## Add the Script to Your Framer Project
58
93
59
94
1. Open your Framer project
60
95
2. Go to **Site Settings** > **General**
61
96
3. Scroll down to **Custom Code**
62
97
4. Paste your Databuddy snippet into the **Start of <head> tag** section
63
98
5. Click **Save** and publish your changes
64
99
65
-
#### 3. Verify Installation
100
+
</Step>
101
+
<Step>
102
+
103
+
## Verify Installation
66
104
67
105
Once published, you can verify that Databuddy is working by:
68
106
@@ -71,28 +109,37 @@ Once published, you can verify that Databuddy is working by:
71
109
3. Checking the Console tab for a "Databuddy initialized" message
72
110
4. Visiting your Databuddy dashboard to see real-time analytics
73
111
112
+
<Callouttype="success">
113
+
If you see real-time data in your dashboard, congratulations! Databuddy is now tracking your Framer site analytics.
114
+
</Callout>
115
+
116
+
</Step>
117
+
</Steps>
118
+
74
119
## Advanced Features
75
120
76
121
### Custom Event Tracking
77
122
78
123
Track custom interactions in your Framer components using data attributes:
0 commit comments