s.campaign Value Not Receiving Credit for Success Events
I'm setting s.campaign in DTM (AppMeasurement) in a page load rule and have a couple of events that fire when a user starts/completes an online application. According to this article (https://marketing.adobe.com/resources/help/en_US/sc/implement/campaign.html), "Each campaign value remains active for a user, and receives credit for that user's activities and success events until it expires."
In my implementation, the s_campaign cookie set by s.getValOnce() is present when the events fire, but the Campaign Tracking Code report is not showing the events metrics giving credit to the campaign variable.
Here's my Custom Page Code in Page Load Rule:
/*
* Plugin: getValOnce_v1.11
*/
s.getValOnce=new Function("v","c","e","t",""
+"var s=this,a=new Date,v=v?v:'',c=c?c:'s_gvo',e=e?e:0,i=t=='m'?6000"
+"0:86400000,k=s.c_r(c);if(v){a.setTime(a.getTime()+e*i);s.c_w(c,v,e"
+"==0?0:a);}return v==k?'':v");
/* External Campaign Tracking */
if (s.Util.getQueryParam('cid')) {
s.campaign = s.Util.getQueryParam('cid');
s.campaign = s.getValOnce(s.campaign,'s_campaign',0);
}