Is there an alternative to s.t() and s.tl()?

Avatar

Avatar
Level 1
Evie678
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
Evie678
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
Evie678
Level 1

09-11-2020

Hi, 

 

I am trying to find the best way to send one single call to Adobe Analytics when a page load triggers a 'PageView' as well as 'Events'. I understand PageView's require a 's.t()' function which increments page views, and s.tl() is similar minus the increment feature.

 

Is it possible to use a function that can handle both? 

 

Evie678_0-1604933682131.png

I would like this to be a single call to Adobe Analytics - but currently it is two due to being different types of call. 

 

Many thanks

 

Evie

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

154 likes

Total Posts

328 posts

Correct reply

104 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

154 likes

Total Posts

328 posts

Correct reply

104 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ishans52004352
Employee

10-11-2020

Looks like you are looking forward to trigger a single call that will track both exit link as well as page load. It's not advisable, and I don't think it's possible. As the former doesn't account for a page view while the latter does.

Thanks!

Avatar

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

196 likes

Total Posts

605 posts

Correct reply

119 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

196 likes

Total Posts

605 posts

Correct reply

119 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile
yuhuisg
MVP

09-11-2020

As you've rightfully pointed out, s.t() is to track Pageviews. Whereas s.tl() is normally used to track Custom Links, but can also be used to track Exit and Download Links.

With both calls, you can include any props, eVars and events that you want (and that make sense to be tracked together).

But also like what @evolytics_brian said, it looks like you actually have another problem, which is that your click on what should be an internal link is being tracked as an exit link because of incorrect Internal URL Filter setup.

Avatar

Avatar
Affirm 50
MVP
evolytics_brian
MVP

Likes

80 likes

Total Posts

170 posts

Correct reply

54 solutions
Top badges earned
Affirm 50
Applaud 25
Establish
Seeker
Give Back
View profile

Avatar
Affirm 50
MVP
evolytics_brian
MVP

Likes

80 likes

Total Posts

170 posts

Correct reply

54 solutions
Top badges earned
Affirm 50
Applaud 25
Establish
Seeker
Give Back
View profile
evolytics_brian
MVP

09-11-2020

@Evie678 - You can pass events on your page call (s.t()) if you want. Just add them to s.events before triggering the call.

I also noticed that the call in your screenshot is an lnk_e call, which tells me the call is likely firing automatically when you click on a link and that the domain from the destination URL (href) has not been a added to the list of internal filters. (Look in the Adobe Analytics extension near the "link" tracking option.)