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.
Solved! Go to Solution.
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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).
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Like
Replies