Modifying Data Server-Side

So far we have shown you how you can track web pages and how you can send custom data when doing that. Today, we introduce two features that let you modify data server-side, that is once it arrives at the Adobe collection servers.

Why would you do that?

The two main reasons are:

  1. Some things can only be done server-side because they rely on information that is only available at that point.
  2. Release cycles – if you cannot modify your client-side tracking for some reason, you might be able to “patch it up” server-side for the time being.

Let’s take a step back and look at the whole “lifecycle” of data.

First, data is assigned to “variables” in Javascript. Those “variables” are then sent off to the collection servers. The collection servers process each hit. They initiate geo-lookup based on the IP address and apply some mobile-specific meta data. Then they pass the hit through Processing Rules and VISTA, two mechanisms that can modify it to a certain extent. The data is now enriched with other data from the visitor’s profile and then processed and stored for reporting.

[Screenshot]
Data Processing Steps
Processing Rules and VISTA can modify data, that is the important point here.

They are similar in that they work on hit-level. They have no memory and no ability to look back or forward in time (use information from other hits).

Both can assign values to the “variables” that you sent in, and both can add data into “variables” you did not send. Both allow you to define conditions on when to do so.

Something like if s.pageName is 'Homepage' set s.prop45 = 'Index' can be done with both, Processing Rules and VISTA Rules.

Processing Rules and VISTA Rules are different in five major ways:

  1. Processing Rules are defined in the UI by end users while VISTA Rules are written in a dialect of C by the Engineering Services team. That means that VISTA Rules come with a cost.
  2. Processing Rules can access ‘Context Data Variables’, VISTA Rules can not.
  3. VISTA Rules are more powerful. They can copy hits to other report suites and change every aspect of a hit, even exclude it from processing.
  4. VISTA Rules have access to geo-location lookup as well as mobile meta data, Processing Rules don’t.

Generally speaking, VISTA Rules are a powerful and more long-term tool, while Processing Rules are mostly used to patch your deployment for a short time.

As a developer, you would rarely come into contact with either Processing Rules or VISTA Rules.

The former should be administered by the end user, i.e. your friendly marketer. VISTA Rules are built and deployed by the Adobe Engineering Services team, not you.

It is nevertheless important that you know a) that they exist and b) that they can modify the data sent into the Analytics platform! Nothing is more irritating than debugging without knowing what the system can do.

We’ll explain both in more detail in separate postings.

7 thoughts on “Modifying Data Server-Side

  1. Good note however I don’t believe processing rules are only temporary solutions or only used for temp bug fixing. For example It is possible to use Adobe Tag Manager to set all your global plug-ins and variables and at the same time use the Context Data Variables + Processing Rules to enable tracking on websites. Context Data will remove the barriers between you and developers, no more discussions about eVar and props, simply they don’t need to know.

    Like

  2. Pingback: Context Data Variables & Processing Rules | Web Analytics for Developers

  3. Pingback: Redirect Tracking | Web Analytics for Developers

  4. Pingback: Processing Rules – Positive or Precise | Web Analytics for Developers

  5. Pingback: How Classifications are Different | Web Analytics for Developers

  6. Pingback: A Short History of Processing a Hit | Web Analytics for Developers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s