Adding Google Analytics Tracking Code to WordPress

by Joel Friedlander on August 24, 2012 · 70 comments

Post image for Adding Google Analytics Tracking Code to WordPress

by Tracy R. Atkins (@TracyRAtkins)

I met Tracy in the comments on the blog, where he is a frequent contributor. Tracy has an extensive background in technology and is now on his way to becoming a self-published author. I asked him to lend his expertise to help authors trying to get a handle on the tasks they face as bloggers, and here’s his contribution:



Google Analytics is one of the most valuable tools you have to judge the effectiveness of your blog or website. Key performance indicators from the number of visitors to your site, the sources of that traffic and visitor behavior are available in a multitude of easy to read reports.

In only a few moments, you can research how effective an advertising campaign is for your book, what articles people read most and where the bulk of your readers reside. It is a fantastic tool and getting analytics data for your WordPress blog is very easy.

Google Analytics 1

Adding Google Analytics

Adding Google Analytics tracking to WordPress is a 2-part process.

  1. You must first acquire the analytics tracking code for your website by signing up for Google Analytics. Your personal tracking analytics code is a snippet of HTML/JAVA text, unique to your blog. When that text is read by an internet browser program, like Internet Explorer, Safari or Chrome, it sends website related tracking information about the website’s viewer to Google. That viewer data is then associated with your blog.
  2. The second piece of the process is to place your personal snippet of analytics code into a text box widget on your WordPress blog’s main menu. When in place, every visitor, to every page of your blog is tracked and the data is sent to Google Analytics. That’s all it takes to get analytics flowing!

The Tracking Code

Google Analytics 2

Upon completion of the sign-up process for Google Analytics, your website is assigned a unique Tracking ID and a Tracking Code snippet.

The Tracking ID is typically formatted as a string of alpha-numeric text.

Example: XX-########-#

The Tracking Code is a section of HTML that contains Java script computer code that tells your blog’s viewers’ browser to send some basic information to Google. It contains your unique Tracking ID. The script must be copied in its entirety and cannot be modified or changed in any way.

The code is typically several lines in length. It begins and ends with HTML SCRIPT tags.

Here’s an example:

Google Analytics 6

Copy this script by highlighting it, and use your keyboard or mouse copy function. You may also copy it to a word processor or notepad document for future use. You will later paste it to your WordPress blog’s text box for insertion to your blog.

Setting up Your Widget

Once you have the code in hand, you will need to log onto the administrator panel of your WordPress blog. In the dashboard, you must select “Appearance” from the menu and then “Widgets”.

Google Analytics 3

Next, drag a “Text Widget” from the widget selection area to the sidebar or footer area. Note, this text box will be invisible and the users of your blog will not see it.

Google Analytics 4

Insert the analytics tracking code into the text box. Typically, your analytics text box will be placed as the last item on the menu or footer list. Use the down arrow next to the text box widget you just inserted into the sidebar or footer box to expand it.

Leave the title box blank, so the text box does not show up on your sidebar or footer on the main website. In the text area, paste the code in into the box exactly as Google Analytics coded it. Then press “Save”.

Google Analytics 5

That’s it! You have successfully added analytics to your blog.

Since the sidebar or footer will appear on every page of your blog in most WordPress configurations, you will receive detailed tracking information from every visitor, for every page, automatically. You can now use Google Analytic’s powerful tools to track your WordPress blog’s visitors, while enjoying detailed reports on their behavior.

Tracy R. AtkinsTracy R. Atkins has been a technology aficionado since he was young. At the age of eighteen he played a critical role in an internet startup, cutting his tech-teeth during the dot-com boom. Throughout his career, he has earned numerous professional level tech-industry certifications, which he pursued out of a misguided sense of fun. Tracy is also the self-published author of Aeternum Ray.

