Web & Ecommerce Design Blog

How To Install "THE NEW" Miva Merchant Google Analytics Module & Set Up The Proper Goals Within Google Analytics to Enable Conversion Tracking and Funnel Visualization

The tutorial below will show you how to install THE NEW Miva Merchant Google Analytics Module, and also show you how to make sure your conversions are also being tracked properly. It's been hard to find a "one stop" resource on all of this. GlendDaleDesigns did a great job and we're going to mirror what they already posted in their own tutorial, but we're going to show what needs to be done on the Google Analytics side as well to make your life that much easier.

1. Under "Utilities"...

... make sure Google Analytics module is "checked" and hit the update button.

2. After you enable the module...

... three tabs will be created. You should only need to have to modify the information on the "Google Analytics Settings" tab.Click the Google Analytics Settings link and input the UA code that can be found within your google analytics account. Also input your domain name, and when done, hit the update button again.

3. Go into your Global Footer template...

... to make sure the <mvt:item name="ga_tracking" /> item has been added at the bottom

4. Go into the INVC/Invoice page...

... and make sure the <mvt:item name="ga_transactions" /> item has been added at the bottom of the template just before the </body> tag.

5. Go into the Pages > Items area of the admin and...

... locate the ga_tracking item and click the EDIT button to the far right of it.

6. Go into the "Pages" area of the ga_tracking item edit screen and...

... now make sure the item is assigned to all of the pages you want to track. Ideally you want this to be checked for EVERY page template except for those not related to the front end of the site. For example, you don't need to assign it to the "email invoice" templates. Be sure to hit the update button after you check all pages that you want the module active on.

7. THAT'S IT FOR THE MIVA SIDE.....NOW log in to your Google Analytics account and...

... once inside, click the Admin link to the far top/right area of the screen within the orange navigation bar.

8. From the "New Analytics Administration screen...

... make sure the proper account is selected across the Account, Property and View Profile area's and then click the link within the View Profile area titled Goals.

9. Click the Create A Goal button to begin the process...

10. Creating a goal is a three-step process...

That should be it. Now wait for analytics to pick up on the update. It could take a few hours in my experience for the data to begin showing up. When I set this up today for a client, their first 4 conversions showed up within 2 hours of all of this being done to their site and their analytics settings.