David Vallejo - Web Analyst

Tracking the browser orientation status and changes

Last day we were talking about how to measure if our site was showing a responsive layout to our users, and today we're going to expand that tracking post with orientation tracking for our sites. We could use the Media Queries to match the orientation, but as this is not much standard we're going to use the window.orientation value and the viewPort Width and Height values to guess the current page orientation and pass that info to Google Analytics and…


Tracking a responsive site and the media queries changes

Every day more sites choose to use a responsive designs for their new sites, making it somekind difficult to track what version of our page is being showed to the user (as all we may now, browser detection is not perfect at all, most of them are based on the User Agent that can be easily faked). This post will try to show you the different ways to track if user's are viewing a responsive layout or not, and using the Google Analytics Event Tracking…


Tracking fragments based navigation websites with GTM the right way

We're going to learn how to track those websites where the navigation is based on Ajax, ie: no pages reloads with Google Tag Manager.  As you may know a full page reload is needed in order to have Google Analytics tracking your pageviews, but those sites like the ones based on AngularJS are not reloading the page just the current page content, so this new pages won't be tracked by our Analytics tools, or even catched by our conversion pixels.…


Google using ISPs to cache Google Analytics endpoint

I don't really know if this is happening users using different ISP's but starting from today I've noticed that all my requests to www.google-analytics.com were being served from a not usual but familiar IP address range, and the response time was just 9ms. Hey just a great improvement from the 42ms of average I'm usually getting from Google Analytics servers. [email protected]:~$ ping www.google-analytics.com PING www-google-analytics.l.google.com (212.142.160.238)…


Keeping your Google Analytics clientId value as long as possible

If you are an analyst you may be concerned about your analytic tool (specifically talking about Google Analytics on this post) cookies tool integrity and about keeping that cookies as long as you can. Today I was working on a little audit for a client that was experimenting some cookies deletion problem on their intranet. They have, let say, 100 employees and they were seeing ~300 users on Google Analytics for one month, ~550 users when looking for…


Google Analytics added sendBeacon functionality to Universal Analytics JavaScript API

New  day and another not publicly published functionality (not that I was aware of) has been added by Google to Universal Analytics JavaScript API. Till now, for example if we wanted to track our outgoing links or our PDF downloads using an event or a virtual pageview  to be sure that the info was really sent to Google Analytics we needed to either write some javascript to delay the user redirection to the destination page or using the…


Tracking HTML5 Videos with GTM

Almost all new browsers support the video playing using HTML5 including mobiles and tablets, so it may be way to embed videos that can be considerated when publishing videos on our pages. HTML5 has support for most of the videos format used on internet, even YouTube has been running an HTML5 version of their site for a long. So we're going to teach you how you can track those videos embed's using the built-in API and Event Listeners. We have setup…


Trackeando lo que comparten nuestros usuarios a través de AddThis con Google Tag Manager

Hoy vamos a aprender como hacer seguimiento de nuestro Widget de AddThis. Utilizando para ello los propios eventos que nos proporciona la herramienta y una etiqueta de Universal Analytics y tipo de tracking Social. Para explicaros como realizar la medición, vamos a continuar con el formato de post que ya utilizamos para aprender a Trackear los comentarios en Disqus with Google Tag Manager. Tracking Flow Comprobar que addthis está disponible…


Tracking the content shared by users through AddThis with Google Tag Manager

Today we're going to learn how to track our AddThis Widget , to know what content of our site is being shared by our users. To do it, we're going to use the eventListeners available from AddThis API and a Social tracking Tag. We're going to use the same post format we used for our Tracking Disqus activity with Google Tag Manager post. Tracking Flow Check if  addthis has been loaded into the current page.Wait till page's DOM has been fully loaded…


Tracking Disqus activity with Google Tag Manager

Today we're starting a new serie of posts about how to track things with Google Tag Manager en Inside-GTM. So this time we're going to learn how we can measure our visitors interactions with the Disqus Comments System. The posts are going to be structured this way: Tracking Flow: Definition about the Definiremos que pasos vamos a seguir para poder realizar la mediciónTags, Rules and Macros: Here you will be able to see the screenshots about the tags,…