Home
Offers & Tracking
Advanced Tracking Options
Cross Site Tracking
Cross Site Tracking

SERIES:

Cross Site Tracking

Learn how to ensure accurate tracking when using Everflow's JavaScript SDK across different domains by detailing the necessary steps to manually pass the click ID from the initial domain where the click occurs to the conversion domain.

Overview

When you use Everflow’s JavaScript SDK, the EF.click() function stores a cookie with the click ID on the same domain where it runs.

But here’s the catch:
If your EF.conversion() code runs on a different domain, it won’t have access to that cookie — and as a result, the click ID won’t be tracked properly.

This happens because cookies are domain-specific. So for example, if someone clicks on an So for example, if someone clicks on an ad that takes them to everflow.io (where EF.click() runs), and then they take an action like submitting a form or requesting support on everflowclient.io (where EF.conversion() runs), the click ID cookie doesn’t automatically follow them — because those are two different domains.

What You Need To Do: Pass the Click ID Across Domains

You need to manually transfer the click ID from the domain where EF.click() runs to the domain where EF.conversion() runs.

Heads up! This guide assumes you have a basic understanding of JavaScript.
1 Check Your Links First, confirm your website uses standard anchor (<a href="">) tags to link to the other domain. Open Developer Tools in your browser (usually F12 or right-click → “Inspect”). Run the following snippet in the Console tab: Replace INSERT_CROSS_SITE_DOMAIN with the domain you’re linking to (e.g. "everflow.io"). If you see a list of URLs, you’re good to go. If you see undefined, your site may use a different link structure—contact support for help.
2 Add Script to Your Main Site Add this code inside the <head> tag of your main site (where EF.click() will first be called): Replace: INSERT_YOUR_TRACKING_DOMAIN with your tracking domain (found in Control Center → Configuration → Domains). INSERT_ADVERTISER_ID with your advertiser ID (found on the Offer Page). INSERT_CROSS_SITE_DOMAIN with the destination domain (e.g.,everflowclient.io).


3 Add Script to the Cross-Site Domain On the destination domain, add the following inside the <head> tag to accept the click ID: Replace INSERT_YOUR_TRACKING_DOMAIN as in Step 2. Essentially, post the code from Step 2 on everflow.io and the code from Step 3 on everflowclient.io 4 Add the Conversion Script On the final conversion page, make sure to include the EF.conversion() script. This is what finalizes the tracking.
Still Need Help?

If you're unsure about your site's setup, or you're not seeing the click ID pass properly, don’t worry—contact our support team and we’ll help you troubleshoot.