A tech, tools, gadgets, tips and tricks blog

Sunday, 28 June 2015

Setup Google Analytic with Blogger, Tumblr or Wordpress Blog/Website

No comments :
Hey guys, today I am going to share with you how to add Google analytic code to Blogger, Tumblr and Wordpress platforms. Every person who starts a blog or website on internet who is curious to know that how its website performs on internet. Where to traffic come from? Is that traffic organic or referral? It is good practice to trace your website data using best tool.
If you are new in blogging field and don’t know about Google analytic then here is a small description about Google’s free and amazing product Google analytic tool.
setup google analytic to blogger, tumblr and wordpress blog

What is google analytic tool?

Google analytics is a free tool from Google to check website stats like bounce rate, unique visitors, returning visitors, page views performed by user, sessions performed by user and many more related to website data. It is most powerful tool in the world which provides accurate data of website. Almost all website and blog owner use Google analytic for trace their website data. You can also analysis your mobile app data using this powerful tool. ]
Now I hope that you have basic idea about Google analytic tool. So let’s go to the next process. In next process, I will show you how to get Google analytic code and add it to blogger, tumblr, wordpress blog and also custom website step by step.

Get Google Analytic Code

Here are steps to get Google analytic code. Please follow the below steps. If you don’t get anything please fill free to ask me questions. I am here to help you. You can ask me questions in comment box or on my email id cksblog007@gmail.com
  • Step-1: Go to google analytic website

    get google analytic code 1
  • Step-2: Login with your google acoount and click on sign up button.
  • Step-3: You will redirect to screen that look like below screenshots.

    get google analytic code 2
    get google analytic code 3
  • Step-4: Fill out the required information and click on the “Get tracking code” button.
  • Step-5: You will ask for Google analytics terms and condition. Kindly read and accept them. (If you have more time then read otherwise simply accept them!!).
  • Step-6: That’s it, you have done. You will see you’re tracking id code like below screenshot. Please copy and paste it in notepad and save it for future uses.

    get google analytic code 4
This is your Google analytic code which will help you to track your visitors on your website and many more data.
Now I will show you how to add this Google analytic code to the blogger, tumblr, wordpress and your custom website. First we start with blogger…

Add Google analytic code to blogger blog

You have your Google analytic code and now you have to integrate it with blogger blog. If you don’t have blog on blogger and want to learn than you can read it here how to create a blog on blogger (step by step guide). Now come to the point and Follow the below steps to integrate your Google analytic code to the blogger blog.
  • Go to your blogger Dashboard -> Setting -> Others menu
  • You will find out Google analytic id option at the bottom.

    add google analytic to blogger 1
  • Please paste your tracking id code here. i.e. (UA-XXXXXXXX-X).
  • Now go to your blogger Dashboard -> Template -> Edit Html.

    add google analytic to blogger 2
  • Now click on your template code editor and press “ctrl+F” and search for &lt/head&gt
  • Please paste your full Google analytic tracking code above &lt/head&gt tag and save the template.

    add google analytic to blogger 3
  • That’s it. You have successfully added your Google analytic code to your blogger blog.
You will see your blog’s result 1 or 2 days later after integrating your google analytic code.

Add google analytic code to tumblr blog

Adding google analytic code to tumblr blog is quite easy. Please follow the below steps to setup google analytic code to the tumblr blog.
  • Open your tumblr blog using your username and password.
  • Click on your account icon. You will see menu that will look like below screenshot.

    add google analytic to tumblr blog 1
  • Click on a blog name in which you want to add Google analytic code.
  • You will see screen like below screenshot.

    add google analytic to tumblr blog 2
  • Click on the “Edit appearance” option from right side menu. You will see screen like below screenshot.

    add google analytic to tumblr blog 3
  • Now click on “Edit theme” button. You will redirect to screen which look like below screenshot. Scroll the left side menu at bottom. You will find out “Google Analytic ID” like this screenshot. Kindly fill your Google analytic ID here.

    add google analytic to tumblr blog 4
  • Now scroll the same panel at top and you will see “Edit HTML” option as below screenshot. Click on it and paste your google analytic code script like below screenshot.

    add google analytic to tumblr blog 5

    add google analytic to tumblr blog 5
  • Now click on “Update the preview” button. At a same time you will see “Save” button fade In. Click on the save button and that’s it. Your Google analytic code added to your tumblr blog.
If you face any problem while performing this tutorials please comment it below.

Add google analytic code to wordpress blog

There are two methods to add google analytics code in your wordpress site or blog.
1) Direct method:In direct method you can put your google analytic code in your header.php in between &lthead&gt google analytic code
. Same way you can put google analytic code in your footer.php file below &lt/body&gt tag.
2) Function Method: In function method you have to create a function that contain google analytic code and add it with footer like this. You have to create this function in your functions.php file.
In functions.php file create a function like this.
&lt?php
function add_google_analytic_code()
{
 // Add your google analytic code here.
}
add_action('wp_footer', 'add_google_analytic_code');
?&gt
It will automatically add your google analytic code at the footer.

Add google analytic code to your website

Adding google analytic code to your website is very simple. Copy your google analytic code and put it at below the &lt/body&gt tag. This way you can add google analytic code to your website.

Final words...

Thanks for reading this article. I hope this will help you and you will like this article. I do my full effort to write this article. Please share it with your friends if you like it. Please fill free to ask me problems in the comment box. I will help you to solve that problem. You can also mail me to get my help on cksblog007@gmail.com. Thanks once again and happy blogging.

No comments :

Post a Comment