David Vallejo Posts

June 17, 2019

The following custom template for Google Tag Manager, will help adding Sleeknote to your sites. Sleeknote is a customer engagement tool, mostly focused on Ecommerce Websites. The setup is pretty simple, just add your account ID within the Account ID textbox in the tag. Where do I find my Account ID Where can I download the template Download: https://github.com/thyngster/gtmtemplates/tree/master/Sleeknote

May 30, 2019

It’s been a while since my last post ( Shame on me!) , but the new Custom Templates feature has been a great addition to Google Tag Manager the last week. If you don’t know what the Custom Templates are, please do yourself a favor and read Simo Ahava’s great guide on them. I’ve been playing the last days with this new feature, trying to build a more complex template, so I decided to try…

July 5, 2018

Today is a big day!, I finally managed to put some of my internal debugging snippets within a single Chrome Extension and I’ve just released it on the Chrome Webstore so everyone can try and use it. To install it you will need to visit the extension page on the Google Chrome Webstore, you can there just clicking on the screenshot below: NOTE: The first time you open the extension panel. It may be show…

August 22, 2017

I’m finding a lot of people lately complaining about their Facebook Pixels throwing an infamous “duplicate pixel” error: This  error is thrown because we’re trying to initialize a pixel ID twice and therefore FB complains about it. And nope you are not alone 🙂 For example you may have a FB pixels that fires on the page load like this: And then you may have another Add To Cart event like this: fbq(‘track’, ‘AddToCart’ ,…

April 2, 2017

I know … It’s been a while since my last post, but I’ve been saving myself for something big. Over the last months I had the chance to run a big migration from Google Tag Manager over Tealium that had taken most of my time. Along with this extension release I want to say that I might start a new series of blog posts related to Tealium, based on my experience with this Tag Manager…

January 9, 2017

You may need to know if the current page has any Google Optimize Experiment running, to track that info on any tool, or to fire some vendor tag based on the current experiments statuses. The following snippet will take care of sending a dataLayer push if there’s any active experiment running, including: The Experiment ID The Optimize Container ID where the experiment is running on The current experiment variation being shown to the current user/device…

November 16, 2016

I’ve been attending lately (and having) to some talks about the logs parsing from the SEO perspective, (from @David Sottimano on Untagged Conference and Lino Uruñuela during some dinner time), and I’ve decided to publish a WordPress plugin that I started to work on some years ago, and that for work reasons I had it left on my “I’ll do it” drawer and it never came back to my mind. First thing I need to the point to,…

November 1, 2016

I’ve been told by a lot of clients that the way that Google Analytics cross-domain tracking works is “ugly”, referring to having the linker param attached to the URL. I must admit is not elegant having all that long hash on the url, thougt it won’t affect the page functionality. In the other side there isn’t any other to pass the current client Id from the Universal Analytics cookie to the destination domain without dealing…

October 31, 2016

Universal Analytics removed the utm_nooverride=1 functionality, still we can define a list domain referrals to be treated as direct visits within our properties configuration section, but what about when we can’t control the source domains?, for example for emailings, or some display campaign that we don’t want to override our users original attribution?. We’re going to use Google Tag Manager, so bring back this functionality to our implementations. First we need a Variable to read if is…

October 21, 2016

Sometimes we may be in the situation that we need to know if some info had been already pushed into Google Tag Manager’s dataLayer in order to take some action. For example we may need to know if some custom event it’s already in the dataLayer in order to prevent something to be fired twice, or we may need to check if some value is already in place. The following snippet, will help us to…