Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update manual.md

Kiran K76902f493a5a
diff --git a/apps/web/integration-guides/manual.md b/apps/web/integration-guides/manual.md
index e69de29bb2..1dd3fcaa74 100644
--- a/apps/web/integration-guides/manual.md
+++ b/apps/web/integration-guides/manual.md
@@ -0,0 +1,15 @@
+You can add the `@dub/analytics` script to your website same way you would add Google Analytics script or any other JavaScript code – by adding the `@dub/analytics` script in the `<head>` section of your HTML file.
+
+```html
+<script src="https://www.dubcdn.com/analytics/script.js" defer></script>
+```
+
+If you're using [Dub Partners](/partners/quickstart) for affiliate management, you will also need to set up the `data-domains` property to enable [client-side click-tracking](/sdks/client-side/features/client-side-click-tracking).
+
+```html
+<script
+ src="https://www.dubcdn.com/analytics/script.js"
+ defer
+ data-domains='{"refer":"yourcompany.link"}'
+></script>
+```