David Vallejo - Web Analyst

UDO Debugger - Easiest way to work and QA Tealium implementations

Some years ago, I published my "Tealium Debugger" extension for Chrome which after a nice email my Inbox got, ended being named "UDO Debugger" ( no hard feelings at all ). You may click no the next CTA if you want to install the extension in your browser =) That version published circa Apr 2017, was just showing up the current app state on the page loads, the current account, profile, and environment details. There was no support for anything else.…


Google Tag Manager Custom Template to grab the current Root domain Name

It happened to me a lot of times that while working with cookies that for whatever the reason I didn't remembered to add the domain name to the settings, or that I was not able to properly define the root domain. If you ever have had the need to set a cookie to the main root domain for your current domain, to make a cookie available for all the place, that depending on your current domain it may not be just enough to split the current hostname, because…


#proTip - Proactively Cookies Auditing with Google Tag Manager and Google Analytics

Since GDPR was announced and more even with the rise of Safari's ITP and the other upcoming protection feature by the other major browsers, the concers about users privacy was grown which is really nice. But despite browsers taking some actions to prevent the abuses, it's difficult to follow up the current cookies being used in our sites because we may end finding new ones that has been added by the developers, or some new pixel added by someone…


Setting GA Cookies Server Side with PHP - ITP Workaround

Yeah, I know, this has been done before by others, but since I had this piece of code around, I decided to publish it. It's not going to be usual, method since we'll be relying on sending a duplicate hit to our tracking subdomain. That way we'll be able to have our stuff tracked server-side in a secondary dimension while those hits will take care of setting the cookie expiring time on the main. isn't it cool? What we'll need A subdomain for our domain,…


#tip - Grabbing current dataLayer variable name within GTM

This is going to be a quick #tip post. and it's coming from a post on Measure Slack. Let's learn how to grab the current dataLayer variable name within GTM. We'll need to create a variable with the following code: function() { return Object.values(window.google_tag_manager).find(function(e) { if (e.dataLayer) return true; }).dataLayer.name; } Now our variable should hold the dataLayer name :)


Send APP+WEB Hits to any remote endpoint

Google released APP+WEB Properties some weeks ago now, and one of the most missed features looking back to Universal Analytics, is the chance to work with a customTask ( Hi Simo!!! ). In this post I'll cover how to send a copy of the hits to anywhere we want, in case we want to hold a copy of them, or processing them in some other place (like snowplow) First, we need to take in mind that APP+WEB hits, may contain +1 hits into their payload, therefore…


Release: Client-Side dataLayer validation Library

If you're a web analyst, you SHOULD be worried about data quality, we want to have data, but we need this data to be correct, there's no point of having tons of corrupted data that we won't be able to sue and for this we need to monitor our implementations regularly to be sure our data is always being reported properly. Since We all are web analyst I'm pretty sure we are relying a flawless dataLayer ( are we? :) ). But I'm sure that at least once…


Technical Guide to Global Site Tag ( gtag.js )

Global Site Tag was introduced by Google back in October 2017. As the name suggests it was launched in order to unify all the different tracking libraries that we can use for Google Products, Adwords, Google Analytics, DoubleClick, etc. In my opinion the launch of APP+WEB Properties has set an inflexion point about the gtag.js use, since it's now when it is really coming into the scene, and it's just for a simple reason: before APP+WEB it was just…


Technical overview of new APP+WEB Properties

Some days ago, Google announced a new upcoming property type for Google Analytics, they called them "APP + WEB". And yes, the name says it all, finally we're going to be able to measure our apps and websites at the same time. This has been for years one of the biggest handicaps of Google Analytics, and not only that, when Firebase came into the scene, we had ended having two platforms to measure apps, double the SDK's and despite having all this…