In the last two posts we have begun to learn about Omni­ture Site­Cat­a­lyst Traf­fic Vari­ables and Con­ver­sion Vari­ables (Suc­cess Events).  As pre­vi­ously dis­cussed, Traf­fic Vari­ables allow you to seg­ment or break­down Page Views, Vis­its and Unique Vis­i­tors, while Suc­cess Events cap­ture met­rics around con­ver­sion actions taken by site vis­i­tors.  In our Traf­fic Vari­able post we saw how we could segment/breakdown Traf­fic met­rics by Lan­guage, but learned that Suc­cess Event met­rics are not bro­ken down by Traf­fic Vari­ables in Site­Cat­a­lyst.  So what if we want to be able to show the per­cent­age of Lead Gen­er­a­tion Form Sub­mis­sions bro­ken down by Lan­guage?  Per­haps we want to see Shop­ping Cart Addi­tions bro­ken down by Zip Code or Cam­paign Track­ing Code.  There are lots of cases where you will want to segment/breakdown Suc­cess Events in a sim­i­lar man­ner that Traf­fic Vari­ables allow you to break down Traf­fic Met­rics.  So how do we do this?

Con­ver­sion Vari­ables to the Res­cue!
The pur­pose of Con­ver­sion Vari­ables (also known as eVars) is to allow you to break­down Suc­cess Event met­rics in a sim­i­lar man­ner that Traf­fic Vari­ables allow you to break­down Traf­fic met­rics.  While this sounds easy, Con­ver­sion Vari­ables are actu­ally one of the most con­fus­ing top­ics for Site­Cat­a­lyst cus­tomers because there is a lot to learn about how they behave (which is why this is only Part I).  I will describe the key points here and then try to make sense of it all through some examples.

Unlike Traf­fic Vari­ables, Con­ver­sion Vari­ables are per­sis­tent mean­ing that once a site vis­i­tor gets assigned a value, that value sticks with them until you (Site­Cat­a­lyst Administrator) tell Site­Cat­a­lyst to clear it out (unless the user deletes their cook­ies or uses a dif­fer­ent com­puter).  For exam­ple, if you have a Con­ver­sion Vari­able that stores the visitor’s City, you can cap­ture the City on page three of their visit and have it remain there for sev­eral pages, days, weeks, months, etc…

Con­ver­sion Vari­ables have a direct rela­tion­ship to Suc­cess Events.  I like to think of the two as “mar­ried” since they com­ple­ment each other. When a Site­Cat­a­lyst Suc­cess Event takes place (i.e. vis­i­tor takes an action that results in a Suc­cess Event being set), Site­Cat­a­lyst assigns credit for the Suc­cess Event to one value in each Con­ver­sion Vari­able report (please re-read that once or twice!).  For exam­ple, if an Online Course Demo Suc­cess Event takes place, what­ever value is cur­rently stored for that vis­i­tor for Con­ver­sion Vari­able 1 gets credit for that Suc­cess Event.  What­ever value is cur­rently stored for that vis­i­tor for Con­ver­sion Vari­able 2 gets the credit for that Suc­cess Event and so on until all Con­ver­sion Vari­able val­ues are incre­mented.  So let’s imag­ine you have a web­site with only one vis­i­tor, where Con­ver­sion Vari­able 1 is used to cap­ture City and we have used cus­tom tag­ging to cap­ture the fact that this vis­i­tor is from the city of Chicago.  If that one vis­i­tor sub­se­quently launches an Online Course Demo and a Suc­cess Event takes place, the Online Course Demo Suc­cess Event report would show a total of “1” and the Con­ver­sion Vari­able 1 (City) report would show a value of “1” for the “Chicago” row (assum­ing that the Con­ver­sion Vari­able 1 report was show­ing the Online Course Demos met­ric) as shown in this sam­ple report:

As many more Suc­cess Events take place, dif­fer­ent Con­ver­sion Vari­able val­ues (Cities in this exam­ple) would get credit for the var­i­ous Online Course Demos that take place on the site such that, over time, the report would have many cities and the asso­ci­ated num­ber of Online Course Demos that took place for each.  But, if Con­ver­sion Vari­able 2 rep­re­sented the cur­rent visitor’s Age, then at the same time each City is get­ting credit for each Online Course Demo in Con­ver­sion Vari­able 1, a spe­cific Age value (say “18 Years Old”) is get­ting credit for the same Suc­cess Event in the Con­ver­sion Vari­able 2 report which would look like this:

