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 Footer Code
Scroll to Footer Code and paste:
<script
defer
data-site="YOUR_SITE_ID"
src="https://adtarget.io/tracker.min.js"
></script>Save & Publish
Click Save Changes, then Publish your site.
Check It’s Working
- Visit your published site
- Press F12 to open DevTools
- Look for “AdTarget: initialized” in the Console
Done! Your tracking is live.
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 → Before
</body>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.