Skip to content

Commit 0f9a050

Browse files
committed
docs
1 parent e23a383 commit 0f9a050

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

apps/docs/content/docs/comparisons/databuddy-vs-google-analytics.mdx

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: "Detailed comparison between Databuddy and Google Analytics. Learn
44
icon: "BarChart3"
55
---
66

7-
import { CodeBlock } from "@/components/docs";
8-
97
Choosing the right analytics platform is crucial for your business. This comprehensive comparison will help you understand the key differences between Databuddy and Google Analytics to make an informed decision.
108

119
## Quick Comparison Table
@@ -117,14 +115,13 @@ Choosing the right analytics platform is crucial for your business. This compreh
117115

118116
### Databuddy Setup
119117

120-
<CodeBlock
121-
language="html"
122-
filename="Simple one-line setup"
123-
code={`<script
118+
```html
119+
<!-- Simple one-line setup -->
120+
<script
124121
src="https://cdn.databuddy.cc/sdk.js"
125122
data-client-id="your-client-id"
126-
></script>`}
127-
/>
123+
></script>
124+
```
128125

129126
**Setup time:** 2-5 minutes
130127

@@ -134,10 +131,8 @@ Choosing the right analytics platform is crucial for your business. This compreh
134131

135132
### Google Analytics Setup
136133

137-
<CodeBlock
138-
language="html"
139-
filename="Google Analytics 4 setup"
140-
code={`<!-- Google Analytics 4 setup -->
134+
```html
135+
<!-- Google Analytics 4 setup -->
141136
<script
142137
async
143138
src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"
@@ -149,8 +144,8 @@ Choosing the right analytics platform is crucial for your business. This compreh
149144
}
150145
gtag("js", new Date());
151146
gtag("config", "GA_MEASUREMENT_ID");
152-
</script>`}
153-
/>
147+
</script>
148+
```
154149

155150
**Setup time:** 30+ minutes
156151

0 commit comments

Comments
 (0)