Hi everyone,
I’m currently working on integrating Meta (Facebook Ads) with a Shopify store and want to make sure I’m doing it the right way, especially from a server-side tracking and data perspective.
What I’m trying to achieve:
-
Proper integration of Meta Ads with Shopify
-
Setup of Conversion API (CAPI) for server-side event tracking
-
Ensure events like Purchase, Add to Cart, etc. are tracked accurately
-
Pull data from Meta Marketing API into my system (for analytics/dashboarding)
What I’ve done so far:
-
Connected Meta Ads account
-
Explored Pixel + basic event tracking
-
Looked into CAPI but unsure about correct implementation approach
-
Planning to build this into a Shopify app / backend system
Where I need help:
-
What is the best practice setup for Pixel + CAPI together?
-
How do I validate that events are firing correctly (both browser + server)?
-
Any tips for deduplication of events?
-
Best way to pull ads + conversion data via Meta API reliably?
-
Common mistakes to avoid?
Bonus:
If you’ve built something similar (Shopify app or internal tool), I’d love to learn from your approach ![]()
Thanks in advance!