Labels

Showing posts with label Google Analytics. Show all posts
Showing posts with label Google Analytics. Show all posts

Installing Google Analytics in Blogger


    To track your site/blog using analytics you need to have an account with Google Analytics, If you already have a Google Account you can use that username/password here or you can always sign up for a free google account. In either case you need to go to http://www.google.com/analytics [ Opens in a New Page ]


    After you login with your username/password, you will be in your dashboard area.


    Scroll down to the bottom of the page and find the link to "Add Website Profile".





    On the next screen select the option to "Add a profile for a new domain".





    Click continue and on the page that follows, type the URL of your blog.





    The final screen will generate two tracking codes for your blog. make sure you are on "New Tracking Code(ga.js)" tab






    This is the code that you need to copy/paste on your blog. We are now going to install google analyics tracking code to your blogger blog.



    Go to http://www.blogger.com [ Opens in a New Page ] and login with your id/password.



    Once you are logged in go to your dashboard, where you have to click the "Design" "Layout"  link(beside the settings link) of your blog. make sure you are on the "page elements" sub-tab, where you can easily add and arrange page elements.

    You will now add a gadget by clicking the "Add a Gadget" link



    From the popup that appears, you can add many gadgets to your blog, this time we need to scroll down to the HTML/JavaScript option and click the "+" sign beside it to add it to your blog







    This will open a final popup where you paste your code(your google analytics code) under the "content" textarea. I prefer not to give it a title because the code is invisible, so leave the title field blank and click the button to "save changes"


    Source URL: https://soniceview.blogspot.com/search/label/Google%20Analytics
    Visit So Nice View for daily updated images of art collection

New Blogger Layouts and Google Analytics

    Need some help in Installing Google Analytics in Blogger? or did you stumble here looking for New Blogger Layouts? Try our Template & Layout Finder.


    Some people have reported that the new drag and drop layout of blogger does not work with google analytics. When testing the problem myself. I found out that the code which is typically in the format of

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">
    _uacct = "UA-XXXXXX-X";
    urchinTracker();
    </script>


    is changed to

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">
    _uacct = &quot;UA-XXXXXX-X&quot;;
    urchinTracker();
    </script>


    upon saving and probably that breaks the code. Actually this is an installation problem. you can't copy paste the code into the blogger layout code( because its XHTML code now). Google Analytics site recommends that you paste the tracking code before the </body> tag. That install procedure is outdated.

    Below are the instructions for installing Google Analytics tracking code to new drag and drop layout of blogger/blogspot without problems.


    1. Login to your dashboard and click "Manage : Layout"
    2. On the template tab, select Page Elements
    3. On Page Elements, click Add a page element( I recommend adding it to the bottom of the page)
    4. On the pop up window click the "Add to Blog" option beside "HTML/JavaScript" Option
    5. On "configure HTML/JavaScript" popup window, paste the Google Analytics code in the "content textarea"
    6. Leave the title "blank" and Save Changes
    Now, Google Analytics should be working on your blog. Leave your comments if Something still does not work.

    Note : Google Analytics is working on a new version ( Which will probably be XHTML compliant). See more on this http://analytics.blogspot.com/2007/05/new-version-of-google-analytics.html .

    Update: Some of the visitors have pointed out that the above method does not work correctly now,So, unless we find a workaround to make Analytics work with the new blogger, both would remain incompatible.Source URL: https://soniceview.blogspot.com/search/label/Google%20Analytics
    Visit So Nice View for daily updated images of art collection