Be Sociable, Share!

    { 65 comments… read them below or add one }

    adeem November 24, 2014 at 11:41 am

    The tutorial is quite simple and perfectly explained :) . Google analytics is one such thing that we all check hundreds of time .And having it installed in Wordpress is very helpful and essential too :) . Even I have to install it it now . Hope your guide will a help a lot of people.

    Reply

    Nate October 4, 2014 at 5:42 am

    Thanks! The easiest step by far.. :)

    Reply

    akhil July 24, 2014 at 5:58 am

    I’m trying to add the code here @ akhilsethi.com But not able to add the same properly. Is it because I’m using a free hosting service from wordpress? Can i still do it somehow?

    Reply

    Agge April 30, 2014 at 11:20 am

    Thank you for your instructions. I had been trying to implement the code but did not manage because I was faced with outdated instructions. Hopefully, I did want I wanted to do and cannot wait to see how Google Analytics works.

    Reply

    Seema Chauhan January 17, 2014 at 1:54 am

    Hi, I followed your step with correctly but it didn’t work in last whenever I put java script code then they are showing on home page. So, please help me!!

    Reply

    Bkumar November 13, 2013 at 7:52 am

    how could i implement it using core php.
    please provide me the guideline, how to implement it using core php.

    Thanks

    Reply

    Deepak Rawat August 5, 2013 at 12:39 am

    Hi… I read your article and found it is very informative. I have a blog on wordpress and I want to setup an analytic code for my blog and I followed all of your instructions but it didn’t work for me. And the pasted script is visible on my blog. So please tell me the solution.

    Reply

    Jemma Taylor July 18, 2013 at 12:04 am

    We have just started a WP blog as a sub-directory to our main site. We used the main site analytics code in the WP blog but I am not seeing any information about the pages visited in the blog!!

    Reply

    Jana Botkin June 1, 2013 at 1:20 pm

    Hi Tracy,
    Very very helpful instructions here, along with the helpful comments. I hope I’m not too late here to get a little more help.

    I am registered with Google Analytics, found my code, followed your instructions and pasted it into a text box under Appearance – Widgets. This removed all my other sidebar items! I put them back. Phew.

    I have a second blog and want to get the code for that. I tried to follow the instructions for “Adding Properties” on Google. The problems:
    1. There is no “Property Column”. There is a “Property Settings” tab.
    2. Under the “Property Settings” tab, there is no “Create New Property” to click.

    How can I add another property if there is no place to do it? I hope you answer this before my head gets lopsided from bashing it on the desk.

    Thank you!

    Reply

    Tracy R. Atkins June 1, 2013 at 5:18 pm

    Hello Jana,

    Google has moved things around a little bit. To add a new website, you now have to go under the admin menu. To do this, click the House icon on the top left. It will list all of your sites. Then hit the Admin button on the top right. You can then choose + New Account to add one.

    Thanks,
    Tracy

    Reply

    dssad April 5, 2013 at 12:01 am

    knfdkndkf

    Reply

    Lawmey April 1, 2013 at 8:46 pm

    Hi there,

    I have a wordpress blog which I would like to add the Google Analytics. I followed your detailed instructions where I added the Analytics code into a text widget of my blog. I saved the changes in wordpress. Refreshed my wordpress.

    Then, I checked Google Analytics, I noticed that it said that my tracking code was not installed. I refreshed the screen, thinking that it may take some time to register my wordpress changes, but it was still the same. Going to other part of the Google Analytics and back to the Tracking Info also gave me the same message.

    I noticed that when I copied and paste the tracking code (the whole lot) into the text widget of wordpress, the whole code was copied successfully. However, on saving the widget changes, I noticed the tags and were removed. Is this ok? Even when I re-pasted the code and saved in the widget, these tags were just removed or rather disappeared.

    I’m new to analytics. Any advise would be great.

    Thanks for the instructions, by the way.

    Regards, Lawmey

    Reply

    Lawmey April 1, 2013 at 8:54 pm

    Opps…I was pretty hasty in making my comment. After reading other posts, I realised that you have answered the same question. Sorry! You can just ignore my comment.

    Keep up the good work though!

    Reply

    amit March 13, 2013 at 1:50 pm

    really nice post google analysis is best way to track visitors and you have done great job thx for sharing i m searching on google al last i got best way ,but we can add this code in footer.php code…..tell me about this some if you know about this

    Reply

    Steve February 15, 2013 at 1:19 pm

    Thank you the easy to follow instructions Tracy. I was wondering if there was a way to confirm that the tracking code snippet placement worked? I didn’t see it while viewing my page code but maybe I am just missing it?
    Take care, Steve

    Reply

    Tracy R. Atkins February 15, 2013 at 1:29 pm

    Steve,

    The tracking code should be completely invisible on your website to all visitors. The best way to see if it is working is to log on analytics and watch the “real-time” analytic data, or check back the next day to see if your visits to the site have shown up.

    -Tracy

    Reply

    manisha February 15, 2013 at 1:34 am

    Could you please tell me where to put google analytics javascript code and tracking id? I do not have any html file. So could you please tell me where to put both the codes? Kindly help… Awaiting your reply.
    Getting tracking not installed error.

    Reply

    Tracy R. Atkins February 15, 2013 at 5:24 am

    Hello Manisha,

    If i understand your question correctly, you will want to put that code in a Wordpress text widget on your site. Instructions for that step are in the article above under the section “Setting up Your Widget”.

    Thanks!

    Reply

    Kevin Walker February 14, 2013 at 7:14 am

    Hi Tracy, I put the tracking ID/code into a text widget and placed it at the bottom of my right sidebar but Google Analytics tracking info still tells me that ”Status: ”Tracking Not Installed” even after 48 hours!!

    Do you know if this works with self hosted WP Blogs?

    Regards, Kevin Walker.

    Reply

    Tracy R. Atkins February 14, 2013 at 7:41 am

    That error usually means that the Google Analytics website has received no communication from your website.

    I would try re-installing the tracking code on your page, making sure that the code has not be modified or corrupted. Pay special attention to your tracking ID and make sure it is correct too. Also, if java is disabled by your hosting provider, the tracking code wont work and you will have to find an alternative.

    Reply

    Gemma February 13, 2013 at 2:48 am

    Thank you!! I have been trying to sort this out on my site of hours and actually managed to find the answers here :)

    Reply

    Amanda January 28, 2013 at 5:11 pm

    Hi Tracy,

    I was blown away by this article after spending a few fruitless hours trying to figure this out. However, as soon as I hit save the code changes so it becomes visible on my blog and does not correspond with google analytics. I am self-hosting, so I’m not sure if you have any idea as to what the problem might be?

    Reply

    Tracy R. Atkins February 14, 2013 at 7:39 am

    If your code becomes visible, it is most likely due to the hosting provider disabling java-script. If you are using a wordpress.com account, you will likely have to use a different analytic package or even JetPack.

    Reply

    MIke Lenz January 14, 2013 at 8:48 am

    Hey Tracy,

    We’re setting up a blog for our non-profit, and already have Analytics set up for our main domain. Do you suggest setting one up for our blog subdomain as well (blog.xxxx.org)? Or is it better to view all the data as aggregate? Will Analytics pull traffic data from our subdomain?

    Thanks,
    Mike

    Reply

    Tracy R. Atkins February 14, 2013 at 7:37 am

    Analytics can pull sub-domain data and include it in your aggregate view. I would only segment it if you feel that the traffic to the sub-domain is its own entity and you want to scrutinize it at that level.

    Reply

    Jaideep A. Prabhu January 4, 2013 at 1:57 pm

    Hi guys,

    I tried this, but when I hit ‘save,’ it deletes the tags at the beginning and end, and so the code appears on my page. Furthermore, this means that analytics is not installed. Not sure what I am doing wrong…any help would be appreciated.

    I run the Chateau theme on a free WordPress blog, though I doubt that makes a difference.

    Thanks

    Reply

    Jaideep A. Prabhu January 4, 2013 at 1:59 pm

    Never mind…a little scrolling would have saved me some trouble! Thanks for your assistance! :-)

    Reply

    Tracy R. Atkins January 4, 2013 at 2:00 pm

    Jaideep,

    Unfortunately, WordPress.com hosted blogs have Java disabled by the hosting provider, and will not run the Google Analytics code.

    Many people move their blog to a private hosting company that does not have this restriction.

    -Tracy

    Reply

    Jan Moran January 4, 2013 at 12:08 am

    Thanks Tracy and Joel! Sure appreciate the assistance :)

    Reply

    Daniel December 22, 2012 at 12:05 pm

    Upon copying and pasting the entire & exact tracking code into the text widget on my sidebar widget area, I am finding that the browser is rendering the java script, so that it appears as visible text on the webpage.

    Do you have any ideas what might be causing this?

    Reply

    Tracy R. Atkins December 22, 2012 at 2:11 pm

    If it is rendering the whole code, including the and tags, then the hosting provider likely has java disabled.

    Reply

    Bhuvnesh Gupta November 1, 2012 at 3:28 am

    Sir , I follow your steps to add google analytic code to my blog but when I see my blog it shows code on the sidebar Please help.

    Reply

    Tracy R. Atkins November 1, 2012 at 5:36 am

    Bhuvnesh,

    Sites hosted by Wordpress.com have Java Disabled and will not be able to run the Analytics Code. Sorry for the confusion.

    Reply

    Ishara Silva October 31, 2012 at 10:33 pm

    Hi,
    I am using GA for almost 4 years now. But I am new to Wordpress. Recently
    I got a opportunity to optimize a wordpress website.

    I installed GA and getting the results successfully . Now I need to track some events. But I am unable to track the events since I don’t know how to track the events in Wordpress.

    I highly appreciate if you can help me to track the events tracking and Virtual Page views.

    Thank you,
    Ishara

    Reply

    Tracy R. Atkins November 1, 2012 at 6:25 am
    Ishara Silva November 1, 2012 at 7:43 am

    Hi,
    Thanks for your response .

    I have used Event tracking and Virtual page views for lot of web sites and I have even used recently for a mobile app (www.elephanti.com) using GA SDK . All of them are successfully working .

    I want to know , where to edit in Wordpress. I pasted the cording in the footer.php file and now I am getting information.

    My problem is where to put the event tracking cording. I want to track few outbound links.

    Thanks,
    Ishara

    Reply

    Tracy R. Atkins November 1, 2012 at 7:55 am

    Ah! Ok, i got ya.

    On the wordpress side you will have some limitations. (There may be custom themes that will give you added tracking functionality)

    Generally speaking, you can edit the HTML for Posts and Page links through the built in Wordpress editor. There is an HTML Tab at the top of editor window that will show you the code and you can make modifications for HTML Based URLs.

    For the rest of the framework, you can try modifying the various PHP modules using the Appearance/Editor functions. I suggest searching out some added info through some of the wordpress boards. I am not super familiar with running Event tracking.

    Reply

    terri may September 16, 2012 at 4:38 pm

    I have several journals–compiled for many years. I am most interested in Science Fiction;based upon factual events;my vivid imagination;life after death;near death experiences and love for all human beings. Please advise me as to how I can get started writing a book based upon the above mentioned interests. Thank you

    Reply

    Tofu September 11, 2012 at 10:41 am

    Thanks for the great tutorial.

    I followed the instructions but unfortunately still get the code showing in the footer of the page. Leaving the title box blank doesn’t seem to enable it to be made invisible.

    Reply

    Tracy R. Atkins September 11, 2012 at 11:31 am

    Hello Tofu,

    If you like, give me an email and i will be happy to try to help you figure it out.

    Tracy (at) tracyratkins.com

    Reply

    Steven O'Connor August 31, 2012 at 10:34 pm

    Hi Tracy, Joel …

    Thanks for this post. I hope I’m not too late to drop in with a cry for help? I’ve been trying to organise google analytics for my website for a long time and have never managed it. I’m a complete and utter novice at all this, but I followed your instructions impeccably, Tracy, and alas, still no luck. Unfortunately, when I go back to google analytics, it still says it can’t detect my website.

    I note Chris’s comments above about not having free hosting, and I agree it does look amateur to have Wordpress in your URL, so I paid Wordpress from the outset so I had my own website and blog. But do I still have the wrong kind of wordpress site? How many are there! Do I still need to upgrade to something else?

    If you’ve got some not-too-technical advice (for us older writers) on what I could do, I’d really appreciate it.

    (I had a similar problem the other day when I went with AWeber for an email list, at indie writer Joanna Penn’s recommendation, but I semi-solved that by placing a link on my home page.)

    Reply

    Tracy R. Atkins September 1, 2012 at 6:24 am

    Steven,

    Wordpress’ non-pay hosting does prevent java from running, stopping Google Analytics cold. I am not positive, but if you bought their “domain name” service ($13 annually), the site is still hosted along with the free accounts. Your domain name aliases to your site, instead of the default at .wordpress.com.

    If that is the case, you may have to use a non-script based analytics package, or Wordpress’s default one (http://en.support.wordpress.com/stats/), or change hosting providers.

    I am more than happy to help you sort it all out. Feel free to give me an email and I will help you as best I can.

    -Tracy
    Tracy (at) tracyratkins.com

    Reply

    James August 24, 2012 at 8:15 pm

    Yes, this is one (somewhat outdated) way to hook into Google Analytics from your WordPress blog–but there are many other ways (and tools), including simply a point and click install of a WordPress plugin.

    For writers who are seriously interested in analytics, there are better tools like Clicky, for example. I’ve used it–it blows Google away for ease of use and usefulness.

    For readers looking for help and advice about any aspect of their WordPress blog, I highly recommend the WordPress Codes: codex.wordpress.org. Much of what the writer wrote is covered there, and you’ll find lots of information about plugins and customizing your blog, step-by-step lessons for beginners–everything. It’s where the real power of the WordPress community shines through–and it’s free. No sales pitches, nothing.

    Reply

    Tracy R. Atkins August 25, 2012 at 6:13 am

    Thanks James, I couldn’t agree more. The Wordpress Codex is a great place to get helpful Wordpress information and tips.

    Reply

    Tracy R. Atkins August 24, 2012 at 2:01 pm

    Here is a neat bonus tip. Did you know that you could pinpoint your visitor’s location down to the town they reside in (where they accessed the internet from)? In Google Analytics, choose the “Audience” menu on the left. Then drop down “Demographics” and select “Location”.

    You will be presented with a clickable map that shows the location of visitors by country, with green coloration showing the volume of traffic from that nation. You can drill down the detail by clicking on the country. Then each individual state can be selected by clicking on it to show the general areas where the visitor web traffic originates.

    This works well as a gauge of effectiveness if you are targeting a physical location for advertisement. If you are holding a book signing, check the analytics for the area around the signing to gauge its effectiveness after the event. This also works well if you are placing your book in independent book stores. You can see if your audience is interested in learning more about you, if the traffic picks up from the cities where you have your books on the shelf for display.

    Have you sent a review copy out to someone important in a small or obscure town? Seeing if traffic has originated from that location could shed light on if they have checked your site out. However, it is advisable to take all traffic statistics with a grain of salt and never jump to conclusions. People are mobile today and may access your website or blog from an unexpected location. Further, with proxies and ISPs that channel traffic elsewhere, you may not always get an accurate location. But, it is a fun and sometimes useful tool for tracking traffic under the right circumstances.

    With that said… Who lives in Billings Montana? *Joking*

    Reply

    Ilana Waters August 24, 2012 at 10:32 am

    Was having some work done on my website recently, and my “tech” person wanted to take Google Analytics off. I was like, “Are you crazy?! I use that every DAY!” Great article here–this is definitely a key application that every blogger needs.

    Reply

    Tracy R. Atkins August 24, 2012 at 10:50 am

    Ilana,

    Thanks! I would have had kittens if someone wanted to take off my Analytics data. It really is that important.

    It seems that there are a few misconceptions out there about what Analytics is and how to use it. I’ve known of people who mistakenly thought it was for Google’s advantage only. Although you can choose to share your data with Google, the available information is just too critical.

    I have gotten in the habit of checking it daily as well. There are options available to have a daily or weekly report of some of the KPIs sent to your inbox as well. You can use the “Email” Option to schedule reports come to your inbox. You can choose CSV (Comma separated values) to get the report in Excel ready format (TSV, Tab Separated also works). You may also have the report sent to you via PDF. There are many great options to get daily statistics.

    Reply

    R. E. Hunter August 24, 2012 at 8:46 am

    I could be mistaken, but I believe this only works if you have a self-hosted WordPress blog. The wordpress.com hosted blogs aren’t allowed to use custom Javascript (for security purposes).

    Reply

    Tracy R. Atkins August 24, 2012 at 8:55 am

    That is correct. Wordpress hosted sites will typically use Site Stats, part of “JetPack” as their primary analytics tool. Wordpress pushes for users to include “JetPack” analytics, as it is the Wordpress sanctioned and developed tool kit. I can understand their desire to limit 3rd party programmability for security, but it seriously limits the feature set that users can use.

    I highly recommend using stand alone hosting for your Wordpress blog.

    Reply

    chris August 24, 2012 at 9:56 am

    Adding to Tracy’s comments…if you are serious about your book and marketing, you need your own domain site and your own host. You can get annual web hosting plus annual domain name registration for less than $100 a year.

    Honestly, if I see a link to a web site like “yourname.wordpress.com” or some other “free” web hosting site, it says to me the person isn’t serious about their work. Right or work, that’s how I perceive it.

    Also, you will always have limitations with free hosting such as you see here.

    Reply

    Tracy R. Atkins August 24, 2012 at 10:59 am

    Another great point Chris.
    Hosting is VERY affordable and there are many vendors out there that offer Wordpress hosting packages for less than $10 per month. For example, GoDaddy is offering an economy plan for less than $6 per month. With it, you can get your own domain name ($13 per year) and they have a 1-button Wordpress application installer. Just press the button, fill out the user name and password you want to use, and it does the rest. It is that little trouble. Other providers are offering similar services for similar prices. Anyone can do it.

    If you have multiple book projects, you should get domains for each one that you want to promote. You can easily have those domains forwarded to your blog with most hosting providers. It adds another layer of professionalism to your public image. That is critical, getting that small bit of perception that you are professional enough to at least have your own domain. It adds that smallest bit of credibility and makes your website’s address a little bit easier to remember in the reader’s mind.

    Expectations are attached to domain names, choose them wisely.

    Reply

    chris August 24, 2012 at 11:10 am

    I would never use Godaddy for hosting. Domain names is one thing. Regarding hosting, well, that’s another topic entirely. What’s that flying out the window? Oh, that’s server reliability. I find HostGator the best but there are a number of good hosts available. Most also offer the 1-click install of nearly any software.

    Back to gAnalytics….

    A warning to everyone – don’t focus on your stats every day. Check them out once a week or a day after you launch something like a product or web post.

    Use the numbers to show you where your visitors are coming from, where they are landing, and where they are leaving. Aw, now you got me thinking about a whole article on funneling traffic….

    Joel Friedlander August 24, 2012 at 11:09 am

    Good point, Chris. Another problem with “free” hosting sites is the possibility of losing your blog due to violating (or appearing to violate) their “terms of service.” I know someone who lost an entire blog and archives (luckily, she had a back up!) when the site was pulled by the host. This is also why Brian Clark at Copyblogger refers to people who use these sites as “digital sharecroppers” because you don’t own the property you are building your blog on. It now costs less than $100 to register a domain name and pay for a year of hosting.

    Reply

    Tracy R. Atkins August 24, 2012 at 11:42 am

    That is one terrifying prospect Joel.

    I remember people built empires on “Geocities” back in the mid 90’s. (For those not familiar, Geocities was a free hosting site, kind of precursor to Blogger/MySpace where everyone had some space to create their own HTML website.) There were even books on it, and people had businesses attached to it. It went down fairly rapidly, over a few months, if memory serves, and many people lost a lot of content. You didn’t have ownership and that was the price you paid for a free service. Heck, I can’t imagine what would happen if Google dropped Gmail, there would be a lot of people weeping.

    Hosting companies can also go under, but there is a lot more ownership and capability by hosting yourself. But no matter what, always backup your site and databases.I am in the double-redundant backup crowd myself, with a NAS at home, plus using a Cloud for important stuff. I just can’t stress that enough.

    Jessica Feliciano October 1, 2013 at 8:29 am

    I’m scared to use a stand alone hosting though because I’m scared I’ll lose all of my google traffic. I’ve been wanting to use plugins like CrazyEgg and the like but I don’t know how to redirect Google crawl bots to a new URL. Hosted wordpress is so limited. :/

    Reply

    chris August 24, 2012 at 8:22 am

    You can use google to work backwards to find readers.

    1. Go to Traffic Sources -> Sources -> Referrals.
    2. Look at the column “Avg Visit Duration.”
    3. Identify the traffic source with the most visits AND the highest avg visit duration.

    Using this information, you’ve identified a web site that’s got the traffic you want. Go to their web site and see how you can participant; forums, guest articles, etc. They have your target audience, now it’s up to you to engage with them to draw in even more.

    Reply

    Tracy R. Atkins August 24, 2012 at 9:19 am

    Chris,

    That is an important reporting tool for authors. You can find those websites and blogs that have some mention of you and are actively sending interested people your way. Just as you said, getting that extra engagement is critical.

    Another useful item is to add the column to see what part of your site they are visiting. In that same referrals section, you can add a “Secondary Dimension” for “Landing Page”. Here you can see where those inbound visitors are landing initially, when visiting your blog from the source site link.

    A second, related tip, you can go to Google news (news.google.com) and run a search for your book or author name. Here you can see if you are being mentioned in any major media outlets. You can easily set an email alert to be mailed to you daily or weekly to let you know. The link to add the alert is at the bottom of the news page, titled “Create an email alert for xxxxxx”.

    Reply

    Tracy R. Atkins August 24, 2012 at 7:55 am

    Good morning folks,

    If anyone has any Google Analytics or Wordpress related questions, please feel free to post them here, and I will be happy to address them. Analytics is an awesome tool. The ability to see where your visitors are coming from geographically, what pages they are visiting on your blog, and what websites they used to find you, are great for authors.

    Thanks,
    Tracy R. Atkins

    Reply

    Dominic Fair February 9, 2013 at 11:16 pm

    Good day,

    I read your article and found it very informative. I followed all of your instructions but the only thing that didn’t work for me was the pasted script. It does not remain invisible on the main site.

    How do I fix this?

    Best regards,

    Dominic Fair

    Reply

    Richard Wear April 16, 2013 at 1:53 am

    Hi Tracy,

    I cannot seem to access the “appearance” tab on wordpress – is this to do with my admin restrictions?

    Thanks

    Reply

    Jane July 2, 2013 at 2:42 pm

    I’ve copied/pasted the script but after saving it, the Wordpress text converts it to a code without before and after, and it’s not taking. Thanks!

    Reply

    sandy shepard August 24, 2012 at 7:54 am

    This is so true….great article on how to implement. My seo guy did mine but this is a critical part of marketing imho.

    Reply

    Tracy R. Atkins August 24, 2012 at 8:01 am

    Thank you Sandy.

    I am curious which Analytics reports you find most valuable. If you have a moment, please share how you use it, as it may be a benefit to others.

    Thanks,
    Tracy R. Atkins

    Reply

    Deian April 1, 2014 at 11:27 am

    I have tried to embed coding and have followed your instructions and created a textbox widget with no subject and embedding the code but the coding is still there. Am I doing something wrong?
    Thank you,
    Deian

    Reply

    Tracy Atkins April 2, 2014 at 5:49 am

    Hello Deian,

    Are you hosted by Wordpress.com? They, and a few, Wordpress hosts disable JavaScript and that will prevent the code from being applied.

    There may be some plugins that might assist you with adding the code though, so it might be worth searching one out.

    Thanks.

    Reply

    Leave a Comment


    four + = 12

    { 5 trackbacks }