Tracking AMP pages with Google Analytics and Tag Manager

AMP - Accelerated Mobile Pages - Google Analytics

So you took a leap of faith and adapted your site to support the AMP (Accelerated Mobile Pages) format? This can be quite the constraint at first but it pays off in the longer term because it will make your content both more accessible on mobile devices and more visible in Google search results.

Having said that, there are other considerations besides making your content compliant with a streamlined mobile user experience. For instance, AMP does not support JavaScript by default. If your initial reaction was “Eeek, my tags won’t work!”, you were absolutely right. And yes, that includes Google Analytics and other tags.

In this post, I will cover how to setup Google Analytics tracking on AMP pages with Google Tag manager.

Continue reading “Tracking AMP pages with Google Analytics and Tag Manager”

Revisiting the bounce rate

Bounce rate for Firefox

Every month, I get quite a few questions about the bounce rate, a metric that is supposed to provide insights into visitor engagement.

How much time did users really spend on a given page?

Did they find what they were looking for?

Why the heck do they leave my site right away instead of browsing more pages?

How can my bounce rate help me make sense of this?

Should I consider that a “bounce” occurs after 10, 15 or 30 seconds? This post is an attempt at demystifying a common metric that is still used and abused. I will cover how to define and calculate the bounce rate, how to analyze it and how to use it to improve your digital marketing campaigns.

Continue reading “Revisiting the bounce rate”

How can I handle Google Analytics referrer spam?

google analytics logo 2016 julien coquetSo I recently got dragged into multiple discussions about Google Analytics referrer spam and ways to effectively block it so that report data is clean and that channel attribution makes sense. In this (long) post, I’d like to share a method I’ve put together to exclude Google Analytics referrer spam, which requires enlisting the help of Google Tag Manager. Continue reading “How can I handle Google Analytics referrer spam?”

Google Analytics property ID management with Google Tag Manager

If, like me, you handle enterprise customers with a significant number of websites (we’re talking hundreds, if not thousands), one of your worst nightmares is Google Analytics property ID Management.

In this post, I’ll share with you one method I use to manage the Google Analytics property ID lists in Google Tag Manager, using an adaptable lookup table system.

[EDIT: 18 May, 2016 – code supports regular expressions]

Continue reading “Google Analytics property ID management with Google Tag Manager”

Measuring the impact of adblocking with Google Analytics and GTM

adblock extension for Google Chrome and FirefoxLately, there has been a lot of talk about adblocking and its impact on digital marketing campaigns. Most digital pundits will blame adblocking for everything that is wrong with online ad campaigns – very often with no idea of what they’re talking about. In this post, I describe a method to measure said impact without having to rely on preconceived ideas or resort to guesstimates. Of course, this is done with Google Analytics and Google Tag Manager, which, ironically, are also the target of adblocking plugins – but we’ll get into that later.

Interested? See you after the jump!

Continue reading “Measuring the impact of adblocking with Google Analytics and GTM”

Creative uses of Google Tag Manager: site hacking/ripping

In my series on creative uses of Google Tag Manager and Analytics, here is a specific use case I thought i’d share with you.

I recently saw my blog content got ripped and reposted on another website, laced with porn content. Here is how I fought back with the help of Google Tag Manager.

Continue reading “Creative uses of Google Tag Manager: site hacking/ripping”

Google Tag Manager Data Layer for WordPress

[UPDATE] Google Tag Manager Data Layer for WordPress is now available on GitHub

[UPDATE] You guys are too lazy and prefer Duracell Tomi’s plugin 🙂

This year again, I was invited to talk at Superweek, the premier Analytics/PPC conference in Eastern Europe.
I talked about tag management best practices and mentioned my Google Tag Manager data layer for WordPress implementation. In this post, I am sharing my setup with you.

Ready? Let’s modify your theme!

Continue reading “Google Tag Manager Data Layer for WordPress”

Tag management is not a miracle cure

Had lots of fun this year at Superweek giving presentations, sitting on a panel and dispensing a training.

The presentation slides on “Tag Management is not a miracle cure” are available on SlideShare or embedded below.
If you would like to receive a PDF copy of the slides or to book me as an analytics speaker for a conference, please use my contact form and I will make sure to assist you.

More Raspberry Pi and Google Universal Analytics goodness

Hi folks, get ready for more Raspberry Pi and Google Universal Analytics goodness 🙂

As you’ll see, I had a little spare time on my hands, so I shot a screencast on how to capture system events such as boot, reboot and shutdown sequences in Google Universal Analytics (UA). This can be useful when using UA for performance monitoring.

Because you’ve read my other posts on the subject of Google Universal Analytics and Raspberry Pi credit-card-sized computers and because I love the little thingies, here is more, but this times it’s more hands-on.

The video is available here or after the jump.

Continue reading “More Raspberry Pi and Google Universal Analytics goodness”

Tracking your dog with GPS and Google Universal Analytics

After posting on Google+ about my blog post on the measurement of offline stores with Google Universal Analytics, I got a dare by user Damion Brown from Melbourne, Australia, to track what his dog was doing using a similar method.

Damion: I’m sorry, mate. I’m afraid I have bad news and good news.

  • The bad news is: I don’t own a dog so I’m not sure as to what I’d want to track.
  • The good news is: I can give you pointers on how to do it. I have done enough tinkering in the last 2 weeks so I’ll let by blog readers do it this time around. You guys get to test (and prove) the concept yourself!

In this experiment, you will attempt the following: track your dog’s location (in 5 minute increments), in relationship to your house, with Google Universal Analytics.

I have a few ideas about that and I’ll be sharing them after the jump.

Continue reading “Tracking your dog with GPS and Google Universal Analytics”