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