Send s.pageName using s.tl()? | Community
Skip to main content
April 30, 2021
Solved

Send s.pageName using s.tl()?

  • April 30, 2021
  • 5 replies
  • 3651 views

Hi.

We are sending a custom link and some other variables using s.tl().  This is working well, except that one of the variables we are trying to send is s.pageName.

The s.pageName value shows up in the Adobe Experience Cloud debugger, but it looks like it is not being captured in the report suite.

The documentation says works that s.tl() works similarly to the s.t() method, but that it does not increment page views.

If we are sending s.pageName, do we have to use s.t()?

If so, can we send a custom link with s.t()?  The documentation does not show that as an option.

Thanks for any help you can provide.

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 shelly-goel

@s18Pageview is captured in s.t() and link tracking is done with s.tl()

5 replies

shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
April 30, 2021

@s18Pageview is captured in s.t() and link tracking is done with s.tl()

s18Author
April 30, 2021

Hi Shelly, thanks for your response. So, if we want to capture both s.pageName and a custom link, is it correct that we need to call both s.t() and s.tl()?

 

Do you know why when we call just s.tl(), s.pageName shows up in the debugger, but does not get captured in the report suite?

Level 2
April 30, 2021

You can also store the s.pageName value in a custom eVar or prop and list the variable in s.linkTrackVar in your s.tl() call and get the data you want without incrementing pageviews like you would with an s.t() call and avoid the extraneous server call as well.

yuhuisg
Community Advisor
Community Advisor
May 1, 2021

This is a classic Adobe Analytics "gotcha". s.pageName has no meaning when used with s.tl(). As mentioned in other answers, you need to set s.pageName in an eVar (preferably with "Most Recent" allocation and "Hit" expiration).

 

mikeetiuPH
Level 4
May 3, 2021
Create an eVar and pass it on your custom link call. One thing I realized then is that page has a 100-character limit and eVar has 255 (not sure if that is still accurate). What I did then is implemented a character limit to the eVar via JS so that pageName and eVar will always be a match....
jantzen_b
Adobe Employee
Adobe Employee
May 24, 2021
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?