JavaScript DEBUG Issue
- by Rachel
I am trying to debug this piece of code:
$(document).track(
{
'module' : 'Omniture',
'event' : 'instant',
'args' :
{
'linkTrackVars' : 'products,events,eVar31,eVar32,eVar33,eVar34,eVar35,eVar36,eVar37',
'linkTrackEvents' : '',
'linkType' : 'o',
'linkName' : 'SPM Click'
'svalues' : {
'products' : ';OFFERID1[,;OFFERID2]', // Product added to cart
'events' : 'scAdd', // Cart event
'eVar31' : this.meta.offer_id,
'eVar32' : this.meta.family,
'eVar33' : this.meta.component_id,
'eVar34' : this.meta.ruleset_id,
'eVar35' : this.meta.in_network, // <in-network|out-of-network>
'eVar36' : this.meta.customer, // <customer|non-customer>
'eVar37' : this.page_tag_spm
},
},
'defer' : '0';
},
);
I am getting following error messages:
missing } after property list
'svalues' : {\n
Any clue.