Categories: Google Analytics and Ecommerce Tracking

How to Add Google Analytics in BigCommerce

In this blog, you will see how to add Google Analytics and E-commerce Tracking Code  in BigCommerce.

BigCommerce is one of the best e-commerce solution, I am sure this will amazed you by various in-built tools.

BigCommerce has built in support for Google Analytics which includes the tracking of sales. Being able to see sales details within Google Analytics is very powerful. This enables you to analyse things like which sources are revenue generators or which parts of the website perform well at converting customers.

BigCommerce have now added support for Universal Analytics which is really great. At this time, it is recommended  to switch Asynchronous Google Analytics to Universal Analytics . This article will guide you to configure BigCommerce to use Universal Analytics.

Since BigCommerce 7.1 is now Live with some good features like Custom URLs, New Store Designs, Friendly Logouts & More…

So you are going to see step by step instructions to add google analytics and e-commerce Tracking code in BigCommerce 7.1. And Also some instruction is there in bottom of this post for those guys who haven’t upgraded their BigCommerce till now.

Steps to add Google Analytics in BigCommerce

  • Get the Google Analytics Tracking Code.
    if you have already got Tracking Code, follow below steps otherwise follow this link to get Google Analytics Code.
  • Login to BigCommerce.
  • Click on Advanced Settings.
BigCommerce Google Analytics (Advance Settings)
  • Click on Web Analytics.
BigCommerce Google Analytics (Web Analytics)
  • Check the checkbox Google Analytics inside General Settings.
BigCommerce Google Analytics (Check Google Analytics)
  • Add the Google Analytics Code in Tracking Code Box.
BigCommerce Google Analytics (Google Analytics)

I hope, All these above steps will help you to add Google Analytics code in latest BigCommerce. but if you have still older version of BigCommerce then you can follow below instructions:

  • Click on Setup(on Top menu)
  • Go to Google Analytics Box
  • Add your Tracking Code.

Instruction to Add Google Analytics E-Commerce Tracking Code in BigCommerce:

If you have already added Google analytics Code in your website then it’s OK, otherwise I am afraid that first of all you have to add Google Analytics to Code in your site for that you have to follow above mention steps, then go for below one.

Add the below code in Google Analytics Box (after Google Analytics Code).

<script>
    ga('require', 'ecommerce');

    function trackEcommerce() {
    this._addTrans = addTrans;
    this._addItem = addItems;
    this._trackTrans = trackTrans;
    }
    function addTrans(orderID,store,total,tax,shipping,city,state,country) {
    ga('ecommerce:addTransaction', {
        'id': orderID,
        'affiliation': store,
        'revenue': total,
        'tax': tax,
        'shipping': shipping,
        'city': city,
        'state': state,
        'country': country
    });
    }
    function addItems(orderID,sku,product,variation,price,qty) {
    ga('ecommerce:addItem', {
        'id': orderID,
        'sku': sku,
        'name': product,
        'category': variation,
        'price': price,
        'quantity': qty
    });
    }
    function trackTrans() {
        ga('ecommerce:send');
    }
    var pageTracker = new trackEcommerce();
</script>

I hope this blog help to implement Google Analytics and E-commerce Tracking on BigCommerce Site.

Kindly let us know you have any suggestions or facing any issue in code implementation via comment form or get in touch form. Don’t forget our other articles.

Notes On Click

Share
Published by
Notes On Click
Tags: bigcommerceEcommerce trackinggoogle analytics

Recent Posts

  • Adword Conversion Tracking
  • Google Adwords Remarketing

Conversion and Remaketing code in BigCommerce

In this blog, you will see how to add Adwords Conversion Tracking and Remarkeing Code in BigCommerce.BigCommerce is one of…

7 years ago
  • Google Analytics and Ecommerce Tracking

Ecommerce Tracking in OpenCart 2.3

Around 6 months back, I had published an article on “How to add GA e-commerce tracking in Opencart“. I am really thankful…

8 years ago
  • Google Analytics and Ecommerce Tracking

Google Analytics Definition and Common Terms

 If you have gone through our previous blog about Google Analytics, you might have sound understanding about Google Analytics and how it…

8 years ago
  • Google Analytics and Ecommerce Tracking

What is Google Analytics and it’s Features?

Do you want to know more about your visitors and how your content is performing?​ Whether you run a website…

8 years ago
  • Google Analytics and Ecommerce Tracking

Google Analytics and E-commerce Tracking in Miva Merchant

If you have gone through some of previous blog, you might have seen how to install google analytics, e-commerce tracking…

8 years ago
  • Google Analytics Event Tracking
  • Google Tag Manager (GTM)

Contact Form 7 Event Tracking Via GTM

In the last post, you had seen How to add event tracking in gravity form via Google Tag Manager. Now in this…

8 years ago