Tru University

Tru University · 9 min read

Ad tracking & pixels: Meta CAPI, GA4 and Google Ads

Connect your shop’s own ad measurement, test deduplication and respect your visitors’ privacy choices.

Saved token or unsaved replacement?

Token saved describes the secure server copy, not the masked text you're typing. A replacement entry isn't saved until Meta accepts it. If Meta rejects it, the entry is cleared and your previously saved token stays in place. If a save can't be confirmed, refresh to check what's saved before trying again. A blank token field preserves the saved copy.

Browser and server measurement, together

Browser Meta Pixel, GA4 and Google Ads tags are included on Seed, Grow and Scale. Native Meta Conversions API (CAPI) is included on Grow and Scale. It forwards permitted events from Truhalo to your Meta dataset, without a separate Stape subscription or server container.

iOS 14.5+, Safari Intelligent Tracking Prevention (ITP), ad blockers and browser restrictions can limit browser signals. A server copy can recover permitted events when a third-party script is blocked, but it can’t bypass refusal, GPC, Do Not Track, every blocker or Apple’s privacy rules. It isn’t a promise of attribution or better ad results.

Find your Meta Pixel ID and token

  • Open Meta Events Manager and select the dataset/pixel for this shop. Copy the numeric Dataset ID / Pixel ID shown in Settings.
  • In Truhalo, open Settings → Business profile, then Ad tracking & pixels. Paste the Pixel ID. Use a separate dataset per brand where possible; never paste Truhalo’s own pixel.
  • On Grow or Scale, in Events Manager → Settings → Conversions API → Set up direct integration, choose Generate access token. Meta may ask you to select a system user or confirm permissions. Copy the token into the password field in Truhalo; don’t send it in chat, email, page HTML or URLs.
  • Save ad tracking. Truhalo first asks Meta whether the token can use this Pixel ID; if Meta says no, nothing is saved and you see why (for example, an expired token or one from another pixel). The token is encrypted and never displayed again. A blank token field preserves it; Remove saved token disconnects the server copy. Changing Pixel ID clears an old token unless you enter a replacement.
  • On Seed, browser tracking remains available. A token saved before a downgrade shows Token saved (inactive on Seed). It stays private but server sending pauses until Grow or Scale is restored. You can still choose Remove saved token, then Save ad tracking.

Prove the setup in Meta Test Events

  • In your dataset’s Test Events tab, copy the test code into Meta Test Events code in Truhalo and save.
  • Select Test Tracking Connection. Truhalo checks your public pages serve the saved Pixel ID, that this browser can load Meta’s pixel, and (on Grow and Scale with a token and test code saved) sends one test PageView that should appear in Test Events within a minute. A passed check isn’t proof Meta attributed a conversion.
  • Open a public shop page in a fresh browser, accept advertising in this shop’s Cookie settings, and use Meta Pixel Helper or your browser’s network tools to check the correct pixel.
  • You should see PageView, ViewContent for a plan/product and InitiateCheckout on the checkout page. Complete an authorized test payment for Purchase. A $0 signup, failed payment, pending order or renewal isn’t a new Purchase.
  • Check Browser and Server copies have exactly the same event name and event ID. In Event Details → Event Deduplication, verify the overlap; Overview may show receipts before processing/deduplication.
  • Purchase carries the confirmed initial payment’s value before tax, currency, a stable payment ID and, for CAPI, a hashed customer email, browser user agent, edge-reported IP and available _fbp / _fbc cookies. Checkout query strings and customer form answers aren’t shared.
  • Remove the Test Events code and save before measuring live ads. Test codes affect server events; Meta’s browser testing controls are separate. A saved token or outgoing request isn’t proof that Meta received or attributed a conversion.

Google Analytics 4 and Google Ads

  • In Google Analytics → Admin → Data streams, create or open a Web stream for your shop domain. Copy its Measurement ID (G-…) into the GA4 field and save.
  • In Google Ads → Goals → Conversions → Summary, open your existing Website Purchase conversion, or create one for completed purchases if you don’t already have one. In Tag setup → Install the tag yourself, copy the AW-… ID and conversion label into their matching Truhalo fields.
  • Use Google Tag Assistant and GA4 Realtime to check the destination and events. GA4 receives page_view, view_item, begin_checkout and verified purchase; Google Ads receives Purchase only when both AW ID and label are configured.
  • Purchase uses one transaction ID across reloads. Don’t also count an imported GA4 purchase as another primary Google Ads conversion for the same outcome, and don’t duplicate these tags in an HTML embed, GTM or your old site.
  • No Google server-side conversion uploads or enhanced customer matching are enabled by these fields. If you keep an external website, configure its tags separately; Truhalo covers the hosted checkout and public shop pages.

Consent and safe launch checks

  • The shop’s banner asks every visitor before optional tags run. Analytics and advertising have separate choices; rejecting is as easy as accepting. Cookie settings stays available. GPC and DNT override acceptance.
  • Advertising acceptance explicitly covers Meta/Google measurement, personalization and customer matching. Choices and notice version are recorded per shop; a refusal or withdrawal stops new browser and server events. Blocked events aren’t replayed after acceptance.
  • Update your own privacy policy to name Meta and Google, page/purchase data, hashed email and browser identifiers, the purposes, and withdrawal through Cookie settings or your contact address. This isn’t legal advice.
  • Check Events Manager dataset restrictions and accept Meta’s Business Tools Terms before sending. Never use ad tracking for health, financial, child-directed or other sensitive pages/outcomes. If your business handles those, leave its tags off until eligibility is confirmed.
  • Only public storefront and checkout routes are measured. Member accounts, community spaces, editor previews, merchant dashboards and Truhalo marketing pages don’t send to your tags. Truhalo’s platform tags don’t send your shop activity.
  • Initial subscription and shop-product payments have verified Purchase events. Gift, booking, event-ticket and recovery links carrying private capabilities are excluded from provider scripts; specialty-payment Purchase wiring isn’t included yet.
  • Before spending, confirm provider receipt, event/transaction IDs, currency and one counted purchase. Tokens and tag IDs alone don’t prove ad readiness. Ask Tru Concierge if you can’t verify a step.

Keep reading.