Marketing

Tracking eCommerce Data with third party script s

Flower Store In a Box fires a standard eCommerce data layer on every order completion. This data layer follows the Google Analytics 4 specification and includes order ID, revenue, product name, quantity, and other details.

This means any tag management system (Google Tag Manager, Segment, etc.) can pick up the order data automatically without custom code.

GA4 vs GTM — avoid double-counting

The most common tracking problem on FSIAB sites is running both a direct GA4 measurement ID and a GTM container simultaneously. When both are active:

  • The eCommerce purchase event fires twice in GA4.
  • Order counts in GA4 are inflated (often double the real number).
  • If GA4 is linked to Google Ads, ad conversion data is also inflated, which distorts bidding and ROAS reporting.

To fix this: remove the direct GA4 measurement ID from your website settings and manage GA4 through GTM only.

Google Ads conversion tracking

If you are running Google Ads, add your Google Ads conversion tag through GTM. Use the purchase event from the data layer as your trigger. The platform pushes all required values (transaction ID, revenue) through the data layer automatically.

Facebook / Meta Pixel

Add your Meta Pixel through GTM using the same data layer purchase event. The platform fires ViewContent and Purchase events by default.

Microsoft Clarity

Microsoft Clarity tracking code can be added via GTM or through the custom header scripts field in your website settings. If you receive tagging errors in Clarity, check that you are not loading duplicate tracking scripts (e.g. an old UET tag in the header AND a Clarity tag in GTM).

The data layer update

Flower Store In a Box worked closely with Google's GA4 team to update the eCommerce data layer to the current specification. If you set up tracking before mid-2025, your GA4 configuration may be using the older Universal Analytics variable names. Check your GTM tags use the GA4 event names (e.g. purchase, not transaction).

Added: 2025-09-30  •  Last updated: 2026-07-04
Was this page helpful?