Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

s.tl not passing eVar value

Avatar

Level 1

Hi,

I have a login form on page. I am calling the function below on the onSubmit event of the form to capture the click.

var LoginClick = function() {
                // Omniture Code
                s.linkTrackVars="events, eVar1";
                s.linkTrackEvents="event1";
                s.events="event1";
                s.eVar1="Login";
                s.tl(true, "o", "Login Clicks");
};    

I used a packet sniffer to check the values being passed to SC. The events are passed but not the eVar1. The value "Login" is assigned to s.eVar1. However, s.tl is passing the evar value alone. In the eVar1 report, it shows up as "none" but the events count show up properly.

I have tried using s.tl(this, ....)... same result. 

Ofcourse, s.t() passes all the values (evars and events) however, that would be wrong to use it here.

Can someone please tell what I am doing wrong here?

Vinodh

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Vinodh,

 

Can you paste the image request being send when you click on submit

 

Best regards.

 

Alexis Cazes

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi Vinodh,

 

Can you paste the image request being send when you click on submit

 

Best regards.

 

Alexis Cazes