Ecwid

From Growth Agency Wiki
Revision as of 12:34, 25 February 2021 by Ben.robson (talk | contribs) (Created page with "= Tag Manager = On the Ecwid Control Panel: Go to Sales Channels > Website > SEO Edit the Head meta tags & site verification & paste GTM here. Adding Value Tracking Go to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tag Manager

On the Ecwid Control Panel: Go to Sales Channels > Website > SEO Edit the Head meta tags & site verification & paste GTM here.


Adding Value Tracking

Go to Configuration > Settings > General > Tracking & Analytics Find "Custom tracking code on Order Confirmation page" If this isn't enabled then enable this & then Edit code.

Add the below:

<script> window.dataLayer = window.dataLayer || []; dataLayer.push({'order_id' : '${order.number}'}); dataLayer.push({'order_value' : '${order.total}'}); dataLayer.push({'event' : 'order-submitted'}); </script>