Bigcommerce: Difference between revisions
Jump to navigation
Jump to search
| Line 30: | Line 30: | ||
A plugin is required to be used.<br /> | A plugin is required to be used.<br /> | ||
Possible paid plugins: | |||
<pre> | <pre> | ||
https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/ | https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/ | ||
https://www.bigcommerce.com/apps/godatafeed/ | |||
</pre> | </pre> | ||
Latest revision as of 13:08, 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.
Possible paid plugins:
https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/ https://www.bigcommerce.com/apps/godatafeed/
API
An API exists which can open up a possibility to create our own feed.
https://github.com/bigcommerce/bigcommerce-api-php