s.tl not passing eVar value | Community
Skip to main content
October 16, 2015
Solved

s.tl not passing eVar value

  • October 16, 2015
  • 1 reply
  • 1254 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Alexis_Cazes_

Hi Vinodh,

 

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

 

Best regards.

 

Alexis Cazes

1 reply

Alexis_Cazes_
Alexis_Cazes_Accepted solution
Level 10
October 16, 2015

Hi Vinodh,

 

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

 

Best regards.

 

Alexis Cazes