Bigcommerce: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
https://support.bigcommerce.com/articles/Public/Accessing-and-Customizing-Template-Files
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
https://support.bigcommerce.com/articles/Public/Passing-Order-Data-to-Affiliate-Programs#tracking-variables
adding Conversion Tracking
 
== Adding Conversion Tracking ==


Advanced settings -> Affiliate 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
Conversion Tracking Code
Line 17: 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.<br />
Possible paid plugins:
<pre>
https://www.bigcommerce.com/apps/google-shopping-by-sales-orders/
https://www.bigcommerce.com/apps/godatafeed/
</pre>
== API ==
An API exists which can open up a possibility to create our own feed.
<pre>
https://github.com/bigcommerce/bigcommerce-api-php
</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


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