Check and troubleshoot the landing-page helper
Run easq('debug') on the advertiser's page to see whether the click id survived, fire a conversion with a callback to read its status and reason code, and work through the checks when nothing arrives — with every reason code explained.
What it is and why
The landing-page helper runs on the advertiser’s own pages, so when a conversion does not arrive
you cannot see what went wrong from Epom alone. The helper answers from the browser console
instead: easq('debug') prints what the runtime actually believes — which host it posts to,
whether a click id is stored, which event names it accepts — and a conversion fired with a
callback returns a one-word status and a reason code. Use both right after installing the block,
and whenever a conversion that should have arrived did not.
Example. An advertiser’s developer installs the block, converts three times and sees nothing
in Epom. easq('debug') on their landing page reads click id NONE - if our ads point here, the click id did not survive the trip: the creative’s landing URL is not carrying easclid=, so no
amount of work on the checkout page can help. The network manager switches Add the click id to
landing page URLs on, hands over a test click URL, and the next easq('track', 'purchase')
answers counted ok.
Typical scenarios
| You want | Do | Where |
|---|---|---|
| Confirm a fresh install sees the click id at all | Click a live ad, then run easq('debug') on the landing page and read the click id line | the browser console on the advertiser’s landing page |
| Settle an argument about a payout that did not apply | Read the payout from the page line of easq('debug') — accepted by the campaign or IGNORED by the campaign | the same console |
| Know what happened to one specific conversion | Fire easq('track', 'first_deposit', { callback }) and read result.status / result.reason | the conversion page’s console |
| Tell “the page is broken” from “the ad server refused it” | Browser-side reasons (no-clickid, unknown-event, not-sent) versus the XD-reason header (expired, key-unknown, error) | the reason tables under Reference |
| Prove the integration to the advertiser | Watch the action’s Activity badge turn Live, or open the Conversions Log | Account → Conversion Actions |
Step by step
Only the ad server can mint a click id, so a check done by the advertiser alone cannot get past
no-clickid: the advertiser’s developer needs a live click on one of the campaign’s ads, or a
test click URL for the campaign from their network contact, and a browser with developer tools
open on the advertiser’s site. The block must already be installed on every page — see
Install the landing-page helper.
Check it with easq('debug')
-
Click a live ad (or open the test click URL) so you land on the advertiser’s page with a real click id in the URL.
-
In the browser console on that page, after the script has loaded, run:
easq('debug')It prints, and returns, a report of what the runtime actually believes:
easq 1: 1 account(s) host https://ads.example.com (from config) storage _easclid_1qk4z9 post-view fallback off payout from the page IGNORED by the campaign compact (version 2) click ids not accepted - re-copy the snippet if your network mints them click id held, 1 cell(s) actions registration, first_deposit arbitration last-click, owner _easclid_1qk4z9 third-party tags rendered 0 - none configured for these conversions, or none has been counted yet account https://ads.example.com (from config), namespace _easclid_1qk4z9 -
Read the click id line first.
held, N cell(s)means the click survived the trip.NONE - if our ads point here, the click id did not survive the tripmeans the landing URL is not carrying the click id, and no amount of work on the conversion page will fix it — go to Not working? item 1. -
Read the rest, line by line:
- host — where conversions are sent, and where that host came from.
(from config)is what a generated block always produces.(from script origin)means thehostline was edited out of the block and the runtime is guessing from where the script was loaded. - storage — the name of the cookie holding the click ids, so you can find it in devtools.
A
(memory only …)suffix means this click was served without consent (see Caveats). - post-view fallback — always
offfor a generated block; the Snippet tab never turns it on. - payout from the page —
accepted by the campaign,IGNORED by the campaign, ornot stated by this snippetfor a block generated before the flag was recorded. This is the fastest way to settle an argument about a payout that did not apply. It reports what the campaign said when the block was generated, not what it says now — if the flag has been changed since, re-copy the block before trusting this line. - compact (version 2) click ids —
acceptedwhen the block carriesclickIdV2: true, which the Snippet tab writes once sealed (version 2) click ids have started — they start once the whole platform runs release 155, switched on by ops in one step after the rollout.not acceptedafter that means the block was copied before the switch: re-copy it, or the clicks made since are not captured on this page. - actions — the event names this page will accept.
- arbitration — present only when the block carries the
arbitrateline. It names the mode and the storage namespace of the ad-serving host that captured the last click on this page. - third-party tags rendered — how many times this page has rendered the client-side
third-party tags your network returned with a counted conversion. Always printed,
0on a page that has not converted yet and on a network that configured none. See Piggyback pixels. - Anything after that is a diagnostic collected since the page loaded — a click id recognised
under an unexpected parameter name, a token refused as another network’s,
localStorageunavailable.
- host — where conversions are sent, and where that host came from.
Read the result of a conversion
-
On the page where the step happens, fire the conversion with a callback:
easq('track', 'first_deposit', { callback: function (result) { console.log(result.status, result.reason); // e.g. "counted" "ok" } }); -
Read
status. It is one of three words, andcountedis the only one that means the conversion was recorded;rejectedandskippedboth mean it was not. -
Read
reason— the value worth acting on — against the two tables under Reference: the first lists reasons the browser reports without an answer from the ad server, the second theXD-reasoncodes the ad server sends back.
The callback runs exactly once per easq('track', …) call, after every configured account has
answered, and a callback that throws cannot un-count a conversion that already counted.
Confirm in a report
The action’s Activity badge on Account → Conversion Actions turns Live once it has recorded a conversion in the last 2 days; the Conversions Log report shows individual rows while the action’s Detailed conversion log option is on. Confirm a new integration here, not only in the console — see the first caveat below.
Caveats and exceptions
counted is the ad server’s word, read off the response — not the ledger. If something
other than the ad server answers the request — a CDN error page in front of a mistyped host,
say — the runtime has no reason header to read and treats the response as ok. Confirm a new
integration in a report, not in the console.
easq('debug') returns undefined for two different reasons. It is the only command that
returns a value, and only once the script has loaded. Called through the stub — in a <script>
tag written next to the async <script src> — the call is queued and its output prints on its
own once the script arrives, unprompted. If the script never loaded at all, nothing prints, ever.
The network tab tells them apart.
A refusal releases the step, so it can be retried. The once-per-click mark is kept only for
ok, already-tracked, expired and window-disabled — the answers that mean the step is
settled. Every other code — an unknown key, an unknown campaign, a server error — releases it,
so the same event fires again on the next easq('track') call in that browser, with no change on
the advertiser’s page once you have corrected the configuration. That is deliberate: a conversion
refused for a reason the page can fix should not be locked out of ever counting. It also means a
genuinely broken integration retries on every page view rather than failing once, so treat a
reason code that keeps coming back as a fault to fix rather than as noise.
The HTTP status is not the answer; XD-reason is. Reading the headers from the advertiser’s
own page works: XD-reason, XD-attribution and XD-warning are all named in
Access-Control-Expose-Headers. In devtools the conversion request answers 404 when the
conversion was not processed and 200 when it was — read the header, not the code.
A hand-typed click id proves nothing. Only the ad server can mint one, and a typed
?easclid=test123 is discarded on sight with no message anywhere, so NONE after one of those
is not a finding. An advertiser’s developer testing on their own cannot produce one — ask your
network contact for a test click URL for the campaign.
Without consent the click id lives in memory only. When the ad was served without consent,
the click id is held in the page’s memory and never written to the visitor’s device. A
conversion completed in the same document — a single-page checkout — still counts, because the
click id in the URL names the click on its own. A real navigation loses it. easq('debug') marks
such an account (memory only - consent was denied for this click).
Settings you just changed are not live yet. The ad servers reach the action’s and the campaign’s settings on a schedule — every 10 minutes on a standard network — so a test fired straight after a save can still be judged by the previous values.
Who does what. The network manager is the person the advertiser’s developer asks for a test click URL, and the one who confirms the conversion on the action’s Activity badge. An advertiser can run every console check on their own site; the stock role has no campaign Conversion actions card, so the Activity badge is not in reach — ask your network manager to confirm the conversion. A publisher is not involved; the block is an advertiser-side artefact.
Not working?
Before anything else, make sure the runtime is there: if easq('debug') returns undefined and
prints nothing, the script never loaded, and nothing below is readable. Look in the network tab
for the easq.js request — a Content-Security-Policy, an ad blocker or a 404 on the wrong host
all end there.
Then, in order, because the first item is the cause most of the time:
- Run
easq('debug')on the landing page, right after clicking a live ad. If the click id line saysNONE, stop here — the problem is upstream of the advertiser entirely. Where: the creative’s landing URL must carry$$CLICK_ID$$, or Add the click id to landing page URLs must be on for the campaign and the creative must be one the toggle can reach (see the prerequisites — on HTML Code, Template, native and OpenRTB creatives it has nothing to rewrite, so there the macro is the only thing to check). Then click a fresh ad: a creative already serving does not pick up the change retroactively. - Check the block is on the landing page, not only the conversion page. The click is
captured by the config call, and a config call that only runs at checkout never sees the
landing URL. Where: view-source of the landing page, or
easq('debug')there. - Check
hostin the debug output names an ad-serving domain of yours, and the same one the ads were served from. Where: the host line, against the Ad-serving domain picker in the tracking-code window. - Fire the conversion with a callback and read the
reasonagainst the tables under Reference. - Check the event name in the
trackcall against theactionslist in the block (and the actions line of the debug output). Case and spaces are forgiven; an underscore is not. - If the reason is
already-tracked, you are testing on a click that has already converted. Click a fresh ad — on a different campaign, or from a browser with clean storage — rather than firing again. - Confirm in a report. Where: the action’s Activity badge on Account → Conversion Actions, or the Conversions Log report (needs Detailed conversion log on the action).
Reference
Reasons the browser reports without an answer from the ad server
reason | What happened |
|---|---|
no-clickid | Nothing is stored for this visitor. The landing URL never carried a click id, the visitor arrived some other way, or the storage was cleared. The commonest one by far — check easq('debug') first. |
already-tracked | This action was already counted for this click, in this browser. |
unknown-event | No configured account knows that event name. Compare it with the actions list in the block; case and spaces are forgiven and nothing else is, so an underscore in the key has to be typed. |
not-configured | A track call ran and no config call has been applied — the init block is missing from this page, or it failed to parse. |
lost-last-click | The page arbitrates last-click and another ad-serving domain on it holds the later click. |
no-campaign-match | The event’s key names a campaign and the stored click belongs to a different one. A generated block cannot produce this: the keys the Snippet tab emits name only the action, so they match whichever click is freshest. You will see it only in a block someone hand-wrote around a pixel key (the hash-action-campaign shape from the Pixel Tracking tab). |
not-sent | The request was attempted and failed before any answer came back — the ad-serving host unreachable, the call blocked on the network, the device offline. Nothing was counted and nothing was marked, so the next attempt tries again. |
Reasons that come back from the ad server, on the XD-reason response header
XD-reason | What happened |
|---|---|
ok | Counted. |
expired | The click matched but fell outside the action’s attribution window. Recorded as a zero-revenue diagnostic, not counted. |
window-disabled | That event type has a zero-length window on this action, so it never converts. |
already-tracked | The ad server’s own duplicate check refused a repeat. |
key-unknown, pair-unknown | Neither the action key in the block nor the ids inside the click id resolve to a conversion action — usually a block copied before the action was changed. |
action-data-missing | The request carried no usable click id — missing or garbled, most often a postback URL truncated somewhere in the chain. |
action-unknown, banner-unknown, campaign-unknown, advertiser-unknown, placement-unknown | The entity behind the click is no longer live in ad serving — deleted, or with conversion tracking switched off. |
country-unknown | The country of the conversion could not be resolved. |
error | The ad server failed to process the conversion. |
The full list, with the other codes the endpoint can return, is in Why a conversion did not count.
Commands and headers
| Item | Meaning |
|---|---|
easq('debug') | Prints and returns the runtime report above. The only command that returns a value; undefined before the script has loaded. |
easq('track', event, { callback }) | Fires the step; the callback receives { status, reason } once, after every configured account answered. |
status | counted (recorded), rejected or skipped (not recorded). |
XD-reason, XD-attribution, XD-warning | Response headers exposed to the advertiser’s page via Access-Control-Expose-Headers. |
| Settled codes | ok, already-tracked, expired, window-disabled keep the once-per-click mark; every other code releases it for a retry. |
Related pages: