CS-Cart
Tag Manager
insert Google tag manager code into:
design/themes/{theme name}/templates/index.tpl
Tag Manager must use the literal tags or will give error {literal}{/literal}
Conversion URLS:
Order URL: index.php?dispatch=checkout.complete
Form url: /contact-us.html?sent=Y
Conversion Tracking
/design/themes/basic/templates/addons/my_changes/hooks/checkout/order_confirmation.post.tpl
{literal} <script> dataLayer.push({'order_id' : '{/literal}{$order_info.order_id}{literal}'}); dataLayer.push({'order_value' : '{/literal}{$order_info.total}{literal}'}); dataLayer.push({'event' : 'order-submitted'}); </script> {/literal}
Other values that can be used:
{$order_info.items} {$item.product_code} {$item.price} {$item.amount}
{$order_info.order_id} {$order_info.subtotal} {$order_info.total}
{$order_info.order_id} {$order_info.shipping_cost} {$order_info.s_state} {$order_info.s_country} {$order_info.s_city} {$order_info.tax_ids} {$item.product} {$item.tax_value}