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

ViewContent - wrong data. #27

Open
Bashev opened this issue Sep 27, 2023 · 1 comment · May be fixed by #29
Open

ViewContent - wrong data. #27

Bashev opened this issue Sep 27, 2023 · 1 comment · May be fixed by #29

Comments

@Bashev
Copy link

Bashev commented Sep 27, 2023

Facebook/Meta expects to see contents or content_ids (parameters) as array (json) instead of comma separated skus, as is now.
https://www.facebook.com/business/help/606577526529702?id=1205376682832142

image

This reflects to wrong ViewContent event tracking. In most of the cases if we have configurable products or grouped products they cannot be tracked because of that.

Preconditions (*)

Steps to reproduce (*)

  1. Open random product.
  2. Check Meta Pixel Helper
  3. Look for Contents and Content_ids variables.

Expected result (*)

  1. content_ids
content_ids: ['123', '456']
  1. contents
contents: [{id: '1234', quantity: 1}]

image

Actual result (*)

  1. content_ids:
content_ids: '123, 456'
  1. contents:
contents: ['123, 456', 'quantity': 1]
@Bashev Bashev linked a pull request Sep 27, 2023 that will close this issue
4 tasks
@Bashev
Copy link
Author

Bashev commented Nov 14, 2023

@zlik can you zoom on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant