managed-components / managed-components/pinterest-conversion-api

Map `Products Searched`, `Product List Viewed` ecommerce events to Pinterest events

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.