Real-World Exam­ple
Phew!  Let’s use one more exam­ple to help clar­ify things and in this exam­ple we will build upon the sce­nar­ios from our pre­vi­ous two posts.  In the Traf­fic Vari­able post, Greco Inc. wanted to know what per­cent­age of Page Views was viewed in Span­ish so they set a Traf­fic Vari­able with the lan­guage on each page.  In our Suc­cess Event post, we learned that one of Greco Inc.‘s web prop­er­ties is in the area of Online Edu­ca­tion and they began to cap­ture the num­ber of times vis­i­tors viewed Online Course Demos as a Suc­cess Event.  Now, Greco Inc. would like to see how many of its Online Course Demos were viewed in Span­ish.  To do this, mar­keters would work with their IT depart­ment to pass the lan­guage value (“eng­lish” or “span­ish”) to a Con­ver­sion Vari­able.  Over time, Greco Inc. can use the fol­low­ing Con­ver­sion report to see Online Course Demos bro­ken down by Language:

There­fore, at this point Greco Inc. has passed a Lan­guage value to both a Traf­fic Vari­able and a Con­ver­sion vari­able.  The Traf­fic Vari­able is used to break­down Page Views and the Con­ver­sion Vari­able is used to break down Suc­cess Events.  Hope­fully these two exam­ples will help you keep Traf­fic and Con­ver­sion Vari­ables straight and under­stand when to use each.  I rec­og­nize that some of this can be a bit con­fus­ing, so feel free to re-read parts of this and post com­ments here so I can clar­ify as needed.  Once you get it, I promise you will never for­get it!!  Stay tuned for Con­ver­sion Vari­ables Part II

Have a ques­tion about any­thing related to Site­Cat­a­lyst?  Is there some­thing on your web­site that you would like to report on, but don’t know how?  Do you have any tips or best prac­tices you want to share?  If so, please send me an e-mail at insidesitecatalyst@​omniture.​com and I will do my best to answer it right here on the blog so every­one can learn! (Don’t worry — I won’t use your name or com­pany name!)

 

