• Resolved oper123

    (@oper123)


    Hi,
    I have the Facebook for Woocommerce extension installed for pixel tracking.

    On product pages, the pixel pulls out duplicate item IDs, with an underscore.

    For example – for item-id 26934

    The pixel pulls:

    “content_ids”: “[\”26934_26934\”]”

    Obviously Facebook can’t match that content-ID to the catalog item ID (which is just “26934”).

    Why is this happening and how can I change that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi!

    Thanks for reaching out about this duplicate ID you are seeing. Can you check the store’s error logs and see if there are any Facebook logs that show what might be occurring? You can learn more about these logs and how to find them in our documentation:

    https://docs.woocommerce.com/document/finding-php-error-logs/

    The documentation refers to finding fatal-errors.log entries. Look for those as well as any for facebook-for-woocommerce or something similar. Those logs should show more about what’s going on behind the scenes. It may show us where the duplicate ID is coming from.

    Please check for these logs and share anything you find that may be relevant. I hope this helps! I hope your week is treating you well. Take care and stay safe!

    Thread Starter oper123

    (@oper123)

    Hi @phillipwoo , thanks for your response

    It seems that there are two recurring errors for the Facebook for Woocommerce log:

    examples:
    1)
    07-17-2021 @ 06:30:27 – Could not send Pixel event: Cannot create the API instance because the access token is missing.
    2)
    07-17-2021 @ 06:30:30 – There was an error trying sync products using the Catalog Batch API for job 4a76857e63ac7d95471207f34bd8199a: Cannot create the API instance because the access token is missing.

    How do we solve that?

    Hi there,

    Are you able to try a reset on the product sync?

    You can use the following code for the reset:

    https://docs.woocommerce.com/document/facebook-for-woocommerce/facebook-for-woocommerce-delete-or-reset-all-facebook-products/#reset-all-products

    After seeing that the products were reset as expected, you can remove the code as it would no longer be needed.

    We also have the following article on how to add custom code if needed:

    https://woocommerce.com/posts/properly-add-woocommerce-custom-code/

    If that doesn’t help, could you share your current System Status Report? You can get it by navigating to WP Admin > WooCommerce > Status. Once there, click on the “Get system report” button and then copy it by clicking on the “Copy for support” button.

    Feel free to get back to us if you need further help.`

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate Item ID in FB Pixel’ is closed to new replies.