Add AdTarget to Webflow
Let’s add tracking to your Webflow site. This takes about 2 minutes.
What You Need
- A Webflow project
- Your site ID from AdTarget
Find your Site ID in the AdTarget dashboard under your site settings.
Add the Code
Open Project Settings
In your Webflow project, click the gear icon → Custom Code
Paste in Head Code
Scroll to Head Code and paste:
<script
defer
data-website-id="atid_YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://adtarget.io/track.js"
></script>Save & Publish
Click Save Changes, then Publish your site.
Check It’s Working
Visit your published site, then open your AdTarget dashboard — you should see tracking activity appear within a few seconds.
Tip: If you don’t see activity right away, try clearing your browser cache and visiting your site again.
Multiple Funnels on the Same Domain
Need different Telegram channels for different sections of your site? For example, yoursite.com and yoursite.com/uk each leading to separate channels.
How it works: Create a separate site in AdTarget for each funnel. Each site gets its own tracking code and Telegram channel.
Create Multiple Sites in AdTarget
In your AdTarget dashboard , create one site per funnel:
- Site 1:
yoursite.com→ connects to your main channel - Site 2:
yoursite.com/uk→ connects to your UK channel
Use Page-Level Custom Code
Instead of adding code in Project Settings (which applies to all pages), add it per page:
- Select the page in the Pages panel
- Click the gear icon next to the page name
- Scroll to Custom Code → Inside
<head>tag - Paste the appropriate tracking code for that page
Example Setup
| Page | Site ID |
|---|---|
| Home, Pricing, About | atid_abc123 |
| /uk, /uk/pricing | atid_xyz789 |
Important: Remove any global tracking code from Project Settings if using page-level code. Each page should only load one tracking script.
Need Help?
Email us with your Webflow URL and we’ll help.