Don't Put Google Analytics At The Top

A new tracking code from Google Analytics was released recently. GA is a free web traffic reporting tool that let's you track how many users are viewing your website. The new code snippet uses an asynchronous process, meaning your site would load up without having to wait for the tracking code to finish executing. This results in faster loading times, and you don't have to worry about an outage from Google Analytics dragging down your site. It's a good upgrade. Because the tracking code is now asynchronous, they recommend that you place it at the top of your pages instead of the bottom for more accurate results. I recommend that you keep it at the bottom for SEO reasons. The code snippet isn't huge, but placing it at the top would mean that Google and other search engines would have more code to parse through before reaching the actual content of your site, resulting in lower relevancy and ranking. In summary, install the new code, but keep it at the bottom of your pages.

SENH'S LATEST BLOG ENTRIES
  • "Storm The Gates" Mobile Game
    My friends just launched a mobile game called "Storm the Gates"! It's available on both Android and iOS. I'm not much of a gamer, so I didn't know what to do when I started it. But my 9-year-old son turned it on and knew exactly what to do. More
  • "Ip Man 3" Has New Release Date in China and Posters to Prove It
    Over at MoviesWithButter.com, I’ve written two articles regarding “Ip Man 3,” the film that’s holding its own in Asian territories against “Star Wars: The Force Awakens.” If you’re not familiar with Asian cinema,”Ip Man” one of the most popular franchises in that area of the world. More
  • Live-Blogged The Golden Globes at MWB
    Yesterday, I live-blogged The Golden Globes -- for various reasons. First, it gets traffic. Second, I might as well do something useful while watching TV. Lastly, I was looking forward to seeing Ricky Gervais host the event again. Nothing against Tina Fey and Amy Poehler, but he’s my favorite. A google search revealed that the last time I did this for this award show was More
  • Kings vs. Mavs: Ominous Stats, News for Sacramento Before Game
    The preview on NBA.com and the injury report from SactownRoyalty.com don’t look good for the Sacramento Kings going into tonight’s game against the playoff-bound Dallas Mavericks. More
  • What?! Kings Beat Thunder, 116-104
    (Image from the Sacramento Bee. Click here to view more images from the game.) What a win. It was a wild one, especially in the first half. We [Sacramento Kings] were down by 17 in the first quarter. In frustration, I was about to turn off the TV, but the teaml called a timeout. More
SENH'S RELATED BLOG ENTRIES
  • Drive-by Traffic, They Say It Like It's a Bad Thing
    Rupert Murdoch, and a couple of his fellow newspaper-owners, say that traffic coming from search engines and aggregation sites are worthless. They call it "drive-by traffic." These users only come, read one article and then leave. For an industry profusely bleeding users and revenue, you would think they wouldn't be so discriminatory when it comes to users consuming their content. More
  • Sorry, I Don't Have Time to Work on Your SEO: Backlink Removal
    Ever since Google released its Penguin update last year, which penalizes sites for being linked to by low quality sites, I’ve been getting a regular stream of link removal requests. (Yeah, I know this implies that my site is low quality, but I’ll let that go.) More
  • Google News Inclusion
    Because Binh, Popcorn, and I had been blogging for months for Movies With Butter (a.k.a. MWB), we decided to apply for inclusion in Google News. I tried applying for Wopular, but I didn’t make the cut because they don’t accept one man shops. More
  • How Is Google's Freshness Algorithm Affecting Wopular
    Last Thursday, Google launched another algorithm change to their search engine that rewards “fresher” content. For example, if you’re searching for a current event, the latest news articles would pop up to the top of the page. 35% of the search results are affected. More
  • Pages Not Indexed by Google Because of Autofresh
    About a year ago, I decided to add an autorefresh to pages that contain feeds so that content would always stay fresh. I set it to autofresh every 3 minutes. I could have been done this via ajax, but my ajax kung fu wasn’t good enough then (or now). More

 

Comment On This Story