When you build something in Launch, but browser says no…
This happens to me every now and again: I make some changes in Launch. I build a new Library. I load my page and check … what? why? Shouldn’t it…?
Sometimes, I am too impatient. Sometimes, Launch needs a little bit more time to compile. Sometimes, Akamai needs a moment to deliver my newly-compiled Library.
There is a really easy and visually appealing way to check in any Chromium-based browser, which I would like to share with you.
Since Chrome 70, the DevTools have a new feature: Live Expressions
I use Live Expressions for checking what version of my DTM or Launch Library is currently active.
Just copy the following snippet into a Live Expression:
_satellite.buildDate || _satellite.buildInfo
Once you’ve typed or copied your snippet, just click somewhere else, and your Live Expression is done.
With that Live Expression in place, it is ridiculously easy to check whether the Library you just built is really the one used when the page loads.
Note that Launch reports “Zulu” time in
_satellite.buildInfo.buildDate, so take into account your time zone offset!
And that’s it, your end of July quick-tip!