Skip to main content
Craft → DV360Integration guide

Connecting Craft CMS to Display & Video 360

Craft is a developer-oriented CMS, usually built bespoke by an agency, which means the implementation is whatever that agency decided and nothing is standard. DV360 shares Google's identity graph with Google Ads but not its conversion plumbing, which catches out advertisers who assume a conversion set up in one is visible in the other. The join between them succeeds or fails on one thing: whether the Floodlight activity, not a click identifier reaches the Craft Commerce order before the conversion happens, because DV360 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Craft Commerce to DV360: Floodlight on a cached thank-you page

A Floodlight sales tag in a cached Craft confirmation template records stale order numbers. Exclude that route from caching, or better, send Craft Commerce orders server-side as Campaign Manager offline conversions against the same Floodlight sales activity, counted per transaction with the order reference as order ID. Check how refunds can be adjusted.

DV360 counts conversions through Floodlight, and the classic Craft implementation is a Floodlight sales tag pasted into the order confirmation template with the order number written in by Twig. If that template is ever served from a static cache, the order number is whatever the first visitor's was, and Floodlight's counting then either collapses many orders into one or keeps recording a stale one.

Check whether the confirmation route is excluded from Blitz or any other static cache, and whether a cache tag wraps the block holding the Floodlight tag. Better still, send it from the server: Craft Commerce can supply the order reference, total and currency to a Campaign Manager offline conversion upload against the same Floodlight activity, from the order-complete listener or a nightly batch.

Use a sales activity counted per transaction, with the Commerce order reference passed as the order ID, rather than a counter. If the advertiser also runs Google Ads, the Google Ads conversion action in the same tag container does not feed DV360; both need the order, and neither knows about the other. Refunded Craft orders leave Floodlight revenue overstated unless you adjust them; check what adjustment route your Campaign Manager setup supports.

Craft → DV360 · what breaks

Why this join usually fails — Craft → DV360

  1. 01

    The Floodlight activity, not a click identifier never reaches Craft

    Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.

  2. 02

    Every install is bespoke

    There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.

  3. 03

    Assuming Google Ads conversions appear in DV360

    They do not. They are separate systems with separate configuration, and an advertiser running both frequently discovers months in that DV360 has been optimizing toward a Floodlight nobody checked, or toward nothing at all.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports Floodlight activity counts directly. Check those, not the DV360 campaign view, and compare against your own order count for the same window.

Craft → DV360 · the fix

What working looks like — Craft → DV360

  • The Floodlight activity, not a click identifier on every order

  • Conversions arriving in DV360

    The conversion is attributed under the configured Floodlight and attribution model, and becomes available for optimization.

  • Reconciled against the source

    Craft CMS's own records are the reference, not either dashboard.

Craft → DV360 · architecture

How Craft and DV360 actually connect

  1. 1

    Craft CMS holds the truth

    Craft installs are bespoke by nature. Establish how this particular build models a completed order before assuming anything transfers from another Craft site.

  2. 2

    Display & Video 360 needs a click to match

    DV360 needs the Floodlight activity to fire, or an offline conversion uploaded against it. It also needs the counting method — counter or sales, unique or per-session — set deliberately, because the default is frequently wrong for what you are measuring.

  3. 3

    The identifier is the bridge

    The Floodlight activity, not a click identifier, captured at the visit and carried into the Craft Commerce order.

  4. 4

    The event source decides reliability

    Fire from the event listener in PHP rather than a Twig template, which may be cached.

  5. 5

    Deduplication at the destination

    Floodlight's counting method is the deduplication rule. A counter activity set to count every fire will record repeat page views as conversions, which is the single most common misconfiguration in the product.

Craft → DV360 · normal or broken

Working vs. broken, side by side — Craft → DV360

Normal, not a fault

  • The Floodlight activity, not a click identifier present on the order

    Visible on the record itself in Craft CMS, not merely captured somewhere on the site.

  • Sent from the Craft Commerce order-complete event

  • Deduplicated correctly

    Floodlight's counting method is the deduplication rule. A counter activity set to count every fire will record repeat page views as conversions, which is the single most common misconfiguration in the product.

  • Reconciles with the source

    DV360's count and Craft CMS's records agree within a few percent over a closed window.

Actually broken

  • The Floodlight activity, not a click identifier missing on most records

    Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.

  • Sent from the browser

    There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.

  • Counted twice, or not at all

    They do not. They are separate systems with separate configuration, and an advertiser running both frequently discovers months in that DV360 has been optimizing toward a Floodlight nobody checked, or toward nothing at all.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Craft CMS.

Craft → DV360 · diagnose

Diagnostic order — Craft → DV360

  1. 01

    Count orders carrying the Floodlight activity, not a click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Read how this specific build handles order completion

    Assumptions carried from another Craft project are the main source of wasted time here.

  4. 04

    Open the Floodlight configuration and read the counting method

    Counter versus sales, unique versus every fire. It takes a minute and it explains most inflated DV360 conversion counts.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports Floodlight activity counts directly. Check those, not the DV360 campaign view, and compare against your own order count for the same window.

Craft → DV360 · prove

How it gets proven — Craft → DV360

Against Craft CMS's own records, not against either platform's dashboard.

Source of truth

Craft Commerce's order records in your own database, filtered to completed.

  • The Floodlight activity, not a click identifier confirmed present on a live order.
  • Floodlight conversion counts reconciled against your own order records, with the counting method documented.
  • Order custom field confirmed populated on an order placed as an anonymous visitor through cache.

Craft → DV360 · free audit

What we check in the free audit

  • Count orders carrying the Floodlight activity, not a click identifier
  • Follow one real conversion end to end
  • Read how this specific build handles order completion
  • Open the Floodlight configuration and read the counting method
  • Read the match rate, not the success message

Checked against

Craft Commerce's order records in your own database, filtered to completed.

Get my free conversion tracking audit

Free30 minutesNo obligation

Craft → DV360 · when not to buy

When you don't need this — Craft → DV360

  • If DV360 already reports conversions that reconcile against Craft CMS's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Floodlight activity, not a click identifier.
  • If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
  • If you only run Google Ads, you do not need Floodlight at all and setting it up adds a second conversion system to keep in sync.

Craft → DV360 · what we deliver

What gets built — Craft → DV360

  • Identifier capture into Craft

    Capture the identifier and store it as a custom field on the order through a Craft event listener, server-side.

  • Event source: the Craft Commerce order-complete event

    Fire from the event listener in PHP rather than a Twig template, which may be cached.

  • Dispatch to DV360

    Floodlight tags, or offline conversion upload through Campaign Manager against the Floodlight activity.

  • Reversals where they exist

    Refunds and cancelled orders are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against Craft Commerce's order records in your own database, filtered to completed.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Craft → DV360 questions, answered

Usually a cached confirmation template serving one order's Floodlight values to several visitors. Exclude the route from static caching or send the conversion server-side.

Free · 30 min

Get Craft and DV360 joined properly

Free30 minutesNo obligation