event not firing in custom link

Avatar

Avatar
Validate 1
Level 1
laurie_jones
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
laurie_jones
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
laurie_jones
Level 1

15-10-2015

Hello, I cannot get an event to fire in a custom link.  Here is my code:

 

$('#searchButton').click(function() {
    trackSearchEvent();
});

function trackSearchEvent(){
    var s=s_gi(s_account)
    s.linkTrackVars='eVar31,events';
    s.linkTrackEvents='event30';
    s.eVar31=$('#zipOrCity').val();
    s.events='event30';
    s.tl(true,'o','event debug',null,'navigate');
}

 

No matter what I try, it will not track the event.  It tracks eVar31 but it will not track the event.  What am I doing wrong?  

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
shekhardhiman
Employee

15-10-2015

Hi there,

Thanks for reaching out.

Please go through the below mentioned helps guide links and see if you are following the steps and syntax mentioned:

https://marketing.adobe.com/resources/help/en_US/sc/implement/linkTrackEvents.html

https://marketing.adobe.com/resources/help/en_US/sc/implement/events.html

Thanks!

Answers (0)