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-website-id="atid_YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://adtarget.io/track.js"
></script>Set the Options
- Name: AdTarget Tracking
- Pages: All pages
- Location: Head
Click Apply, then Publish your site.
Check It’s Working
Visit your website, 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
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.