- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
// lang select
try
{
s.clearVars(); // this removes the events and eVars you've already sent so they don't get counted twice
s.linkTrackVars='events';
s.linkTrackEvents='event121';
s.addEvent('event121');
s.tl(true, 'o','Language Clicked -' + langCode); // Send data to Adobe. 'this' is passed because clicked object has href attribute
}
catch (e)
{
// didn't register click
}
// 131 briteverify pass
s.clearVars();
s.addEvent('event131');
s.tl()
// 130 token received
s.clearVars(); // Clear out variables already sent to Adobe
s.addEvent('event130');
s.tl(); // Send data to Adobe