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

Content ID for variable products with a default variation #2495

Open
ibndawood opened this issue Mar 8, 2023 · 3 comments
Open

Content ID for variable products with a default variation #2495

ibndawood opened this issue Mar 8, 2023 · 3 comments
Labels
type: enhancement The issue is a request for an enhancement.

Comments

@ibndawood
Copy link
Contributor

The group ID is used as the content ID in Meta Pixel for variable products. The group ID is still used for variable products with a default variation. In such cases, using the default variation ID as the content ID instead of the group ID would be better.

@GrandGap
Copy link

GrandGap commented Mar 10, 2023

I want to suggest a little bit more to improve this (if it can be done)

The content_ids should also contain the group ID for the whole process even if it has variants chosen in it (View Content, AddToCart, Checkout, Purchase);

For example group ID is #100, variantion ID is #101

The content_ids should be ["wc_post_id_100","wc_post_id_101"]

Or content_ids should be group ID wc_post_id_100, and you can create a new entry like variant_ids for variation ID wc_post_id_101

The above is just a suggestion and explains my idea; it can be executed a different way, but the main point is the group ID should be in content_ids for the whole process, which helps algorithms of Facebook Ads learn better for Whole Product, not only for variations in it for whole sale funnel, you want to optimize the ad for a whole product not just a color of that product, make sense?

@ibndawood
Copy link
Contributor Author

Thank you for your suggestions. I really appreciate it. I'll pass this on to our dev team to take it up for discussion. Once the team decides on this feature, I'll add them here and the course of action, if any.

Thank you once again for your contribution to improving this plugin.

@ibndawood
Copy link
Contributor Author

Hello @GrandGap, we discussed this issue and have decided that we shall set the default variation in the content_id. However, we'll also add a filter to allow users to pass the group ID, which is the product ID, as an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement The issue is a request for an enhancement.
2 participants