Save 15% on our Pro WordPress plugins with discount code: LAUNCH2021
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 = Creative thinker. Passionate about free and open Web.
USP Pro: Unlimited front-end forms for user-submitted posts and more.
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
WP 5.8 Gutenberg/Block Widgets is breaking many sites. Fortunately Disable Gutenberg makes it easy to restore Classic Widgets with a click.
Easily the most common exploit scan for WordPress is /{path}/wp-login.php.
Pushing 110+ ℉ for several days now, expected for at least another week or so.
After 12 intense weeks the Plugin Planet redesign is now live. Much work still happening behind the scenes.
June, July, August historically are slow months on the Web. Perfect time to get some real work done (think projects).
Redesigning Plugin Planet is one the most challenging things I’ve done online. Almost there, about another two weeks ’til launch.
I could listen to Mouse Rat all day.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.