Deploy the FunnelTrack pixel
The pixel is one small snippet that loads on every page and records visits, sessions, and conversions server-side. This guide covers where it goes, how deploying with or without a custom first-party loader changes things, how to track a visitor across multiple domains, and what to allowlist if your site runs a Content Security Policy.
Install the pixel
One snippet, in the <head>, on every page. This is the whole install — everything after it is optional refinement.
Open Tracking pixel in your dashboard and copy your workspace snippet. It looks like this (your pixel ID and host will differ — always copy the exact one from your Pixel page):
<!-- FunnelTrack Pixel -->
<script>window.__ft_id="YOUR_PIXEL_ID";window.__ft_ep="https://app.funneltrack.com";window.ft=window.ft||{q:[],event:function(){this.q.push(["event",[].slice.call(arguments)])},identify:function(){this.q.push(["identify",[].slice.call(arguments)])}};</script>
<script async src="https://app.funneltrack.com/p.js"></script>Paste it in the <head>, as high as possible
Put the snippet inside the <head>, above your other scripts. Loading it early means the pixel is present before a visitor can click away, and before other tags (GA4, Meta, etc.) that FunnelTrack reads from.
Add it to every page
The pixel must run on every page — landing pages, blog, checkout, thank-you pages, all of it. Add it to your global template or layout (the file that renders the <head> for the whole site) rather than page by page, so new pages are covered automatically.
Install with Google Tag Manager
Use this instead of pasting the snippet in your site's code. One Custom HTML tag, fired on every page.
Copy your pixel snippet
Open Tracking pixel in FunnelTrack and click Copy on the Pixel script card. If you use a custom tracking domain, copy the custom-loader snippet shown there instead.

Create a Custom HTML tag
In your GTM container, open Tags and click New. Click Tag Configuration, scroll to Custom, and choose Custom Tags → Custom HTML.



Paste the snippet and set the trigger
Name the tag FunnelTrack Pixel, paste the snippet into the HTML box, and set the trigger to Initialization – All Pages. Initialization fires before your other tags, so the pixel is ready for any FunnelTrack event or Identify tags. If your container doesn't have an Initialization trigger, use All Pages. Save the tag.

Publish the container
Click Submit, give the version a name like “Add FunnelTrack Pixel tag”, and click Publish. Use Preview first if you want to confirm the tag fires on page load.

With the pixel live, send events and Identify signals from GTM or your own code:
With or without a custom loader
The snippet above loads the pixel from funneltrack.com. You can instead serve it first-party from your own subdomain. Same pixel, same events — the difference is data completeness.
Without a custom loader (default)
The pixel loads from funneltrack.com and posts to app.funneltrack.com — a third-party host. It works out of the box with zero DNS setup, which makes it the fastest way to get started. The tradeoff: privacy browsers and ad blockers (Safari ITP, Firefox ETP, Brave, uBlock, AdGuard) are more likely to block a known third-party tracking domain, and Safari caps third-party cookies at 7 days — both of which cost you measured conversions.
With a custom loader (recommended for production)
The pixel loads from a subdomain on your own domain (e.g. load.ft.yourdomain.com) and posts to ft.yourdomain.com. Because the request now looks first-party, ad-block and privacy-browser filter lists no longer match it, and cookies are set on your own domain with their full lifetime. You add two CNAME records at your DNS provider, wait for them to verify, then re-copy the snippet (it updates automatically to your hostnames).
funneltrack.com pixel live on the site until the status pill flips to Active. Then replace the snippet everywhere.Cross-domain tracking
Keep one visitor as one session when your funnel spans more than one root domain. A Pro & Scale feature.
Cookies are scoped to a single root domain. If a visitor moves from one root domain to a different root domain mid-funnel, the second site can't read the first site's session cookie — so without help it looks like two separate visitors. Cross-domain tracking fixes that: the pixel passes the session identifier along on links to your other configured domains, so the visit continues as a single session across both.
When you need it
- You need it for separate root domains. For example a marketing site on
acme.comthat sends visitors to a checkout onacmepay.com, or a booking tool on a different domain. Two distinct roots, two separate cookie jars — add both. - You do NOT need it for subdomains.
shop.acme.com,go.acme.com, andacme.comall share the same root (acme.com), so they already share cookies automatically. Adding subdomains to cross-domain tracking does nothing — leave them off.
Set it up
In Tracking pixel, open the Cross-domain tracking section, turn it on, and add each separate root domain your visitors move between (your primary domain is included automatically). Then make sure the same pixel snippet — same pixel ID — is installed on every one of those domains, including the primary domain and each marketing subdomain you want to track.
Content Security Policy (optional)
Only relevant if your site enforces a CSP. If it doesn't, skip this section — most sites don't.
A Content Security Policy tells the browser which hosts are allowed to load scripts and send network requests. If your site enforces one, it will block the pixel from loading or reporting unless you allowlist the pixel's hosts. Add the loader host to script-src and the collect host to connect-src (or to default-src if you rely on a single fallback directive).
Without a custom loader, both are app.funneltrack.com:
script-src https://app.funneltrack.com;
connect-src https://app.funneltrack.com;With a custom loader, use your own hostnames:
script-src https://load.ft.yourdomain.com;
connect-src https://ft.yourdomain.com;'self' matches only the exact origin of the page — it does not cover subdomains. Allowlist the full hostnames above, or a wildcard such as *.yourdomain.com, so the first-party loader and collect subdomains are permitted.Verify it's working
A few quick checks after you deploy.
- Check the pixel status. Load a page on your site, then open the Pixel page. The status card shows Pixel verified with a Last activity time once FunnelTrack receives a hit from your site.
- Page views in the Event Delivery Log (optional). Page views only show up there if you send them to a destination, by turning on Page View tracking for a platform like Meta, TikTok or Reddit. Without that, the pixel still records visits, but nothing is logged as a delivery.
- Check the network tab. In your browser dev tools, confirm
p.jsloads from the expected host (funneltrack.com or your custom subdomain) and that a collect request fires on pageview. A blockedp.jsusually means an ad blocker (use a custom loader) or a CSP (allowlist the hosts above). - Confirm there's only one. If pageviews or conversions look doubled, search your site and GTM for a second FunnelTrack snippet and remove it.
Ready to deploy?
Grab your snippet and, when you're ready, export a developer-ready implementation doc from the Share menu.
Go to your Pixel page →Need a hand?
If anything here doesn't match what you're seeing, open a support ticket and we'll get you sorted.
