This Version is Out of Date
You can find the updated Miva 10 Reference Guide here
Google Analytics is a product from Google that tracks visitor activity in your on-line store. Google Analytics can tell you what pages in your store people have visited, what products customers have purchased, etc. The basic process of working with Google Analytics is:
Follow these steps after you have created your Google Analytics account.
As soon as you install Google Analytics, you'll see two new tabs:
Google Analytics ID: | This is your Tracking ID that is created when you set up your Google Analytics account. It has the form: "UA-x x x x x ...- x". |
Domain: | This field is prepopulated with the domain of your Miva Merchant store. You would almost never need to change the domain field. |
Mode: | The JavaScript that Google uses to perform analytics has evolved over the
years to add more and more features. You currently (03/20/15) have three
choices for the analytics code. What you select here, however, must match
the type of analytics code that you selected when you set up your Google
Analytics account.
|
Track Subscription Orders | Enable this option to report automatically generated subscription orders to Google. When enabled, information about orders placed in the runtime shopping inte |
Enable Ecommerce Transaction Tracking | Enable this option to track Ecommerce transactions. When enabled, this will cause the module to transmit information about orders placed in the runtime shopping interface to Google so that you can track and analyze sales numbers inside Google Analytics. |
IP Anonymization: | When you use Google analytics, the code sends customer data from your store to your analytics account. If you enable this option, the last octet of the customer's IP address is set to zeroes before it is sent. |
Force SSL: |
|
Enhanced Link Attribution: | If you selected enhanced link attribution in your Google Analytics account, you must also enable it here. But see also: https://support.google.com/analytics/answer/2558867?hl=en for more information. |
Display Advertising Support: | If you are using Google display ads, enabling this feature gives you more information about those ads. You view the ad information in your Google Analytics account, but it must be enabled in your Miva Merchant store so that the data will be collected. But see also: http://www.google.com/ads/displaynetwork/Policy requirements for Display Advertising https://support.google.com/analytics/answer/2700409?hl=en |
Cross Domain Auto Linking: | You will only see this field if you set > Utilities > Google Analytics Settings tab > Mode field to either "Universal" or "Universal Enhanced". Normally, Google analytics cannot track a customer once the customer leaves your store domain. If you want Google analytics to track customers across multiple domains:
|
Domain Tracking | Google analytics gives you the option of tracking analytic data across
domains and subdomains. You have to list your domains and subdomains
in your Google analytics account. For example, let's say you have the
following domains and subdomains:
Once you configure your Google analytics account, you can use the domain tracking field to select the tracking data you want Miva Merchant to send to Google. |
Temporarily Disable Tracking (retains all configuration) | If you need to temporarily turn off Google Analytics tracking in your store, click this checkbox, then click the Update button. This disables all Google Analytics tracking in your store, but retains your settings so you can easily turn the feature back on again. |
Advanced mode: | The easiest way to install Google Analytics in your store is to select from
the options listed above, and click the Update button. The admin interface
will automatically install the JavaScript in your store. However, you can
use the Advanced Mode to manually install the Google Analytics
JavaScript. You might want to do this if Google has released a new
version of their code and it isn't officially supported by Miva Merchant yet.
|
At this point Miva Merchant will automatically install the Google Analytics JavaScript code. Unless you are an advanced user, you don't need to do anything more.
The JavaScript for Google Analytics has two main parts:
Just by setting up your Google Analytics account you get the "basic" JavaScript code, but in the Profile Settings section of your Google Analytics account you can choose to track ecommerce.
When you click on the Update button at the bottom of the Google Analytics Tracking Code tab, Miva Merchant will install the correct JavaScript in your store. You don't need to do anything else.
The Ecommerce Tracking Template field on the Google Analytics Classic Ecommerce Code tab shows you the Google ecommerce JavaScript code. This code is only installed on your invoice (INVC) page. Advanced users might modify this code if they were testing a new version of some Google Analytics JavaScript, but most users won't need to change anything on this tab.
Please see above.
See above.
In previous versions of Miva Merchant, this tab was called "Google Analytics Ecommerce Code". This tab only appears if you select "Classic (ga.js)" in the:
Utilities > Google Analytics Settings tab > Mode field.