For AI agents: the complete documentation index is available at https://docs.clickmax.io/en/llms.txt, the full documentation bundle is available at https://docs.clickmax.io/en/llms-full.txt, and this page is available as Markdown at https://docs.clickmax.io/en/guides/end-to-end-tracking.md.
  • English
  • How do I track a campaign from the ad to the sale?

    Complete tracking answers one question: which ad produced that order? Four pieces have to line up for that — and the order matters, because each depends on the one before it.

    Before you start

    • Role: Owner, Admin or Editor.
    • Have the funnel published and the checkout working — tracking a broken flow only multiplies the problem.
    • Tracking does not run in the editor preview. Every check has to happen on the published page.

    1. Set the Pixel at funnel level

    Enter the Facebook Pixel ID under the funnel's settings, on the tracking tab. Set on the funnel, it applies to every page — including ones you create later. An individual page can add its own code, but starting from the funnel stops you forgetting a step.

    2. Add Google Tag Manager

    In the same place, enter the Google Tag Manager container ID (format GTM-XXXXXXX).

    Pixel and GTM coexist. Just avoid firing the same event through both — the conversion shows up twice.

    3. Standardise your UTMs

    Without consistent UTMs, the ad's data never reaches the contact. Agree the convention before launching a campaign: UTMs and lead source.

    4. Validate before you spend

    Publish and confirm the events actually fire: validate pixel and events. A campaign running on broken tracking spends money you cannot evaluate.

    5. Close the loop at the sale

    With the three pieces live, connect spend to return in measure campaign ROI, pairing the funnel analytics with Sales.

    If it didn't work

    • No events appear at all: confirm you tested on the published page, not the preview.
    • Duplicate conversions: the same event is firing through both the Pixel and GTM.
    • The ID is rejected: GTM only accepts the GTM-XXXXXXX format.