Hello,
I am trying to put together a report showing how many times offers on a page were shown (offers designated with campaign code in query string), how many times the offers were clicked and how many orders were associated with each offer. The results of my report currently look like the following:
| Impressions | Clicks | Orders |
Offer A | 1,100 | 700 | 314 |
Offer B | 1,100 | 700 | 314 |
Offer C | 1,100 | 700 | 314 |
As you can see, the Impressions are correct however all Clicks and Orders are associated with all offers – regardless of the actual offer clicked/ordered. Here’s how I’m defining each:
Analytics Setup
List1 – Impressions based on Offer Codes, e.g., pagename.html?campcode=offera
Event4 – Offer Impressions
Event5 – Click Tracking event
Orders – OOTB Orders event
Impressions Analytics Code (currently correct)
Code currently resides in the doPlugins section in Analytics extension of Adobe Launch
var l = document.links;
for(var i=0; i<l.length; i++) {
if (l[i].href.indexOf('campcode=') > -1) {
s.events=s.apl(s.events,"event4",",",1);
s.list1 = s.apl(s.list1,getUrlParameter('campcode',l[i].href),",",1);
}
}
Click Tracking Code
Code currently resides in a Custom Code action for an Adobe Launch Rule
if (tqstring.indexOf("campcode=") > -1) {
s.events = s.apl(s.events,"event5",",",1);
}
Question
How do I properly bind/associate clicks and orders for a given campaign code so that my report doesn’t attribute all clicks/orders to all campaigns?