Bigcommerce: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
dataLayer.push({'order_id' : '%%ORDER_ID%%','order_value' : '%%ORDER_AMOUNT%%', 'event' : 'order-submitted'}); | dataLayer.push({'order_id' : '%%ORDER_ID%%','order_value' : '%%ORDER_AMOUNT%%', 'event' : 'order-submitted'}); | ||
</script> | </script> | ||
</pre> | |||
= Feed = | |||
A plugin is required to be used. | |||
A possible paid plugin is: | |||
<pre> | |||
https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/ | |||
</pre> | </pre> | ||
Revision as of 12:51, 1 June 2023
Tag Manager
https://support.bigcommerce.com/articles/Public/Accessing-and-Customizing-Template-Files
To Add GTM:
- Click on Storefront > My Themes - Click on Advanced > Theme Editor - Under Templates, find base.html & add both sections here
Adding Conversion Tracking
Advanced settings -> Affiliate Conversion Tracking
This also requires the tag manager to be inputted into the "Affiliate Conversion Tracking" section as well
Conversion Tracking Code
<script>
var dataLayer = window.dataLayer || [];
dataLayer.push({'order_id' : '%%ORDER_ID%%','order_value' : '%%ORDER_AMOUNT%%', 'event' : 'order-submitted'});
</script>
Feed
A plugin is required to be used.
A possible paid plugin is:
https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/