Skip to main content
Hero Light

Welcome to DATALYR

DATALYR is a marketing attribution platform that tracks visitor behavior, connects ad spend to revenue, and shows you which campaigns actually drive sales.

Quick Setup Checklist

1

Create Your Account

Sign up for DATALYR with email or Google.You’ll answer a few quick questions about your business.
2

Add Your Site

Create your first site by entering:
  • Project name
  • Primary domain (example.com)
  • Timezone
  • Currency (optional)
3

Copy Your Tracking Code

After creating your site, you’ll see your tracking script:
<script
  defer
  src="https://track.datalyr.com/dl.js"
  data-workspace-id="YOUR_ID">
</script>
Copy this code (your actual workspace ID will replace YOUR_ID).
4

Install on Your Site

Paste the tracking code into your website’s <head> section.Need platform-specific instructions?
5

Verify Tracking Works

  1. Visit your website in a new browser tab
  2. Go back to your DATALYR dashboard
  3. Click Events in the sidebar
  4. You should see a page_view event within a few seconds
If you see events, you’re done! Tracking is live.

What Gets Tracked Automatically

Once installed, DATALYR automatically tracks:
  • Page views - Every page visit on your site
  • Visitors - Unique visitors across sessions (cookie-based)
  • UTM parameters - Campaign source, medium, and content from URLs
  • Referrers - Where visitors came from
  • Device info - Browser, OS, screen size

Next Steps

Connect Your Ad Accounts

Link Meta Ads, Google Ads, or TikTok Ads to automatically send conversion data back to your campaigns.

Set Up E-commerce Tracking

Connect Shopify or Stripe to track orders, revenue, and profit margins.

Track Custom Events

Add code to track button clicks, form submissions, and other important actions.

Understand Attribution

Learn how DATALYR connects touchpoints to conversions.

Need Help?

Browse All Guides

Explore complete documentation for all features.

Troubleshooting

Fix common tracking issues.
After installing the tracking code, events should appear in your dashboard within a few minutes. If you don’t see events, check out our troubleshooting guide.