Offer Redirect
When a visitor clicks your CTA on a landing page, they need to be redirected to the offer. This is done via /outgoing links. What you need to do depends on your lander type, redirect mode, and domain match.
Quick Reference
| Lander Type | Mode | Domain Match | What You Need to Do |
|---|---|---|---|
| Lander Uploads | Redirect | Same | Nothing - cookie handles it |
| Lander Uploads | Redirect | Different | โ ๏ธ Add tracker.js to your HTML |
| Lander Uploads | No Redirect | Both | Nothing - auto-injected |
| External | Redirect | Same | Nothing - cookie handles it |
| External | Redirect | Different | โ ๏ธ Add tracker.js to your HTML |
| Blog | Redirect | Both | Nothing - automatic |
| Blog | No Redirect | Both | Nothing - automatic |
| Internal | Redirect | Both | Nothing - automatic |
| Internal | No Redirect | Both | Nothing - automatic |
โDomain Matchโ refers to whether your campaign URL domain and your outgoing link domain are the same (e.g., both track.mydomain.com) or different (e.g., campaign on track1.mydomain.com, outgoing link to track2.mydomain.com). โBothโ means it works regardless of whether the domains are the same or different - tracking is handled automatically.
Step 1 - Add outgoing links to your lander
Add a plain <a> link pointing to /outgoing on your tracking domain:
<a href="https://track.mydomain.com/outgoing">Get The Offer</a>The /outgoing endpoint handles everything - it tracks the click and redirects the visitor to your offer.
Step 2 - Add tracker.js (only if needed)
Most setups donโt require tracker.js. Itโs only needed when your campaign URL domain and outgoing link domain are different - which only happens with Lander Uploads (Redirect) and External landers pointing to a different tracking domain.
Why itโs needed
The tracking cookie is set on the domain that receives the campaign click. If your outgoing link points to a different domain, that domain wonโt have the cookie and tracking breaks. This is a limitation of how cookies work - most trackers have the same problem.
tracker.js is a safety net: it reads the click ID from the URL and appends it to your outgoing links as a query parameter. The /outgoing endpoint reads the click ID from the query param when no cookie is found.
How to add it
Add this script tag to your lander HTML, along with your outgoing link:
<script src="https://track.mydomain.com/proferex/tracker.js"></script>
<a href="https://track.mydomain.com/outgoing">Get The Offer</a>tracker.js will automatically append the click ID to your outgoing links. No other changes needed.
Best Practice
Use the same domain for your campaign URL and outgoing links whenever possible. This gives you the most reliable tracking with zero JavaScript dependency - the cookie handles everything automatically.
If you must use different domains, add tracker.js to your lander. It works well as a safety net, but same-domain tracking is always the simplest and most reliable option.