Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Send s.pageName using s.tl()?

Avatar

Avatar
Level 1
s18
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
s18
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
s18
Level 1

30-04-2021

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Springboard
MVP
yuhuisg
MVP

Likes

146 likes

Total Posts

476 posts

Correct Reply

90 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Establish
Contributor
View profile

Avatar
Springboard
MVP
yuhuisg
MVP

Likes

146 likes

Total Posts

476 posts

Correct Reply

90 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Establish
Contributor
View profile
yuhuisg
MVP

01-05-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).

 

Avatar

Avatar
Applaud 5
Level 1
rayfost
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 1
rayfost
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile
rayfost
Level 1

30-04-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.

Avatar

Avatar
Validate 1
MVP
shelly-goel
MVP

Likes

155 likes

Total Posts

301 posts

Correct Reply

82 solutions
Top badges earned
Validate 1
Shape 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
shelly-goel
MVP

Likes

155 likes

Total Posts

301 posts

Correct Reply

82 solutions
Top badges earned
Validate 1
Shape 1
Ignite 1
Give Back 5
Give Back 3
View profile
shelly-goel
MVP

30-04-2021

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

s18

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?

shelly-goel
That's correct
ursboller

just an idea what we do:

1. Capture the load of the page using "s.t()" and in there we have the s.pageName as well as a cusom eVar (set to "most recent")

2. Capture the link klick only with some information about the click (eg. description, href-target, specific events if needed) - no s.pageName!

In reporting we can create a table for the "clicks" (2) and break down by our custom eVar (set in 1). this way we can see on which pages the click has happened.

 

Additional remarks:

a) there is no need to set the "custom eVar" on the second call (click), since analytics will remember the value thanks to "most recent". The only case where this is not working is user having multiple tabs open and switching between the tabs...

b) never ever set "pageName" on s.tl() calls in the processing rules (I think there is already a post in the community somewhere). If you set "pageName" in processing then it will turn the "s.tl()" to an "s.t()" call and mess up your data