segmentio / segmentio/analytics.js-integrations
[facebook-pixel] "Product List Viewed" not writing product_ids to FB correctly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 125
- Forks
- 136
- Avg merge
- 2h 45m
- Merged PRs (30d)
- 1
Description
Migrated from #30 by @skyfallsin
The product_ids are not getting dispatched to FB properly, and instead the category is being sent.
Here's the spec on the FB side (Scroll down to View Category)
https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/product-audiences/v2.8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open lib/index.js around line 134 and compare the Product List Viewed mapping with Facebook's View Category specification. Confirm which value is dispatched for product_ids and verify that the completed change sends product_ids instead of category.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100