Sunday, June 8, 2014

Integrating Google Analytics into Blogger.com

Our previous discussion was about the basics of Git commands. Now one major topic that we will discuss in R Programming is Business Intelligence and Web Analytics using R.  It is better to use the data generated from your own social media account when we have our sample exercises. This will also provide you an opportunity to use your own "BIG" data.. For those who have a facebook fan page and a twitter account, integrating Google Analytics into this social media sites will be discussed in a separate topic. So before we engage into R, let's generate our own data first.

let's begin. go to http://www.google.com/analytics, and sign in to access Google Analytics, this requires a gmail account. (not yahoo mail not hotmail but gmail....).


Once you have logged in using your gmail account, you can click the sign-up page.


After clicking signing up, fill the required information:

Accept the Terms of Agreement,

After this step, it will lead you to your Tracking ID and your Tracking Code, although it is an optional step I usually copy my Tracking ID and Tracking code into a text or word document.


Once you have your copy your Tracking ID (high light it and press the Ctrl button and the C button). Go to your blogger.com account. Click "Settings" and click "Other", at the bottom part of your page you will see Google Web Property ID, paste your Tracking ID here (press Ctrl button and V button).


You have integrated your Google Analytics tracking ID to your blogger account. To check if your Google Analytics is working, try viewing your blog.


Now go to your Google Analytics Account, at the upper corner you will see a tab named  "Reporting" click that, click the "Real Time" tab and then click "Overview". It contains 1 active user


And you can also determine which country the active user is located if you scroll down.


Keep this as is and we will coming back to your Google Analytics Account later during our discussion in Business Intelligence and Web Analytics using R Program, there is a program package available in CRAN for Web Analytics. By integrating Google Analytics into R, we can perform advance statistical analysis, predictive modelling and attribution analysis.

No comments:

Post a Comment