Install the landing-page helper
Paste one block on the advertiser's site so the click id is stored first-party and conversions fire with easq('track', 'event') — get the block from the campaign, read its three parts, install it in plain HTML or Google Tag Manager, and avoid the four ways it silently stores nothing.
What it is and why
The helper is one block of JavaScript the advertiser pastes on their own site. When a visitor
arrives from one of your ads, it takes the click id out of the landing URL and stores it on the
advertiser’s own domain. Later, when that visitor converts, the page calls
easq('track', 'first_deposit') and the conversion is posted to the ad server with the stored
click id attached. It is the middle option between a tracking pixel and a server-to-server
postback: it runs in the browser like a pixel, but it matches on a first-party value the
advertiser stores rather than on a cookie belonging to your ad-serving domain — so it keeps
working where third-party cookies are blocked, and it asks the advertiser for one paste and no
backend work.
Example. A campaign sends 10,000 clicks a week to a shop whose checkout converts 2 % of them —
200 purchases. With a pixel, every one of those visitors whose browser blocks the cookie on your
ad-serving domain — Safari does, and so does any private window — converts without a readable
cookie, and their purchases are never attributed. With the helper, the click id is stored on
shop.example itself when the visitor lands, and easq('track', 'purchase') on the receipt page
sends it back — the browser’s cookie rules no longer decide which of the 200 you count.
Typical scenarios
| You want | Do | Where |
|---|---|---|
| Count purchases from an advertiser who can edit their pages but will not build a backend | Install the block on every page, easq('track', 'purchase') on the receipt page | Snippet tab of the campaign’s tracking-code window → the advertiser’s site template |
| One block that fires registration → first_deposit as separate steps | Generate the block from the campaign’s Funnels tab; one easq('track', …) line per step, placed where each step happens | the campaign’s Conversion actions card → Funnels |
| Run it through Google Tag Manager | Pick the Google Tag Manager format: one All-Pages tag, one tag per step (or one tag driven by a {{Event Name}} variable) | the Snippet tab’s Format |
| A site where two of your ad-serving domains land visitors on the same page | Keep Count one conversion per click ticked: the arbitrate line credits the later click | the Snippet tab |
| Hand the click id to the advertiser’s own backend as well | Read it from your code: Read the click id from your own code | the advertiser’s page |
Pick the helper when the advertiser can edit their pages (or runs a tag manager) but will not build a backend integration. Pick the postback when the conversion happens off the web — an app install, a call centre, a payment confirmed days later on another device.
| Pixel | Landing-page helper | Server-to-server postback | |
|---|---|---|---|
| Where it runs | Advertiser’s browser | Advertiser’s browser | Advertiser’s server |
| What it matches on | A click/view cookie on your ad-serving domain | A click id stored on the advertiser’s domain | A click id the advertiser stored server-side |
| Survives third-party cookie blocking | No | Yes | Yes |
| Survives a different browser or device | No | No | Yes |
| What the advertiser has to do | Paste a pixel on the thank-you page | Paste one block on every page | Store a value, then make an HTTP call |
| Needs the click id in the landing URL | No | Yes | Yes |
Step by step
The block is produced on the campaign and installed on the advertiser’s site, in two stages:
- Get the block. Check that the creative’s landing URL carries
$$CLICK_ID$$, then generate the block from the campaign’s Conversion tracking code window — for one action or a whole funnel — with the ad-serving domain it is built for — Get the landing-page helper block. - Read and install it. The stub, the script tag and the config call go on every page of
the site, in the template or as a Google Tag Manager tag; each
easq('track', …)line goes where that step happens — Read and install the landing-page helper block.
Then check the result with easq('debug') on the landing page after a live click —
Check and troubleshoot the landing-page helper.
Caveats and exceptions
Who can do this. Producing the block takes a campaign and someone in Epom who can open its
tracking code — on a stock network that is the network manager, not the advertiser. The
Snippet tab is there only for a role with Action Tracking: Server-to-Server, and only
from a campaign — the payout flag baked into the block is a campaign fact, so the global
Account → Conversion Actions page offers the postback tab alone. The stock Advertiser role
has no Snippet tab and no campaign Conversion actions card, so it cannot produce the
block: ask your network manager for it, or for Action Tracking: Server-to-Server and Manage
Action Tracking on your role (see
What your network controls). A publisher
has no Conversion Actions section; the block is an advertiser-side artefact. With a Can
view share you can open the tracking window and copy the block, but an Ad-serving domain
pick is refused with Permission denied. Installing the block needs no backend work and no Epom
account — but verifying it takes both of you: only the ad server can mint a click id, so the
developer has to be handed a test click URL, and the commonest failure of all — nothing stored,
reported as no-clickid — is fixed on the campaign, not on the page. Exact grants:
User roles.
Storage crosses subdomains, not registrable domains. The stored click id is written on the
highest domain the browser will accept, so a click captured on lp.shop.example is readable at
checkout.shop.example. It cannot cross to a different registrable domain. A checkout hosted on
a payment provider’s own domain is outside the advertiser’s storage, and the conversion has to be
fired from a page back on their site.
What the block stores, for the advertiser’s privacy people. Two first-party cookies on the
advertiser’s own domain — one holding the click ids and which conversions each has already
counted, one small record of which ad-serving host captured last — plus a localStorage copy of
the first. The click-id jar and its localStorage copy are named after the ad-serving host
(_easclid_…); the ownership record is a single _easq_owner, shared by every ad-serving host on
the page, which is why it is not namespaced. A counted conversion may also render your network’s
configured third-party tags into a hidden frame on the page — the one part of this in which the
advertiser is not the only party, so say so if they ask. All of it is written by the config call
as the visitor lands from an ad — at page load, long before any conversion happens. Whether that
may run ahead of the advertiser’s own consent tool is the advertiser’s decision, not one this page
makes for them — but gate it behind consent and a visitor who lands before granting it arrives
with a click id nothing captures, and their conversion is lost.
Not working?
The symptoms tied to one stage are on its page: a click id that never arrives, and a missing tab, on Get the landing-page helper block; a block that is installed but stores nothing, GTM errors, payouts and the CSP on Read and install the landing-page helper block.
| Symptom | Check | Where |
|---|---|---|
| Third-party tags do not render on the conversion page | The advertiser’s CSP blocks the partner domain, or the visitor refused consent. | the hidden frame in devtools; Piggyback pixels |
For the reason codes and the console checks, go to Check and troubleshoot the landing-page helper.
Reference
Everything about the block once it is installed lives on two companion pages:
| Page | What it covers |
|---|---|
| Landing-page helper reference | Firing a conversion per funnel step, sending a payout, how long the click id lasts, reading the click id from your own code, and every command and option. |
| Check and troubleshoot the landing-page helper | easq('debug'), reading the result of a conversion and the reason it did not count, and what to check when nothing arrives. |
The three parts of the block, in brief:
| Part | What it is | Where it goes |
|---|---|---|
Stub window.easq=window.easq||… | Queues calls made before the script loads | First line, on every page |
<script async src=".../easq.js"> | One static file, identical for every network, cacheable | On every page |
easq('config', { host, network, payoutOverride, actions }) | Registers the host and the event dictionary; captures the click id from the URL | On every page |
easq('arbitrate', 'last-click') | Credits the later of two of your ad-serving domains on one page; emitted while Count one conversion per click is ticked | With the config call |
easq('track', 'event') | Fires one step | Where that step happens |
Related pages:
- Conversion tracking overview
- Get the landing-page helper block
- Read and install the landing-page helper block
- Landing-page helper reference
- Check and troubleshoot the landing-page helper
- Get the pixel and S2S tracking code
- Create and edit conversion actions
- Save a conversion funnel and report on it
- Campaigns
- Macros reference