Bigcommerce

From Growth Agency Wiki
Revision as of 13:08, 1 June 2023 by Aaron.trevellick (talk | contribs) (Feed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


https://support.bigcommerce.com/articles/Public/Passing-Order-Data-to-Affiliate-Programs#tracking-variables

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