diff --git a/metadata.yaml b/metadata.yaml index e285e40..69c08d4 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -1,5 +1,7 @@ homepage: "https://stape.io/" versions: + - sha: 2389936d0bdce0037b5a3e7640e304266b8544e8 + changeNotes: Added common cookie support for awin, klaviyo, rakuten. - sha: d09916e6d815e37dadd258473ce4bc65e2d50727 changeNotes: Added common cookie support. - sha: f0b3afdab0acd076e71cf57bef517aa1f715c827 diff --git a/template.js b/template.js index c21d370..e7069e6 100644 --- a/template.js +++ b/template.js @@ -439,6 +439,19 @@ function addCommonCookie(eventData) { '_scclid', // Taboola cookies 'taboola_cid', + // Awin cookies + 'awin_awc', + 'awin_source', + // Rakuten cookies + 'rakuten_site_id', + 'rakuten_time_entered', + 'rakuten_ran_mid', + 'rakuten_ran_eaid', + 'rakuten_ran_site_id', + // Klaviyo cookies + 'stape_klaviyo_email', + 'stape_klaviyo_kx', + 'stape_klaviyo_viewed_items', ]; let commonCookie = null; diff --git a/template.tpl b/template.tpl index 564aaca..7529e43 100644 --- a/template.tpl +++ b/template.tpl @@ -218,7 +218,7 @@ ___TEMPLATE_PARAMETERS___ "name": "add_common_cookie", "checkboxText": "Add Common Cookie", "simpleValueType": true, - "help": "The tag will send common cookies in eventData to avoid some e-commerce platform limitations. Now supported by the next Stape tags: \u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag\" target\u003d\"_blank\"\u003eFacebook Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/tiktok-tag\" target\u003d\"_blank\"\u003eTikTok Events API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://github.com/stape-io/pinterest-tag\" target\u003d\"_blank\"\u003ePinterest Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/snapchat-tag\" target\u003d\"_blank\"\u003eSnapchat Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/taboola-tag\" target\u003d\"_blank\"\u003eTaboola\u003c/a\u003e" + "help": "The tag will send common cookies in eventData to avoid some e-commerce platform limitations. Now supported by the next Stape tags: \u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag\" target\u003d\"_blank\"\u003eFacebook Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/tiktok-tag\" target\u003d\"_blank\"\u003eTikTok Events API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://github.com/stape-io/pinterest-tag\" target\u003d\"_blank\"\u003ePinterest Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/snapchat-tag\" target\u003d\"_blank\"\u003eSnapchat Conversion API\u003c/a\u003e\u003cbr /\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/taboola-tag\" target\u003d\"_blank\"\u003eTaboola\u003c/a\u003e\u003c/br\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/awin-tag\" target\u003d\"_blank\"\u003eAwin\u003c/a\u003e\u003c/br\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/rakuten-tag\" target\u003d\"_blank\"\u003eRakuten\u003c/a\u003e\u003c/br\u003e\n\u003ca href\u003d\"https://tagmanager.google.com/gallery/#/owners/stape-io/templates/klaviyo-tag\" target\u003d\"_blank\"\u003eKlaviyo\u003c/a\u003e\u003c/br\u003e" }, { "type": "GROUP", @@ -1120,6 +1120,19 @@ function addCommonCookie(eventData) { '_scclid', // Taboola cookies 'taboola_cid', + // Awin cookies + 'awin_awc', + 'awin_source', + // Rakuten cookies + 'rakuten_site_id', + 'rakuten_time_entered', + 'rakuten_ran_mid', + 'rakuten_ran_eaid', + 'rakuten_ran_site_id', + // Klaviyo cookies + 'stape_klaviyo_email', + 'stape_klaviyo_kx', + 'stape_klaviyo_viewed_items', ]; let commonCookie = null;