Skip to main content
The JavaScript Tag is the recommended install path. It captures attribution, sends automatic page events, supports custom events and conversions, and retries in the browser when possible. Use the image pixel only as a fallback for surfaces where JavaScript cannot run, such as <noscript> blocks, restricted CMS templates, email-like renderers, or environments that block the Tag script. The image pixel writes into the same attribution event pipeline as the JavaScript Tag.

Endpoint

The endpoint returns a transparent 1x1 GIF. It does not redirect and always uses no-cache headers:

Basic snippet

Place this next to your normal Tag install if you need a no-JavaScript fallback:
Replace <YOUR_TAG_ID> with the tag ID Thrad sent you. The query key must remain tag_id: use ?tag_id=adv_example, never ?adv_example=.... Put an & between query parameters in a URL; use &amp; only when that URL is written inside HTML. Percent-encode each dynamic value once, including attribution references containing +, %, & or =.

Parameters

Unknown query keys are rejected. Google Tag Manager’s default gtmcb is transport metadata in the cache-buster-compatible collector; it is not event data and does not replace event_id. For an existing installation reporting gtmcb rejection, temporarily disable Enable Cache Busting until Thrad confirms the compatible collector is live. After confirmation, keep the default gtmcb name; arbitrary cache-buster names are not supported.

Google Tag Manager Custom Image

Prefer the JavaScript GTM installation when scripts can run. If you need a Custom Image tag, put the URL itself in Image URL, without an <img> wrapper or HTML &amp; separators:
Replace the example tag, event identity and reference with real values. Generate a new identity for each logical page event and retain it for retries of that event. Do not use a fixed page-123 for all visits. An image-only install must carry the attribution reference captured on arrival; it does not automatically read the Tag’s cookie or recover a missing reference on a later page. Use structured URL construction for dynamic values:
Supply only supported event/data fields below; this function encodes values, not permissions to send arbitrary data. Pass raw values to searchParams.set, not values already processed by encodeURIComponent. Use the returned URL as the Custom Image tag’s Image URL. Preview the request before publishing. Google’s Custom Image setup

Event data

Add event properties with bracketed data[...] query parameters:
Supported data[...] fields: Only include data needed for attribution and reporting. Do not include email addresses, phone numbers, names, raw addresses, unrestricted customer IDs, session tokens, auth tokens, or other sensitive values in the URL.

Conversions

For purchase completion, send order_created with both a stable event_id and the real data[order_id], value and currency:
Fire this only for a completed order. Reuse the same event and order identities on retries and reloads. If event_id is omitted, a fresh one is generated for each request; data[order_id] alone is not a guarantee that raw image events deduplicate. Browser/server purchase integrations must agree on their supported tag/order identity; do not replace the canonical purchase flow with an image request when an acknowledged purchase receipt is required.

Verify acceptance

A GIF response, HTTP 200 or GTM’s “tag fired” result does not prove ingestion. Invalid requests also return a GIF. Check Thrad’s stored event and diagnostic reason for the exact tag/event identity; confirm the intended event, reference, order data and replay behavior. Provider acknowledgment and conversion credit are separate checks. Missing tag IDs, unsupported fields, disabled configuration and oversized requests still cause diagnosed drops.

When to use the JavaScript Tag instead

Prefer the JavaScript Tag whenever the page can run scripts. The JavaScript Tag automatically captures click parameters, stores attribution across pages, sends richer browser context, and handles Shopify checkout patterns with the dedicated Shopify guide. Use the image pixel when you need a simple request that can be rendered by a browser without JavaScript.