ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • HubPages Tutorials and Community»
  • Articles Statistics & Metrics

Google Analytics: A Way to Track

Updated on April 19, 2013

Yesterday I started a new blog and when I was setting up Google Analytics I realized that I hadn't set up a profile for my Hubpages account. It got me wondering if other people had forgotten this important way to track the amount of visitors to the hubs so here is some information that I hope will be helpful on how to add Google Analytics to blogs and Hubpages.

Google Analytics gives detailed stats about the visitors to your website or blog. It is the most widely used statistic service used world wide. Google Analytics can track your visitors to your site as well pay-per-click networks, Adwords, Adsense, email marketing and links within PDF documents.

Google Analytics helps to determine which ads are performing the best on a site by providing information as to what ads visitors are clicking on or what pages they are viewing. Also, it is possible to find out how long a visitor stays on the site and where in the world they came from as well as how they found the site: either from natural search or as a referral from another site.

Google Analytics: Hubpages

Adding Google Analytics to your Hubpages account is fairly simple.  First you will need to create a free account if you don’t already have one with Google Analytics.  If you already have an account the following are simple instructions to get your Hubpage account listed.

On the main page of Google Analytics, click on the Add New Profile found in the top right corner of the page.  Simply type in the Hubpage URL (www.hubpage.com), leaving off the http://, and then click Finish

On the next page you will get a tracking code.  This is usually a number starting with “UA”.  Copy this code and go to your Hubpage account page.  Click on Affiliate Settings and paste your code in the Analytics box. Go back to Google Analytics and click Finish.

It can take between 24 and 48 hours before Google Analytics will have any data.

A Safe Place To Learn To Make Money Online

With One Week Marketing you will get step by step training that gives you everything you will need (even if you are a complete beginner) on how to grow your online business each month.

You will learn how to avoid mistakes and save yourself perhaps months of wasted time and wasted money.

Jennifer Ledbetter is known for her success online and she has helped literally thousands of people make a good living utilizing free web properties such as Hubpages and Squidoo.

She will even give you a FREE sneak peak at her membership site so you can take a look and see if this training is for you! Want to see more, just click on One Week Marketing.

Google Analytics: Wordpress Blogs

Adding Google Analytics to your Wordpress Blogs is very simple: all you need is a plugin. Simply go to your Plugin page in your Wordpress blog, click on add new and in the search box type in Google Analytics. There are a number of different plugin but I like the Google Analytics for WordPress plugin as it adds the necessary JavaScript code to enable Google Analytics to log onto my blog. You don’t need to edit your template code which can be a little scary if you don’t know what you are doing. What could be more simple?

You will need to set up an account in Google Analytics if you don’t have one. Once you have an account, click on the Add New Profile found in the top right corner of the page. Simply type in your Wordpress Blog URL, leaving off the http://, and then click Finish.

On the next page you will get a tracking code. This is usually a number starting with “UA”. Copy this code and go to your Wordpress blog Settings page. Click on Google Analytics, past your code in the box Analytics Account ID. Chose the default option (In the footer), click on track outbound clicks & downloads, click on update Google Analytics Settings and you are done! Go back to Google Analytics and click the finish button to complete the process.

Remember it can take between 24 and 48 hours before Google Analytics will have any data.

Google Analytics: Blogger

Blogger is a little bit more complicated when it comes to adding your Google Analytics code. You will need to add some code to the template.

Again if you don’t have a Google Analytics account you will need to set up one. Once you have an account, click on the Add New Profile found in the top right corner of the page. Simply type in your Blogger URL, leaving off the http://, and then click Finish.

On the next page you will get a tracking code. This time you are going to copy the entire code and not just the “UA” number. Go back to your Blogger account, click on Layout, then the Edit HTML tab. If you are worried about messing up, copy the entire template code to notepad so if necessary you can just replace the original template code.

Scroll to the bottom of your template page and look for the </body> tag. Copy the code you got from Google Analytics right above the </body> tag as illustrated in the picture on the right. The yellow highlighted portion is the new Google Analytics code. Once you have copied the code in the template, click Save Template. Go back to Google Analytics and click the finish button to complete the process.

Remember it can take between 24 and 48 hours before Google Analytics will have any data.

Comments

    0 of 8192 characters used
    Post Comment

    • viryabo profile image

      viryabo 7 years ago

      Thank you TBT for an easy to follow guide on how to add analytics to my website.

      I can't believe it will be so easy to do.

      Thanks

    • Tina Julich profile image

      Tina Julich 7 years ago from Pink

      Your hub was the clearest as to how to add analytics to my HubPages account. Thank you so much!

    • Susan Miles profile image

      Susan Miles 7 years ago

      Great hub! Thanks for the info.

    • True Blue Tips profile image
      Author

      True Blue Tips 7 years ago

      Hi Green Lotus. Thanks for letting me know the hub was useful to you.

    • Green Lotus profile image

      Hillary 7 years ago from Atlanta, GA

      Thank you! I have been going crazy trying to add a Google analytics code to my Wordpress blog. Thanks for the plug-in tip! I actually added the "ultimate GA" plugin so I hope it works as promised.Cheers.

    • True Blue Tips profile image
      Author

      True Blue Tips 8 years ago

      You are very welcome hoov45.

    • hoov45 profile image

      Terry Hoover 8 years ago from Denham Springs, Louisiana

      Good information here, thanks.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://hubpages.com/privacy-policy#gdpr"

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)