Profile cover photo
Profile photo
Eric Erlebacher
Analytics Fanatic, Web Enthusiast, Technovangelist
Analytics Fanatic, Web Enthusiast, Technovangelist


Really weird one here - about 10 weeks ago I added a block rule to prevent our UA pageview tag from firing in an iframe on a login page. Last Wednesday, seemingly out of nowhere, I started seeing pageviews firing from that location again. I checked the history and the rules - nothing had been changed. The only external factor I can think of as being related was that something caused our site to go into disaster recovery that same day.

My question is this: is it impossible (or rather, shouldn't it be impossible) for GTM to use rules or accidentally revert to older container versions? Universal Analytics was never hard-coded, it was always fired via GTM. I don't see any hard-code on the page. I even used a proxy tool (Charles), and I don't see any calls being made to Nonetheless, I'm seeing hundreds of pageviews for this page which should be getting blocked! Anyone have any ideas?

Is it possible to retrieve the search term / keyword as a macro value with only autotagging (no UTMs)?

Is anyone else having issues with the plot rows button? I use it pretty regularly, but now it's greyed-out on most of the common reports on which I had used it.

When I added the following line to my tracker: 'siteSpeedSampleRate':10, the ga:pageLoadSample metric actually decreased by about 66%.
I understand that the default Site Speed Sampling Rate is set to 1%. We get a lot of traffic, but I wanted to get a better idea of what's going on with the edge cases & outliers.
Is this happening because of the limit of 1% or 10k hits, whichever comes first? I don't see how it's possible if the default is sampled at 1%, how I can get even fewer hits by trying to increase the sampling rate.


I was wondering if there was a way - using macros - to automatically use the more verbose analytics_debug.js script if GTM is also in debug mode. I've set a Debug Mode macro (called, "Debug Mode), and a debug-mode macros in a lookup table.

The first is for the macro is called {{Debug Mode Script}}. If Debug Mode = true, {{Debug Mode Script}} = true, {{Debug Mode Script}} = _debug. Otherwise, it's blank.

I was hoping to implement that when the script was being called, like so:

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
})(window,document,'script','//{{Debug Mode Script}}.js','ga');

But it's not working. Is something like this even possible? If it is, I'd also like to add the line for "window.ga_debug = {trace: true};" at the top of the snippet

I have one GTM snippet, and a page (site A), with a form on it (from Site B). Both Site A & B have the same GTM snippet. Is it not possible to get cross-domain tracking for this and subsequent pages? Does anyone have recommendations as to how and prevent this page from inflating pageviews? Maybe I should suppress the GTM snippet on site A, since site B is where the form exists?


Post has shared content
Google Responds To Mass Negative SEO Extortion Emails - #NegativeSEO

I'm trying to audit a site with multiple different GTM containers. I was trying to use the =importxml function in Google Spreadsheets (or another xpath tool I use), but I couldn't seem to be able to check the src attribute to get the GTM-ID I needed for this audit. 

Does anyone have any advice on how to find which container IDs are on a list of pages, in bulk?


Post has attachment
If you're running multiple Universal Trackers, to prevent overwriting data, should I use a named function, or a named tracker object?

Post has shared content
Faster sites = happier users = more conversions.

Great research from +Ian Lurie over at +Portent linked below sharing how poorly performing sites hurt revenue. Making your site fast improves user experience greatly and typically leads to higher conversions. Learn how to make your site perform better via our toolkit & tips here:
Wait while more posts are being loaded