Add Google Analytics to your site

Modified on Thu, 18 Mar 2021 at 05:29 PM

Connecting your website to your Google Analytics account will allow you to track traffic and sales on your site in a number of ways that can be beneficial to you as a website manager. To link your site with your Google Analytics account, please follow the steps below. 


Sign up! 


The first thing you'll need to do in this process is secure a Google Analytics account (If you already have an account, you can skip these steps). Google Analytics accounts are free and easy enough to sign up for. Start by going here: https://analytics.google.com and signing in with your Google Account. Please be sure to use a business account to sign in as using your personal account could be an issue when sharing access to this account. 


Configure Google Analytics!


Once you sign up and are logged in, when you visit https://analytics.google.com you should see a landing page that looks similar to this: 


click image to zoom


In this article, we won't explain how to read your data, but we can let you know that the section labeled "Analytics Reports" will contain a ton of reports with varying information about the behavior of visitors to your site. 


What we need to focus on now is the Admin link in the lower left corner to make sure you have the right configurations in your account. Go ahead and click "Admin" and you should see a screen that looks like this. I've drawn red boxes around the settings we're going to cover below.


click image to zoom


  • Account Settings: I recommend every box checked
  • Ecommerce Settings: This page is important and should be set up to look like the image below
    click image to zoom
  • Property Settings: You can click this tab to find your Tracking ID. This number is very important, so it's important to know where to find it easily. 

    It should be in the format of UA-XXXXXXXXX-X. Go ahead and highlight and copy that number now. You'll need it in the next steps. 

        
    click image to zoom


Configure your AIM Storefront website!


After logging into the admin (/aesys) panel of your AIM Storefront, navigate to "Configuration > Settingsand set your setting group to "MISC" and search for "Google"


click image to zoom


You'll want to be sure your settings look look like the settings in the image above. I'll outline them below: 


  • Google.AnalyticsAccount - Paste your full Tracking ID here
  • Google.EcomOrderTrackingEnabled - false
  • Google.EnhancedEcommerce.Enabled - true
  • Google.EnhancedEcommerce.ImpressionClickTracking.Enabled - true
  • IncludeGoogleTrackingCode - true


Lastly, make sure that the setting "UseLiveTransactions" is set to Yes. This setting assures that Google Analytics only runs on your live website. If you have trouble finding it, make sure you remove the settings group, "MISC" from your search filters. 


Once you have these settings in place, remember to Refresh Store to clear your old settings out of your cache. 


Testing! 


Let's log back into our analytics page in one browser. and in another browser fire up Incognito or Private Mode browsing and navigate to your store. Now, when you view your analytics page, you should see yourself as a visitor in real time. 




One thing to keep in mind is that officially, Google Analytics processes data every few hours but it can lag by 24-48 hours. We notice that realtime viewers can been seen in almost real time, with a few seconds of lag, but ecommerce purchases usually take a day to register, although once they do register, they get reported for the day the transaction happens - which is how it should be. 


Please let us know if this article is helpful to you by clicking a "yes" or "no" link below the article. If you have any further questions while setting this up in your store, please send us a support ticket and we'll be happy to help.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article