Meta Pixel &
Google Analytics
Track every visitor, checkout, and purchase. Connect Meta Pixel and Google Analytics per product for retargeting and conversion optimization.
Why Track Your Products?
Without tracking, you're flying blind. Connecting Meta Pixel and Google Analytics to your products lets you measure exactly what's working, retarget interested buyers, and optimize your ad spend.
Meta Pixel
Facebook/Instagram ad tracking. Build custom audiences, create Lookalike audiences, and measure ROAS for your ad campaigns.
Google Analytics (GA4)
Full website analytics. Track visitor behavior, conversion funnels, traffic sources, and e-commerce performance in real time.
Tracked Events
Three events are tracked across your product's purchase funnel
PageView / page_view
Trigger: Product page loads
Build retargeting audiences of people who viewed your product
InitiateCheckout / begin_checkout
Trigger: Buyer clicks "Buy Now" or "Pay"
Track how many viewers start the purchase process
Purchase / purchase
Trigger: Payment is verified successfully
Measure revenue, ROAS, and optimize ad campaigns
Event Data Sent
Each event includes these data points for advanced targeting and reporting
content_name / item_nameProduct title
content_ids / item_idProduct unique ID
currencyProduct currency (INR, USD, etc.)
valueProduct price or transaction value
Setting Up Meta Pixel
Connect your Facebook/Instagram Pixel to track product page events
Setting Up Google Analytics (GA4)
Connect your GA4 property to track conversions and visitor behavior
What You Can Do With Tracking
Real-world use cases for Meta Pixel and Google Analytics data
Retarget Viewers
Show ads to people who viewed your product but didn't buy. Meta Pixel's PageView event creates a custom audience automatically.
Recover Abandoned Carts
Target people who started checkout (InitiateCheckout) but didn't complete the purchase. Run ads specifically to this high-intent audience.
Measure ROAS
Track Purchase events with value data to calculate your Return on Ad Spend. Know exactly how much revenue each ad campaign generates.
A/B Test Products
Compare conversion rates across different products using GA4. See which product pages convert best and why.
Funnel Analysis
Build a funnel in GA4: PageView โ begin_checkout โ purchase. Find where buyers drop off and optimize those steps.
Lookalike Audiences
Use your Purchase audience to create Lookalike audiences in Meta Ads. Find new buyers similar to your existing customers.
Important Notes
Tracking is configured per product โ you can use different Pixel IDs and Measurement IDs for different products.
Scripts are only loaded on product pages where tracking is enabled. No unnecessary scripts on other pages.
Meta Pixel fires fbq("init") and fbq("track", "PageView") on page load when PageView tracking is enabled.
Google Analytics fires gtag("config") and page_view on page load when PageView tracking is enabled.
InitiateCheckout / begin_checkout fires when the buyer clicks the payment button (both Razorpay and PayPal flows).
Purchase events fire only after successful payment verification โ not on failed or abandoned payments.
All events include currency and value data for accurate revenue tracking in your ad platforms.
You can remove tracking at any time by clicking the "Remove" option in the Tracking section.
Start tracking conversions
Connect Meta Pixel and Google Analytics to your products and optimize your marketing.
Set Up Tracking