JavaScript DEBUG Issue
Posted
by Rachel
on Stack Overflow
See other posts from Stack Overflow
or by Rachel
Published on 2010-04-09T16:04:59Z
Indexed on
2010/04/09
16:13 UTC
Read the original article
Hit count: 226
JavaScript
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.
© Stack Overflow or respective owner