• Resolved rainelement

    (@rainelement)


    Hi,

    We’re using the Beetle Tracking plugin with Cloudflare Zaraz to send e-commerce events to Meta Pixel. Our Meta Catalogue feed uses the numerical WooCommerce Product ID as the primary item identifier.

    We’ve set Beetle’s global “Product Identifier” to “ID“.

    Observation:

    • For ViewContent and AddToCart events sent to Meta Pixel, Zaraz correctly uses the numerical Product ID/Variation ID for content_ids. This is great and matches our catalogue.
    • For the Product List Viewed event (on category/shop pages), Zaraz appears to be sending content_ids to Meta Pixel based on the product SKU instead of the numerical Product ID.

    Details from Debugging:

    1. Beetle’s zaraz.ecommerce() call for Product List Viewed correctly provides an array of product objects, where each object contains both the numerical product.id AND the product.sku.
      • (e.g., products: [{id: 123, sku: “ABC”, …}, {id: 456, sku: “456”, …}] – the second item has no distinct SKU, so SKU defaults to ID).
    2. Zaraz’s Meta Pixel tool then seems to pick the value from product.sku to populate Meta’s content_ids for this Product List Viewed event.
      • So, Meta would receive content_ids: [“ABC”, “456”].

    Impact:

    This causes inconsistent matching for the Product List Viewed event. Items with distinct SKUs won’t match our catalogue’s primary numerical ID, while items where SKU defaults to the ID will match.

    Question:

    Is there a way (via Beetle settings or its interaction with Zaraz) to ensure that for the Meta Pixel’s Product List Viewed event, the numerical Product ID (from products.[].id) is consistently used for Meta’s content_ids?

    We’re trying to achieve consistent use of the numerical Product ID for content_ids across all Meta Pixel e-commerce events.

    Any insights or suggestions would be appreciated!

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Aligning content_id for Meta Pixel’s Product List Viewed with Zaraz’ is closed to new replies.