eVar not firing on a single page | Community
Skip to main content
Level 5
April 10, 2023
Solved

eVar not firing on a single page

  • April 10, 2023
  • 1 reply
  • 1285 views

Hi everybody!

Another question 101. We have eVar 3 collecting the page names via HTML on one of our websites. However, there is only one page of the website where it is not firing, and I´m clueless about the reason.

 

I already checked the code and the HTML "title" is there, the page name appears in the browser tab, and Adobe´s script is correctly implemented on that page, on omnibug the pageview is fired with the other eVars, however, the eVar 3 specifically it not fired. 
Any idea what else I can check or what could be the reason?

thanks in advance

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 Jennifer_Dungan

If the page is missing a doctitle element (in the HTML), your data element will be set to nothing, and therefore not send a value....

 

This is the most likely scenario based on what you are showing me... our developers are sometimes really bad for missing that... you could try setting a default value of "[missing]" and see if you get your eVar3 populated with that default text when no doctitle is set on the page..... (I do this, so that I can ensure I always have a value - but instead of doing this as default, I have some extra custom code, as I need to do some additional manipulations - but then I can also go back and say... "hey, these pages are missing titles.. please fix them")

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 10, 2023

Is that one page using a different rule where eVar3 has not been set to send? How do you have eVar3 set in Launch? Is it using a unique Data Element? The same Data Element that is being used for PageName? Are you using "D=pageName"? Are you using Processing Rules?

 

There are many ways to set eVar3.. we need to know more about your implementation to really drill into the issue.

fern1Author
Level 5
April 10, 2023

We are using a unique data element

and then we have a global pageview rule with eVar 3


Since we have a global rule I´m confused why there is only one page that is not working properly.

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
April 10, 2023

If the page is missing a doctitle element (in the HTML), your data element will be set to nothing, and therefore not send a value....

 

This is the most likely scenario based on what you are showing me... our developers are sometimes really bad for missing that... you could try setting a default value of "[missing]" and see if you get your eVar3 populated with that default text when no doctitle is set on the page..... (I do this, so that I can ensure I always have a value - but instead of doing this as default, I have some extra custom code, as I need to do some additional manipulations - but then I can also go back and say... "hey, these pages are missing titles.. please fix them")