s.pageName duplicated to eVar on link tracking call | Community
Skip to main content
December 5, 2022
Question

s.pageName duplicated to eVar on link tracking call

  • December 5, 2022
  • 1 reply
  • 672 views

Hi everyone!

We set s.pageName and then duplicate this to our page name eVar using D=pageName.

I've noticed on some pages, there's an s.tl() call before the s.t() call.

s.tl() calls string strip the page name value, so does this mean it will also strip the value from the eVar as there will be nothing to duplicate?

Many thanks!

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

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 5, 2022

It really depends on your implementation.... generally "s.pageName" is set, and is send on both the s.t() and s.tl() calls. Which means your D=pageName should still work, cause the pageName value is removed after this... however, if you aren't setting the pageName value at all, then the URL will be passed as the s.pageName (meaning your duplication will get the URL instead of the pageName value).

The s.tl() calls strip the pageName value later during the processing... so as long as the pageName is being passed (and you can check this using the Cloud Debugger, or Omnibug, or Charles, or Fiddler, or just in your browser's console in the network tab, etc), then your D=pageName should work and result in having the correct value.

December 6, 2022

Thank you @jennifer_dungan! Much appreciated.