evars | Community
Skip to main content
New Participant
June 10, 2022
Solved

evars

  • June 10, 2022
  • 1 reply
  • 2258 views

Hi,

 

I have a Header Menu event with 2 evars,evar1-linktext, evar2-linksection and login event with the same 2 evars , linktext and linksection.

 

Both evars  1 and 2 having allocation-most recent(last) and expiration - visit.

 

On reporting I see login event evars under header menu event's evar

 

But while I see on the debugger the value is perfect assigned under their respective events.

 

Is this something to do with persistence or expiration?

 

 

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 yuhuisg

Yes, changing to "Hit" expiration would solve your issue.

1 reply

yuhuisg
New Participant
June 12, 2022

I don't understand your problem. It sounds like you're basically doing this:

When the user clicks a header menu (I assume it's the "Login" button in the header):

s.eVar1 = "link text"

s.eVar2 = "link section"

s.events = "eventX" (you didn't specify which success event you're using to count your login events, so I'm just going with the placeholder "eventX" here)

In that case, isn't what you're seeing the correct report?

Note: since your eVars persist for the entire visit, then it is possible for the eVars to also be reported with other non-login events, which occur later in the user's journey.

jane_120Author
New Participant
June 13, 2022

The header menu event here is capturing the page names in the site like Home, Services, Contact Us etc.

For login separate event is created which will capture user login type.

 

Yes, as you said then it may be eVars which got persisted since expiration is set to visit.

 

So, changing it to hit will resolve?

yuhuisg
yuhuisgAccepted solution
New Participant
June 13, 2022

Yes, changing to "Hit" expiration would solve your issue.