Here comes a good idea: make sure your s_code.js file has a version! There are three parts to this tip: Put the s_code.js file into your revision control system. Make sure the file has a version on the URL. Track the version of the file into Adobe Analytics. Let's go into these one by one. … Continue reading Versioning Your Tracking
Category: Page Code
Posts talking about Javascript Code on the actual web page
Migrating to Tag Management
I have been slow with implementing Tag Management on my own sites and until I actually started doing it I didn't know why. Now I know: it's not straight-forward. It is fairly easy once you know what to do, though. So let me walk you through the process from the perspective of a developer. We'll do … Continue reading Migrating to Tag Management
Context Data Variables & Processing Rules
When Processing Rules were first released in SiteCatalyst 15 in 2011, they were perceived by many as a light-weight alternative to VISTA Rules. That's not entirely wrong. The big improvement that they brought, though, was their usage in conjunction with Context Data Variables. It really makes sense to mention both together. So, what are Context … Continue reading Context Data Variables & Processing Rules
Tracking Links & Actions
We have introduced the principles behind basic tracking of a web page. We have also discussed how to go further. Today, we will look at tracking "the other things" — links, clicks or any other events or interactions that are not a page load. Common use cases would be: Tracking downloads Tracking dynamic HTML / … Continue reading Tracking Links & Actions
The Thank You Page – Tracking Purchases
Let's look at an example from the retail world today: the "thank you page" or order confirmation page. For your friendly marketer, this is without doubt the most important page. When someone sees this page, they have just bought something, i.e. they have given your company money. This is likely very closely in line with … Continue reading The Thank You Page – Tracking Purchases
“Variables”
Here's a topic that has likely prompted the odd head scratch: "variables" in Adobe Analytics. From the point of view of a marketer, there are two different types of variables, and Adam Greco did a great job describing them: Traffic Variables, Conversion Variables - Part I and Conversion Variables - Part II. There's also something … Continue reading “Variables”
Basic Tracking
Most web analytics data is gathered within browsers using Javascript. There's other ways, but we'll get to that later.So how do you track a web page? (Too) Minimal Code The very minimum are 4 lines of code, like so: The first line loads the s_code.js file which contains three important pieces (we'll go into that … Continue reading Basic Tracking