s.tl link object | Community
Skip to main content
Level 2
Jun 25, 2024 12:55 PM UTC
Question

s.tl link object

I want to create link tracking using the below

s.tl(this,'o','Flow Overlay');

My developer is asking if they can replace the link object value of 'this' with 'document'.

I'm pretty new to Adobe and can only see references in Adobe documentation to using 'this' or 'true' as the link object value.

Can anyone explain what the ramifications might be of using 'document' instead?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Jennifer_Dungan
Level 2
Jun 25, 2024 2:00 PM UTC

Can I ask if you are using Launch? Or self-hosted AppMeasurement.js? In most cases you shouldn't need to trigger your action beacons manual (I say this knowing that I have stuff like that built into custom code in my implementation)..

 

Anyway, I don't think the "this" or "true" or "document" makes much difference to a custom link... I took that literal code and ran it in my browser's console. The action triggered like any other... I didn't see any issues or missing data, so you should be fine.

Translate
AWalsh1Author
Level 2
Jun 25, 2024 2:28 PM UTC

Great - thanks Jennifer. Your response supports what we were thinking.

Translate
Jennifer_Dungan
Level 2
Jun 25, 2024 3:06 PM UTC

Honestly, I think the "this" is more for exit links... I think this is what grabs the url from the link to populate into pev1, which isn't used on a custom link.... because the link name (pev2) is used instead.

Translate