Download - Analytics Driven T&T - The Full Guide
Analytics Driven Testing & TargetingIntegrating T&T with SiteCatalyst
Agenda
1. SiteCatalyst data driving Test&Target2. Breaking it down…T&T data in SiteCatalyst & D23. Smarter implementation using SiteCatalyst4. mBox Implications
1. SiteCatalyst data driving Test&Target2. Breaking it down…T&T data in SiteCatalyst & D23. Smarter implementation using SiteCatalyst4. mBox Implications
Feeding all SiteCatalyst variables into T&T
But what is actually happening?
SiteCatalyst: event
SiteCatalyst: purchase
T&T Target mboxrequest
And how does that look in T&T: SiteCatalyst: event
Available in T&T interface’s mboxes list:
All SiteCatalyst page variables including events, evars, and props are accessible in Test&Target as mbox parameters associated with the SiteCatalyst:eventmbox.
Associate SiteCatalyst events with Test&Target campaign conversion by targeting on the events mbox parameter associated with the SiteCatalyst:eventmbox:
And how does that look in T&T: SiteCatalyst: purchase
SiteCatalyst: purchase mbox can be set as conversion point in T&T campaigns. This mbox automatically associates the purchase ID, products and revenue to the purchase event within T&T.
Audit report provides full exportable purchase data from SiteCatalystpurchase events for reference.
Using the data with Test&Target
Segmentation Enriching T&T profiles Targeting Tracking steps and success
Analytics driven segmentation
Enriching T&T profiles
Targeting
Repeatable Targets & Segments
Tracking steps and success
1. SiteCatalyst data driving Test&Target2. Breaking it down…T&T data in SiteCatalyst & D23. Smarter implementation using SiteCatalyst4. mBox Implications
A new variable in SiteCatalyst (and it behaves like a eVar!)
Each experience served back in T&T has an ID associated to it that can be tied back to the T&T campaign and the particular version of that campaign.
T&T is configured to serve back this ID with every display of mbox content within a test campaign (even when the default option is shown).
This ID is captured and sent to SiteCatalyst as a new eVar-like variable:
s_tnt
/************************************* PLUGINS SECTION *********************//** TNT Integration Plugin v1.0* v - Name of the javascript variable that is used. Defaults to s_tnt(optional)* p - Name of the url parameter. Defaults to s_tnt (optional)* b - Blank Global variable after plugin runs. Defaults to true (Optional)*/s.trackTNT = function(v, p, b){var s=this, n="s_tnt", p=(p)?p:n, v=(v)?v:n, r="",pm=false, b=(b)?b:true;if(s.getQueryParam)pm = s.getQueryParam(p); //grab the parameterif(pm)r += (pm + ","); // append the parameterif(s.wd[v] != undefined)r += s.wd[v]; // get the global variableif(b)s.wd[v] = ""; // Blank out the global variable for ajax requestsreturn r;}
Tracking T&T within SiteCatalyst: Step 1
[ ] Plug-ins Section add the trackTnT plug-in function. SiteCatalyst
Tracking T&T within SiteCatalyst: Step 2
/************************************* PLUGINS SECTION *********************//** Plugin: getQueryParam 2.3*/s.getQueryParam=new Function("p","d","u",""+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati"+"on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p"+".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-"+"1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i="+"=p.length?i:i+1)}return v");s.p_gpv=new Function("k","u",""+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"+"=s.pt(q,'&','p_gvf',k)}return v");s.p_gvf=new Function("t","k",""+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."+"epa(v)}return ''");
[ ] Confirm that the getQueryParam function is present – othersie, add to Plug-in section after the trackTnT function.
Tracking T&T within SiteCatalyst: Step 3
/* Plugin Config */s.usePlugins=trueFunction s_doPlugins(s) {
/* Add calls to plugins here */.....
s.tnt=s.trackTNT();
}
[ ] Add the following call to the doPlugins function of the Configuration Section
Tracking T&T within SiteCatalyst: Important Note
You MUST inform Adobe of the SiteCatalyst Company name and Report Suite ID that you wish to push T&T data into before campaigns are pushed live
New reports within SiteCatalyst
View Summary of All T&T campaigns
Correlate the data to break it down…..
1. SiteCatalyst data driving Test&Target2. Breaking it down…T&T data in SiteCatalyst & D23. Smarter implementation using SiteCatalyst4. mBox Implications
Implementation method 1: Page level call to plugin
if(typeof mboxLoadSCPlugin == "function") { if(s.events.indexOf("prodView") > -1)
mboxLoadSCPlugin(s); }
• Trigger mbox plugin using conditional logic in SiteCatalyst s_code file
• Conditional logic can utilise any SiteCatalystvariables to trigger
• T&T JavaScript can be contained within SiteCatalyst s_code
Implementation method 2: s_code.js logic
• Snippet of code above taken from SiteCatalyst s_code.js file.
• Function logic above would send SiteCatalyst page level data to T&T from every page on the site referencing this JS file.
Implementation method 2: s_code.js logic
1. SiteCatalyst data driving Test&Target2. Breaking it down…T&T data in SiteCatalyst & D23. Smarter implementation using SiteCatalyst4. mBox Implications
mBox Implications
mBox server call
No extra server call