managed-components / managed-components/pinterest-conversion-api
Map `Products Searched`, `Product List Viewed` ecommerce events to Pinterest events
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, only these mappings exist:
- `Product Added` > `add_to_cart`
- `Order Completed` > `checkout`
https://github.com/managed-components/pinterest-conversion-api/blob/37444422e09d751ec103b50291a551751fbc7fff/src/utils.ts#L149-L156
However, [Pinterest has additional event names](https://developers.pinterest.com/docs/api-features/tracking-conversions/) that overlap with [Zaraz ecommerce supported events](https://developers.cloudflare.com/zaraz/web-api/ecommerce/#list-of-supported-events):
- `Products Searched` > `search`
- `Product List Viewed` > `view_category`
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
Start in src/utils.ts around lines 149-156, where the existing ecommerce event mappings are defined. Add mappings for Products Searched and Product List Viewed using the Pinterest event names listed in the issue, then verify that both events resolve to search and view_category.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100