KB's

How to implement Google Analytics into Sitefinity


Introduction


Although Sitefinity does not offer site analytics, Google Analytics can be implemented with Sitefinity. This feature can show web site administrators how many visits a site receives, where the visitors are coming from in the world, and many other statistics. To implement Google Analytics, you must sign up for a user account on Google, sign up for Google Analytics, and copy and paste their code into the master page of your application.

Setting up Google Analytics


To use Google Analytics on your website, follow these steps:

1.       Sign up for an account on Google.

2.       After you login, click Analytics under My products:



3.    On the next screen, click add website profile:



4.    On the next page, add your website and click continue:



5.    On the next page, you will see some JavaScript code. For each master page in the App_Master directory of your application, copy and paste the code in between the script tags of your master page:



6.    Wait 24 hours for Google Analytics to start tracking your website
7.    Login to your Google Account
8.    Under My products, click Analytics
9.    On the next screen, click View Report next to the website:


Using a different website below as an example, you will now see your report on screen:



For more info on troubleshooting Google Analytics, please visit their help page