• Hi,

    I’m currently setting up my facebook pixel in order to add products to my catalog. But I’m missing one tag in order to do so, and that is the ID on products.

    When testing the microdata I get de following error:

    A required field is missing: id
    Products without “id” information can’t be uploaded. Please check that this field is included for each product in a separate, labeled column.

    I know you stopped supporting the plugin, but if you could add the product ID, that would be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Eva

    (@jesuiseva)

    For anyone having the same issue, what’s missing is:

    <meta property="product:retailer_item_id" content="'. $product->get_sku('view') .'"/>

    I’ve copied the plugin to a private bitbucket repo of mine and edited the code to include that specific tag. Then included my own version of the plugin within the composer of my project. And that seems to have fixed the issue.

    When testing with https://business.facebook.com/ads/microdata/debug the ‘missing id error’ is now gone.

    It’s not the most elegant solution, so if anyone has any other suggestions. Please let me know!

    Could you describe this solution in more detail?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘missing ID tag for facebook pixel (WooCommerce)’ is closed to new replies.