AspDotNetStorefront supports asynchronous e-commerce tracking using Universal Analytics (analytics.js). This version of Google Analytics in AspDotNetStorefront allows you to make modifications to the Google Analytics code without modifying core source code.
First you will need your Google Analytics account number. You can find this code by logging into your Google Analytics account. The interface on Google Analytics changes frequently but you should find the number on the page where you get your tracking script. Copy the UA-xxxxxxxx-x number from this page.
Once you've got the UA number, navigate to your admin console and add the account number to the Setting: Google.AnalyticsAccount.
Lastly, make sure that the Setting: UseLiveTansactions is set to Yes. This setting assures that Google Analytics only runs on your live website.
At this point you have completed the installation of Google Analytics. You should be able to view page source on the front end of your website and see the Google Analytics code.
Google Analytics Ecommerce Tracking
If you would like to enable ecommerce tracking you just have two more steps to complete.
First, login to your Google Analytics account and enable e-commerce tracking. The interface tends to change, but look under View(Profile) > View Settings.
Next, log in to the admin console and set the Setting:Google.EcomOrderTrackingEnabledto Yes.
That's it! At this point your site will send order data up to Google Analytics when your customers check out.