Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
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
Level 10

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
Level 10

Hi Vinodh,

 

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

 

Best regards.

 

Alexis Cazes