For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conversions

Set up a goal's conversion pixel, so the platform records when a user converts.

Your goal

Record when a user converts, so you can measure and optimise the performance - the cost per action - of your marketing campaigns.

Expected outcome

A goal pixel that fires reliably at the moment of conversion, recorded as a $conversion event.

Prerequisites

  • A goal created with Trigger via Pixel, carrying the attribution model you want to use. Creating a goal is documented in Goals and attribution.

How the pixel works

Every user who sees a goal's pixel on a page converts for that goal. The pixel goes on the confirmation page, or is loaded dynamically when the user converts - through a tag manager, or by including the pixel load in the site's logic.

Conversions relying on pixels skip step 4 of the processing pipeline, where query-based conversions are detected, which is part of why they behave more predictably.

A goal can also be triggered by a query on your datamart, with no pixel to place: see What a goal is.

Set up the pixel

1

Get the pixel code

Once the goal is saved, its code snippet appears. Hand the generated HTML to your technical team.

2

Place it where the conversion happens

They integrate it on the confirmation page, or load it when the conversion happens.

The $conversion event

A conversion appears in the data as the predefined event $conversion. It is either registered by the integrator, or created automatically by the platform when a goal is met. See UserActivity & UserEvent.

For e-commerce, $transaction_confirmed is what feeds conversion amounts and funnel analytics. A goal and a transaction event answer different questions - a goal marks that an objective was met and can be attributed to a campaign, while $transaction_confirmed carries the products and amounts.

Verify

  • A test conversion produces a $conversion event on the user's timeline.

  • The conversion is attributed to the expected campaign, given the attribution model you selected.

  • Pixel-based goals fire exactly once per conversion - check that the pixel is not loaded twice on the confirmation page.

Creating a goal, attaching an attribution model to it, and reading the attributed conversions are documented in Goals and attribution.

Last updated

Was this helpful?