I have set Page load and click level event, Page load event 37 is getting triggered again with button click event 38 Would appreciate if someone look into this

Silver Contributor
Silver Contributor
Page Load : Set Data values: sc_events(js) set to :u.addEvent('event38') with condition : pagename equals "print | Page" On same page: There is a button with classname x and event 37 is supposed to get trigger $('.x').mousedown(function(){ utag.link({Print_Coupon:'Print Now',link_name:'Print Now'}); } But upon clicking of button page load event38 is getting fired again with event37 Have tried Clearvars enabled and manually clearing events like s.events="" didn't work So what would be the possible reason for that as event37 is for page load and event 38 for button click, but button click is firing both event 37,38
1 REPLY 1

I have set Page load and click level event, Page load event 37 is getting triggered again with button click event 38 Would appreciate if someone look into this

Employee Emeritus
The most likely answer is that your set data value extension for event38 is still true when the button fires. Try passing a different pagename with the button click and see if that clears it. Or add to your condition and check that print_coupon is not defined or doesn't equal Print Now.
Public