Skip to main content

Pixel Image as Conversion

Sasha Gerold avatar
Written by Sasha Gerold
Updated this week

This article describes how to track conversions using a pixel (image-based integration) as a replacement for server-side postback integration.

The pixel uses the same conversion endpoint and the same parameters as a postback.


The only difference is the delivery method - instead of sending the request from the server, the conversion request is triggered by loading an image on a web page.

Pixel Integration (Postback Replacement)

Instead of sending a server-side GET request, insert the following <img> tag on the final confirmation (“thank you”) page.

Pixel Structure

<img
src="POSTBACK_URL"
width="1"
height="1"
alt=""
/>

Fixed Amount Conversion

Use this pixel if your postback integration does not send a revenue value.

<img
src="https://{TENANT_ID}.trackdesk.com/tracking/conversion/v1
?conversionTypeCode=sale
&cid={CLICK_ID}"
width="1"
height="1"
alt=""
/>

Placeholders

  • {TENANT_ID} – Trackdesk tenant ID

  • {CLICK_ID} – Trackdesk click ID (CID)

Revenue Share (Dynamic Amount)

If your postback integration includes a revenue value, include the same parameter in the pixel.

<img
src="https://{TENANT_ID}.trackdesk.com/tracking/conversion/v1
?conversionTypeCode=sale
&cid={CLICK_ID}
&amount.value={AMOUNT}"
width="1"
height="1"
alt=""
/>

Placeholders

  • {TENANT_ID} – Trackdesk tenant ID

  • {CLICK_ID} – Trackdesk click ID (CID)

  • {AMOUNT} – Conversion revenue value

Did this answer your question?