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/shopify.mdx
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ title: Shopify
3
3
description: Add privacy-first analytics to your Shopify store
4
4
---
5
5
6
+
import { CodeBlock } from"@/components/docs";
7
+
6
8
Add Databuddy's privacy-first analytics to your Shopify store to track customer behavior, e-commerce events, and improve conversion rates while maintaining GDPR compliance.
7
9
8
10
## Installation Methods
@@ -16,16 +18,18 @@ Add Databuddy directly to your Shopify theme:
16
18
3. Open `theme.liquid` in the Layout folder
17
19
4. Add your Databuddy script before the closing `</head>` tag:
18
20
19
-
```html
20
-
<script
21
+
<CodeBlock
22
+
language="html"
23
+
filename="theme.liquid"
24
+
code={`<script
21
25
src="https://cdn.databuddy.cc/databuddy.js"
22
26
data-client-id="YOUR_SITE_ID"
23
27
data-track-screen-views="true"
24
28
data-track-attributes="true"
25
29
data-track-outgoing-links="true"
26
30
async
27
-
></script>
28
-
```
31
+
></script>`}
32
+
/>
29
33
30
34
### Method 2: Google Tag Manager
31
35
@@ -34,8 +38,10 @@ If you're using Google Tag Manager:
Copy file name to clipboardExpand all lines: apps/docs/content/docs/Integrations/wordpress.mdx
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ title: WordPress
3
3
description: Add privacy-first analytics to your WordPress site
4
4
---
5
5
6
+
import { CodeBlock } from"@/components/docs";
7
+
6
8
Add Databuddy's privacy-first analytics to your WordPress site without slowing it down. No cookies, fully GDPR compliant, and 247x smaller than Google Analytics.
7
9
8
10
## Installation Methods
@@ -28,14 +30,16 @@ If you prefer manual installation:
28
30
3. Select **header.php**
29
31
4. Add your script before the closing `</head>` tag:
30
32
31
-
```html
32
-
<script
33
+
<CodeBlock
34
+
language="html"
35
+
filename="header.php"
36
+
code={`<script
33
37
src="https://cdn.databuddy.cc/databuddy.js"
34
38
data-site-id="YOUR_SITE_ID"
35
39
async
36
40
></script>
37
-
</head>
38
-
```
41
+
</head>`}
42
+
/>
39
43
40
44
### Method 3: Using a Plugin (Insert Headers and Footers)
0 commit comments