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 diff --git a/template.tpl b/template.tpl index 1d4c4d8..30dd797 100644 --- a/template.tpl +++ b/template.tpl @@ -613,16 +613,16 @@ const EVENT_NAME_MAPPINGS = { viewcontent: "view_category", view_item_list: "view_category", watchvideo: "watch_video", - add_payment_info: "custom", + add_payment_info: "add_payment_info", add_shipping_info: "custom", - add_to_wishlist: "custom", - begin_checkout: "custom", + add_to_wishlist: "add_to_wishlist", + begin_checkout: "initiate_checkout", refund: "custom", remove_from_cart: "custom", select_item: "custom", select_promotion: "custom", view_cart: "custom", - view_item: "page_visit", + view_item: "view_content", view_promotion: "custom", }; @@ -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", };