{"repo":"gtm-templates-knowit-experience/sgtm-ga4-ecom-item-list-promo-attribution","free":true,"listed":false,"github":"https://github.com/gtm-templates-knowit-experience/sgtm-ga4-ecom-item-list-promo-attribution","clone":"git clone https://github.com/gtm-templates-knowit-experience/sgtm-ga4-ecom-item-list-promo-attribution.git","description":"Variable Template (Server) for Google Tag Manager that makes it possible to Attribute GA4 Item List, Promotion & Search Term to revenue or ecommerce Event's (ex. purchase).","language":"Smarty","stars":26,"topics":["ecommerce","ga4","gtm","gtm-server-side","sgtm","google-tag-manager","google-analytics-4","google-tag-manager-server-side"],"license":"Apache-2.0","category":"ecommerce","readme_excerpt":"GA4 - Item List & Promotion Attribution - SGTM Variable (Server) Google Analytics 4 (GA4) has Item List & Promotion reports . But - no revenue or conversions are attributed back to Promotion or Item Lists. You have to do this attribution yourself. This Variable for Server-side GTM makes it possible to attribute GA4 Item List , Promotion & Search Term to revenue or Ecommerce Events (ex. purchase) & Items. Update : Any Item & Event scoped parameter can now be attributed. Last Click Attribution First Click Attribution Reset/delete Attribution Data after Purchase Attribution Time (for how long should Item List or Promotion be attributed) Attribution Time can be either GA4 Session or Custom Attribution Time This Template is available in the Google Tag Manager Template Gallery . A similar Variable Template do also exist for GTM (Web) . Differences between doing the attribution with GTM (Web) vs. Server-side GTM (SGTM) are listed below. Functionality GTM (Web) Server-side GTM ------------- ------------- ------------- Cross (sub)domain tracking No Yes Server to Server-side (Measurement Protocol) No Yes Attribution/processing Users browser Server-side Storage Limitation Yes No Costs Money No Yes \\ Cookies can do cross subdomain tracking, but are not very suitable due to very low storage capasity. Attribution solutions 2 different solutions for handling the attribution are presented: 1. Firestore solution: Firestore is a serverless, NoSQL document database from Google . 2. Stape Store ","default_branch":null,"files":null,"tree":[],"storefront":"/r/gtm-templates-knowit-experience","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gtm-templates-knowit-experience/sgtm-ga4-ecom-item-list-promo-attribution/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}