Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Products Duplicate Pixel IDs (Non-matching products) #1668

Closed
gervet opened this issue Oct 28, 2020 · 2 comments
Closed

Facebook Products Duplicate Pixel IDs (Non-matching products) #1668

gervet opened this issue Oct 28, 2020 · 2 comments
Labels
feature: pixel events & conversion tracking Related to Facebook pixel, events, and conversion tracking. feature: product sync Relating to syncing product data to Facebook. needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug The issue is a confirmed bug.

Comments

@gervet
Copy link

gervet commented Oct 28, 2020

🔎 Isolate the bug

  • [X ] I have confirmed this occurs in the most recent version of WordPress, WooCommerce, and Facebook for WooCommerce.
  • [X ] I have confirmed this occurs when only WooCommerce and Facebook for WooCommerce are active and when using a default WordPress or WooCommerce theme.

✍️ Describe the bug

All products in the catalog show a duplicate ID for each product.
For example:
Product1 with ID 26850 is shown in the Facebook catalog as 26850_26850.
Also a variation of the same Product1, for example, Product1 variation A who ID is 26850_26851 is shown in the Facebook catalog as 26850_26851_26851 duplicating the variation ID.

I think this an error and not the proper way to show those ID.

##🚶‍♀️ Steps to reproduce
I had checked this in all products and the Facebook catalog testing the pixel events through Facebook events.
Since the product IDs do not match, Facebook shows a matching error when testing for events.

(Non-matching products
TROUBLE
The supplied product parameter identifiers are not found in the catalog connected to your AddToCart event. This can cause key features of dynamic ads to be unavailable.
SOLUTION
Confirm that your catalog has the identifiers of the products. You should also check the AddToCart event in your website's pixel code and make sure the identifier matches the one in the catalog.)

This made the plugin unable to use in the dynamic ads.

✔️ Expected behavior

I think the proper way to show those ID is:
Product1 ID: 26850
Product1 variation A ID: 26850_26851

In this way, Facebook will have the proper information about the products.

@simonporter007
Copy link

Hi @gervet,

Thanks for writing in with your question! The format that our plugin uses to generate the "retailer_id" is: <product_sku>_<product/variation_id>. If the SKU is not set, it will use wc_post_id_<product/variation_id>.

This doesn't appear to match the ID's that you've mentioned in your issue report. I have only seen the same ID's duplicate like that, 26850_26850, when a merchant was using Product Feed PRO for WooCommerce.

Can you let me know if you have any other feeds populating products for your Facebook catalog other than our plugin?

Cheers,

@haszari haszari added feature: pixel events & conversion tracking Related to Facebook pixel, events, and conversion tracking. feature: product sync Relating to syncing product data to Facebook. needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug The issue is a confirmed bug. labels Apr 16, 2021
@rawdreeg
Copy link
Contributor

rawdreeg commented Sep 8, 2022

This issue hasn't received any response in a long time.
The wc_facebook_fb_retailer_id was introduced in v 2.6.12. This filter can be used to modify the FB retailer id if needed.

I will close this issue.

@rawdreeg rawdreeg closed this as completed Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: pixel events & conversion tracking Related to Facebook pixel, events, and conversion tracking. feature: product sync Relating to syncing product data to Facebook. needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

4 participants