Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

s.tl not passing eVar value

vinodh_dinakar
Level 1
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
Alexis_Cazes_
Correct answer by
Community Advisor
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
Alexis_Cazes_
Correct answer by
Community Advisor
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