Tagged with →  
  • http://www.nipponautomotive.co.uk Gary — Admin — LG Car Parts

    Thanks for the read =)

    I’ve learned that page views vis­its and uniques are SO impor­tant to track — more espe­cially so when run­ning a PPC cam­paign — you need to track your lead gen­er­a­tion and opti­mise your web­site accord­ing to the results. Espe­cially so, for exam­ple, in a car parts niche with so many dif­fer­ent coun­tries using dif­fer­ent ad cam­paigns for dif­fer­ent car man­u­fac­tur­ers and car mod­els. If some­one searches for an Acura in the USA — the same Euro­pean vis­i­tor would search for a Honda!

    I guess its all about Geo tar­get­ing etc..

  • Joe Kame­nar

    How are con­ver­sion vari­ables passed from a URL to the Omni­ture javascript code on the page?

  • http://www.vermontteddybear.com Nate Orshan

    (Just read­ing post now, a lit­tle late. [:-)] )

    Joe, the “eas­i­est” way would be to get some JavaScript that parses the URL, then passes the value you need into the eVar.

    For exam­ple here’s a snip­pet of the on-page code, show­ing how Ver­mont Teddy Bear’s doing it to push the land­ing page URL, refer­rer, and browser time into three sep­a­rate eVars (note: this takes place imme­di­ately after the JavaScript call to the s-code file ):


    var Land­ing­PageURL = “”;
    var Refer­ringURL = “”;
    var Land­ing­Page­Plus­Re­fer­rer = “”;
    re = /(vermontteddybear.com|vtbc.com\/VermontTeddyBear)/;
    if (re.test(document.referrer) || (document.referrer) == (document.location.href)) {
    // Do noth­ing
    } else {
    Land­ing­PageURL = (document.location.href);
    Refer­ringURL = (document.referrer);
    Land­ing­Page­Plus­Re­fer­rer = (Date() + “\|\|” + (document.location.href) + “\|\|” + (document.referrer));
    }

    Refer­ringURL=”;
    LandingPagePlusReferrer=Date() + ‘\|\|’ + document.location.href + ‘\|\|’ + Refer­ringURL;
    if (LandingPagePlusReferrer.length > 0) {
    s.eVar10 = Land­ing­PageURL;
    s.eVar11 = Refer­ringURL;
    s.eVar12 = Land­ing­Page­Plus­Re­fer­rer;
    }

  • http://weekendhk.com melvin

    thanks for the post =] it is really help­ful. I’ve got a ques­tion, by refer­ring your prior exam­ple, what can I do to attain the report which show me where vis­i­tors come from with the age group in break­down in the online course demo report?

  • http://blogs.omniture.com/author/agreco Adam Greco

    Melvin — You sim­ply need to pass the appro­pri­ate data to a Con­ver­sion Vari­able (eVar).

    Adam

  • Rob Blake­ley

    Clear enough. I tend to think of the eVar as a dri­ver rather than a seg­menter. So you want to know what drove to a par­tic­u­lar end point, an inferred causal­ity. It appears from the post that the ‘event seg­menter’ con­cept is more accurate.

  • Jeff

    First ques­tion, can eVars per­sist across domains. Let’s say my com­pany has two web sites: http://​www​.foo​.com and http://​www​.bar​.com. If I set an eVar in http://​www​.foo​.com but then the user clicks into the bar​.com site, does my eVar keep its value?

    Sec­ond ques­tion, can eVar val­ues be inte­grated into the traf­fic reports for page views, etc? For exam­ple, can I set “s.eVar10=assetid;” (where the assetid changes for dif­fer­ent areas of the web­site) and then use the eVars to break down the traf­fic data?

    Thanks :)

    • http://blogs.omniture.com/author/agreco Adam Greco

      Jeff,

      You can store eVar val­ues across domains if you use multi-suite tag­ging (see post on that) and the same s_account id for both sites. For your sec­ond ques­tion, eVars and sProps don’t mix so you would use one or the other. You can pass AssetID to sProps and cor­re­late with page­name or set a Page View Suc­cess Event and pass AssetID to an eVar. Alter­na­tively, if you had Dis­cover you could break one down by the other…

      Adam

  • Chris

    Hi Adam,

    quick ques­tion about evars and suc­cess events.

    So i have a series of pages that call evars and events.

    ques­tion 1
    if i have a flow where i set an evar value on one page, i do not have to set it up on the next page since it is per­sis­tent right?

    ques­tion 2
    i have a count­ing evar set up in page 1 of a flow, lets call it num­ber of searches. then i call a suc­cess event called rev­enue, then after that i have a con­fir­ma­tion page where a user can con­tinue to search and pur­chase.
    But i only care about the ini­tial searches.

    namely

    page1 — Evar — Page 2 suc­ces­sev­ent rev, page 3 Evar

    in a trasac­tion report, does the suc­cess event track data Before it hit the suc­cess event, or it is global and will incre­ment any­time, anywhere?

    Thanks
    Chris

  • http://blogs.omniture.com/author/bgaines Ben Gaines

    Chris,

    Two great questions.

    1. That is cor­rect; the eVar value will “per­sist” (you won’t see it recorded on sub­se­quent page views; the per­sist­ing occurs on the Omni­ture side) for as long as you spec­ify in the Admin Con­sole in Site­Cat­a­lyst. The default per­sis­tence is until the end of the visit.

    2. Related to that, suc­cess events (such as Rev­enue) will only be asso­ci­ated to those eVar val­ues that occurred either on the same page view as the suc­cess event or on a page view prior to the suc­cess event. In the case you described, rev­enue would be tied to the first eVar value, but not to the sec­ond, since the first value occurred before the rev­enue, but the sec­ond value occurred after the rev­enue was passed.

    Thanks,
    Ben Gaines
    Omni­ture, an Adobe Company

  • Michelle

    Hi adam,
    Won­der­ful post.,
    One ques­tion regard­ing traf­fic sources..the refer­rer vari­able is sup­posed to cap­ture the url of the page from where the user came from.But the refer­rer is counted even for page refreshes and back but­ton is pressed..How to over­come this?
    Would be really great if you can throw some light on this,
    Thanks,
    Michelle