Add AdTarget to Wix
Let’s add tracking to your Wix site. This takes about 3 minutes.
What You Need
- A Wix Premium plan
- Your site ID from AdTarget
Find your Site ID in the AdTarget dashboard under your site settings.
Add the Code
Open Custom Code
Go to your Wix dashboard → Settings → Advanced → Custom Code → Add Custom Code
Paste the Tracking Code
<script
defer
data-site="YOUR_SITE_ID"
src="https://adtarget.io/tracker.min.js"
></script>Set the Options
- Name: AdTarget Tracking
- Pages: All pages
- Location: Body - end
Click Apply, then Publish your site.
Check It’s Working
- Visit your site
- Press F12 to open DevTools
- Look for “AdTarget: initialized” in the Console
That’s it! You’re tracking.
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
Add Page-Specific Code in Wix
In Wix, go to Settings → Custom Code → Add Custom Code
For each tracking code, set Pages to Choose specific pages instead of “All pages”, then select only the relevant pages for that funnel.
Example Setup
| Funnel | Site ID | Pages in Wix |
|---|---|---|
| Main site | atid_abc123 | Homepage, /pricing, /about |
| UK funnel | atid_xyz789 | /uk, /uk/pricing |
Important: Make sure each page only loads one tracking script. If a page loads multiple scripts, only the last one will work correctly.
Need Help?
Email us with your Wix URL and we’ll help you out.