Basic Tracking – Remix (contains Launch)

I'm sure you remember the three prior installments of the "Basic Tracking" article series, don't you? Basic Tracking from 2013, about a pure Javascript approach, Basic Tracking - Remix (contains DTM) in 2015, about the more modern tag management approach, and Basic Tracking on AMP Pages in 2018, about the beautifully weird and somewhat limited … Continue reading Basic Tracking – Remix (contains Launch)

Using the new Callbacks for Tracking

Sometimes you find surprising little things when you don't expect it. Take this little gem: Since 1.8.0 (released 19/1/17) Added the following pre- and post-tracking call hooks. (AN-134567) s.registerPreTrackCallback s.registerPostTrackCallback These functions take as parameters: the callback (a function), and the parameters to that function. For example: s.registerPreTrackCallback(function(requestUrl,a,b,c) { console.log("pre track callback"); console.dir(requestUrl); // Request … Continue reading Using the new Callbacks for Tracking