javascript - Some SiteCatalyst eVar values not passing in Custom Link -


i'm facing crazy matter sitecatalyst custom link (internal) request.
i'm firing s.tl() through code below:

var s_custom = s_gi("report-suite"); s_custom.linktrackvars = "evar76,events,list3"; s_custom.linktrackevents = "event87"; s_custom.events = "event87"; s_custom.evar76 = "value"; s_custom.list3 = "option1,option2"; s_custom.tl(this, 'o', 'link name'); 

the issue concerns evar76, value not included in request, if "s_custom" trackerobject contains it. in fact, if inspect object find it.
this strange seems affect "high" number evars, evar76, 77, 80, 99 , on, not lower ones.
replacing evar76 evar55, 56 or 60, ex, resulting in normale behaviour values included in requests.
this not depending on evars existance, or activation, in report suite , expected because no preliminar calls made adobe server in order check set, or enabled, evars in report suite.

this silly behaviour forcing me replace desired evar one.
i add custom link prepared page-load (dom ready) rule in adobe dtm, suppose no particular setting should done in order fix it.
this first time sc variable not included in request expected.
thanks supporting me.

the core adobe analytics library code builds request string loop looks events/evars max available. adobe analytics expanded events 100 1000 , evars 75 100/250, in order accommodate increase, update core appmeasurement library code made.

note: although adobe has been making updates legacy h library alongside appmeasurement, did not update legacy h library accommodate increase. so, in order track evar76+ , event101+ within javascript variable (e.g. s.evar76='foobar'), must upgrade latest appmeasurement library.

alternatively, if using legacy h.23+ library can instead populate contextdata variable , map event/evar/prop in processing rule (e.g. s.contextdata['evar76']='foobar' , in processing rule you'd have e.g. if [(contextdata) evar76] [is set] overwrite [evar76] [(contextdata) evar76])

reference: https://marketing.adobe.com/resources/help/en_us/sc/implement/evars_events.html


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -