Features How it works Pricing Guides
Console
← Back to playbooks
Integrations Published on June 28, 2026

Zero-Code Landing Page Link Auto-Tagger Setup Guide

Learn how to set up PostbackFlow's JS pixel on your landing page to automatically detect and tag affiliate links with unique click IDs.

The Headache: Manual Link Tagging in A/B Testing

When running performance campaigns, you must pass a unique tracking parameter (usually called click_id or subid) from your landing page to your affiliate networks (such as ClickBank, MaxBounty, CJ, or Awin).

Traditionally, this required manual labor:
1. Generating complex redirect links inside your tracker.
2. Editing the HTML code of your landing page for every single offer link.
3. Remembering to change parameters manually whenever you switch affiliate networks.

If you make a single typo in a parameter, your postbacks will break, and you will lose conversion tracking entirely.

PostbackFlow solves this with our Zero-Code Link Auto-Tagger.

---

How It Works

Our client-side JavaScript pixel (track.js) is an intelligent script that runs quietly in the browser.

When a user visits your landing page:
1. The script generates a unique, secure 24-character click_id.
2. It automatically scans all <a> anchor links on your page.
3. If it detects a URL matching common affiliate networks (e.g. ClickBank hoplinks, MaxBounty redirects, CJ affiliate domains), it intercepts the click and appends the click ID parameter dynamically (e.g. ?affsub=pbf_click_id or ?s1=pbf_click_id).
4. It saves the click metadata (IP, Country, referrer) in the database instantly.

---

Step-by-Step Implementation

Setting up the Auto-Tagger takes less than 2 minutes:

Step 1: Copy your JS Pixel

Go to your Profile page in the PostbackFlow Console. Under Developer & API Settings, copy your unique JS tracking script tag:
<script src="https://track.yourdomain.com/js/track.js" data-token="YOUR_USER_TOKEN"></script>

Step 2: Paste the Script on your Landing Page

Paste the script tag directly into the <head> section of your website or landing page template.

Step 3: Write Clean Affiliate Links

You no longer need to replace your links with tracker redirects. Just write the standard, clean affiliate links in your landing page editor:

Our Auto-Tagger will automatically recognize them and inject the tracking parameter at the exact millisecond the user clicks!

---

Expected Results & ROI Impact