switching event names to recommendation form google

This commit is contained in:
MaxBUhe 2023-01-10 09:54:34 +01:00
parent 6bfe8b90e6
commit 76e7bd10f6
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<script>
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({
'event': 'ee.checkout',
'event': 'view_cart',
'eventLabel':'Checkout Step 1',
'ecommerce': {
'checkout': {

View File

@ -5,7 +5,7 @@
[{assign var="_gtmArticles" value=$_gtmOrder->getOrderArticles()}]
dataLayer.push({
'event': 'ee.transaction',
'event': 'purchase',
'eventLabel':'Checkout Step 5',
'ecommerce': {
'purchase': {

View File

@ -6,7 +6,7 @@
<script>
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({
'event': 'ee.detail',
'event': 'view_item',
'eventLabel':'Product View',
'ecommerce': {
'currencyCode': '[{$currency->name}]',