Pixel & Conversions API Tracking Setup
Advanced Pixel & API Tracking for Crazy Sheep Studio
Full implementation of Meta Pixel, Meta CAPI, TikTok Pixel, TikTok Events API, Pinterest Tag, and GA4 (web + server-side).
What was implemented:
- Structured
dataLayerfor all e-commerce events- A custom, unified dataLayer was built to ensure all platforms receive the same product, user, and attribution data.
This eliminates discrepancies and makes tracking stable and privacy-compliant.
- A custom, unified dataLayer was built to ensure all platforms receive the same product, user, and attribution data.
- Event parameters unified across all platforms
- GTM Web + GTM Server containers
- Server-side CAPI via Stape
- Event deduplication implemented for all Meta events
- Validation done in Meta Test Events, TikTok Events, and Pinterest Tag Debugger
Meta Events
Event Deduplication (Browser + CAPI)
Each Meta event includes an event_id shared between browser and server versions.
This allows Meta to deduplicate events and prevents double counting.
Test Events confirmed correct processing of both signals.






Events
Browser + Server
Parameters included:
- contents
- content_ids
- content_name
- content_category
- content_type
- currency
- value
- transaction_id
- coupon
- discount
- event_id
- external_id
- user_data (email address, fn, ln, country, city, fbc, fbp)
View Content Event


Add to Cart Event


Initiate Checkout Event


Add Payment Info Event


Purchase Event


Event Match Quality


TikTok Events


































GTM
Sample event


