From b9afdb1bb2f2399d083ea6f8c2ebf20bba7c4c8b Mon Sep 17 00:00:00 2001 From: simcamadd <167118032+simcamadd@users.noreply.github.com> Date: Thu, 4 Sep 2025 11:55:11 +0200 Subject: [PATCH 1/3] Add missing events --- template.tpl | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/template.tpl b/template.tpl index 1d4c4d8..2efdcd8 100644 --- a/template.tpl +++ b/template.tpl @@ -613,17 +613,17 @@ const EVENT_NAME_MAPPINGS = { viewcontent: "view_category", view_item_list: "view_category", watchvideo: "watch_video", - add_payment_info: "custom", - add_shipping_info: "custom", - add_to_wishlist: "custom", - begin_checkout: "custom", + add_payment_info: "add_payment_info", + add_shipping_info: "initiate_checkout", + add_to_wishlist: "add_to_wishlist", + begin_checkout: "initiate_checkout", refund: "custom", remove_from_cart: "custom", - select_item: "custom", - select_promotion: "custom", + select_item: "view_content", + select_promotion: "view_content", view_cart: "custom", - view_item: "page_visit", - view_promotion: "custom", + view_item: "view_content", + view_promotion: "view_content", }; const EVENT_NAME_PIXEL_MAPPINGS = { @@ -635,6 +635,10 @@ const EVENT_NAME_PIXEL_MAPPINGS = { signup: "Signup", view_category: "ViewCategory", watch_video: "WatchVideo", + view_content: "ViewContent", + initiate_checkout: "InitiateCheckout", + add_payment_info: "AddPaymentInfo", + add_to_wishlist: "AddToWishlist", custom: "Custom", }; From f5d28cc042f10e1c48b4382759c088b5fa7be997 Mon Sep 17 00:00:00 2001 From: simcamadd <167118032+simcamadd@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:20:38 +0200 Subject: [PATCH 2/3] Update template.tpl --- template.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/template.tpl b/template.tpl index 2efdcd8..30dd797 100644 --- a/template.tpl +++ b/template.tpl @@ -614,16 +614,16 @@ const EVENT_NAME_MAPPINGS = { view_item_list: "view_category", watchvideo: "watch_video", add_payment_info: "add_payment_info", - add_shipping_info: "initiate_checkout", + add_shipping_info: "custom", add_to_wishlist: "add_to_wishlist", begin_checkout: "initiate_checkout", refund: "custom", remove_from_cart: "custom", - select_item: "view_content", - select_promotion: "view_content", + select_item: "custom", + select_promotion: "custom", view_cart: "custom", view_item: "view_content", - view_promotion: "view_content", + view_promotion: "custom", }; const EVENT_NAME_PIXEL_MAPPINGS = { From 0d4c7cdfe7639ae9fc44da405ff22af3e742ec52 Mon Sep 17 00:00:00 2001 From: simcamadd <167118032+simcamadd@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:23:41 +0200 Subject: [PATCH 3/3] Update metadata.yaml --- metadata.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata.yaml b/metadata.yaml index a225eb7..9b8ab67 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -1,6 +1,8 @@ homepage: "https://www.addingwell.com" documentation: "https://docs.addingwell.com/pinterest-capi/benefits" versions: + - sha: b9afdb1bb2f2399d083ea6f8c2ebf20bba7c4c8b + changeNotes: Add generic events - sha: e07eb3676f304aeb1e34ba9b7f48b674d3a66278 changeNotes: Fix full_version_list data - sha: db265ffcf10edb6aa5208c90041622104dd5b093