Skip to content

Analytics & Conversion Tracking

Google Analytics 4: Go to analytics.google.com, create a property, and get your Measurement ID (format: G-XXXXXXXXXX).

Facebook Pixel (Optional): Go to Facebook Business Manager > Events Manager to get your Pixel ID.

  1. Shopify Admin > Online Store > Themes > Customize
  2. Theme Settings > Analytics & Tracking
  3. Enter your GA4 Measurement ID
  4. Check Enable analytics tracking
  5. Check Enable Enhanced E-commerce tracking
  6. Check Require cookie consent (for GDPR)
  7. Save
  1. Enable Debug mode in settings
  2. Open your store in incognito
  3. Accept cookies when prompted
  4. Check browser console for [Analytics] messages
  5. Visit a product page (should see “view_item” event)
  6. Add to cart (should see “add_to_cart” event)
  1. Go to analytics.google.com
  2. Reports > Realtime — See your test session
  3. Reports > Engagement > Events — See tracked events

Uncheck Debug mode in Theme Settings and save.

EventWhen It Fires
view_itemProduct page viewed
add_to_cartProduct added to cart
remove_from_cartProduct removed
view_cartCart page viewed
begin_checkoutCheckout started
filter_appliedCollection filter used
sort_changedCollection sort changed
product_clickedProduct card clicked
search_performedSearch submitted
image_zoomProduct image zoomed
wishlist_addItem added to wishlist
  • Product details (ID, name, price, category)
  • Customer type (new/returning/guest)
  • Device type (mobile/tablet/desktop)
  • Traffic source (UTM parameters)
  • Performance metrics (Core Web Vitals)
MetricFormulaTarget
Conversion RatePurchases / Product Views2-5%
Add-to-Cart RateAdd to Cart / Product Views5-15%
Cart Abandonment1 - (Checkouts / Carts Viewed)< 70%
  • Realtime: Reports > Realtime
  • E-commerce: Reports > Monetization > E-commerce purchases
  • All Events: Reports > Engagement > Events
  • Conversion Funnel: Explore > Create Funnel (view_item > add_to_cart > begin_checkout > purchase)

Avenue Luxe analytics is GDPR/CCPA ready:

  • No tracking before cookie consent
  • Respects opt-out choices
  • Privacy-first design

Required actions:

  1. Update your Privacy Policy to mention analytics
  2. Update your Cookie Policy to list analytics cookies
  3. Ensure Cookie Consent Banner works properly
  4. Test the consent flow thoroughly

Not seeing events: Check GA4 ID is correct, analytics tracking is enabled, cookie consent was accepted, wait 24 hours for initial processing.

Events fire multiple times: Disable ad-blocker browser extensions, clear cache, test in incognito mode.

Facebook Pixel not working: Verify Pixel ID is numeric only, tracking is enabled, cookie consent was accepted.