Save 10% on our Pro WordPress plugins with discount code: 10PERCENT
Web Dev + WordPress + Security

Google Analytics Invitation

[ Google Analytics ] Earlier this year, we decided to implement the much-hyped, visitor-tracking and website optimization tool called Google Analytics. Google’s free data analytics service offers enterprise-level statistics capabilities and provides “high-end web analytics” and works with or without Google AdWords. Sounds great, however the service currently is available through invitation or “approved” signup. Skeptical that we would ever hear anything, we decided to submit a request anyway.

Getting started

Several months later, after having completely forgotten about signing up for GA (Google Analytics), we received our official GA invitation and immediately began the registration process. The invitation included a “secret code” and required us to create a free Google account, which enables access to a variety of Google services, such as “Analytics, AdWords, Google Groups and [a] personalized Google home page.” After verification of the account email, we were ready to register for GA.

GA registration involves entering your secret password some personal information. I hope they were not looking for any authentic personal data. After floating the password, you’re in the business. The final steps include dropping the following lines of JavaScript into any pages that need analyzing:

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

The JavaScript code should be placed near the end of the document source code, preferably just before the <body> tag. Once the script is in place and online, login to your GA account and activate the target page(s) via the “validate tracking” tool. Once this happens, Google Analytics begins tracking, analyzing, and reporting visitor activity at your website. Nice. There are now a plethora of high-end statistics tools and resources at your command.

Going further

After successfully setting up GA for Perishable Press, we immediately requested an invite for Monzilla Media. Apparently, it is only a matter of time.

Related articles

Jeff Starr
About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
GA Pro: Add Google Analytics to WordPress like a pro.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
WP Themes In Depth: Build and sell awesome WordPress themes.
Thoughts
Working on a new book :)
LinkedIn decided to replace my highly rated video course on WP security. For a limited time the course is still available to *logged-in* users via direct URL.
I enjoy listening to original Star Trek and NG episodes while working online. After a while it feels like I’m working on the ship as part of the crew, going on adventures.
New version (2.6) of my shapeSpace starter theme now available! Always free & open source for everyone :)
Finished updating all of my books! As always, book owners can download the latest versions for FREE :)
W3C.org has a very thorough list of accessibility tools.
The more you wake up, the more you realize you are still asleep.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.