Skip to content

David Vallejo Posts

Closing “Inside GTM” Blog, all content now hosted here!

:: Leave a Comment

Two years ago I started “Inside GTM”, a blog focused on Google Tag Manager and other TMS tools along with @nikalytics, but we haven’t published anything since February, so we’ve agreed to close it 🙁 . After publishing the notice in Twitter, some people asked what was going to happen with the content…

#Tip – Finding Legacy GA code after migrating to Universal Analytics

:: Leave a Comment

  You may have already migrated your Google Analytics Implementation to Universal Analytics. It may happen that you still have some legacy ga snippet lying around in some pages without having noticed it, for example in some landing pages that are not belong the default CMS system/templates. But we can…

Preventing duplicate transactions in Universal Analytics with Google Tag Manager


One of the most common headaches while implementing the ecommerce tracking on a site is trying to match the tracked transactions by the shop backend to Google Analytics. As most tracking solutions are JavaScript based, there’s a small chance of losing some of them and there’s nothing we can do…

Tip: Maintaining Proper Session Attribution in GA when using OAuth providers with Google Tag Manager


If you using Facebook, Twitter, Github or any other service to autenticate your users, you may have noticed that they end showing up as referral traffic from the oauth service. User lands from CPC -> Logs in -> Respawns a new visit as referral We could think on adding those…

Tip: Grabbing the visitor’s first date from cookies using Google Tag Manager

:: 1 Comment

  With the new Universal Analytics cookies and everything being calculated server-side, it’s more difficult to detect some attribution problems or verifying if they were already fixed. For example after fixing a self-referrals problem we can continue getting more of them in our reports if some users were previusly tagged…