Disabling Google Analyticator logging for non-Administrators

Posted by Robert Merrill on June 30, 2009 under Tech Tips | 3 Comments to Read

I use Google Analytics. I don’t get a lot of traffic, so I like to exclude my own visits to my site from the reports. I use the Google Analyticator plug-in. Its Settings allow you to exclude traffic from the wp-admin pages, and also exclude all traffic from anyone logged in as an Administrator.

But I don’t routinely blog and moderate as an Administrator; I use an account with Editor privileges (my security sensibilities showing through I guess). Before moving to WordPress, I had a special page that set a cookie, and a Google Analytics filter to ignore that traffic. I didn’t want to keep using that mechanism, because I don’t like to spread responsibilities around in software if I can help it. Analyticator looks like it wants to handle traffic filtering, so I don’t want to fight it.

Fortunately, as an Administrator you can manage the Settings for each Plug-In. Analyticator’s has a form field that lets you set the “user level” at which Analyticator disables Google Analytics. The default cutoff level is 8, and it also tells you that as an Administrator, you are a 10. This wasn’t as helpful as it first seemed, because as an Editor, I couldn’t see the Analyticator Settings to see my current level, so I couldn’t determine the new cut-off value to set.

But a quick look in the WordPress Codex taught me about Roles, Capabilities, and associated levels (levels being a legacy mechanism).

So, to exclude yourself (and everyone else in a given WordPress role) from your Google Analytics, log in as an Administrator and,

To Exclude Traffic from Set Analyticator Cutoff Level To
Administrator 8 or more
Editor and above 3 or more
Author and above 2 or more
Contributor and above 1 or more

Save your settings and log out. Then log in as your usual blogger/moderator user and tell WordPress to remember you.

Your visits to your own site will no longer inflate your Google Analytics reports.

If you delete all your cookies, you’ll need to log back in as your blogger/moderator user or Analyticator will think you’re an anonymous guest and log your traffic again.

Now running WordPress 2.8

Posted by admin on June 27, 2009 under Uncategorized | 2 Comments to Read

Pretty painless, really. Total effort, including downloading and backing up the old production files and database, was about 3 h.

One “gotcha,” though. Even though I hadn’t changed anything about my permalinks, I still had to go into admin > Settings > Permalinks and re-save my permalink definition to get them to work. Otherwise there were 404s all over the place. The right radio button was already checked; I just needed to do a Save Settings again.

Agile Isn’t Enough

Posted by Robert Merrill on June 20, 2009 under Agile Methods, Software-Intensive Businesses | Be the First to Comment

From the CUES Skybox, I read,

In 2009, marketing and technology are inseparable; however, within today’s credit union org chart, marketing and technology are completely separate.

This isn’t just true of credit unions, and it isn’t just true of marketing. In today’s increasingly software-intensive businesses in many industries, business and technology are inseparable. But the org chart seldom reflects it yet. Read more of this article »