s.tl link object | Community
Skip to main content
Level 2
June 25, 2024
Question

s.tl link object

  • June 25, 2024
  • 1 reply
  • 1270 views

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.

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 25, 2024

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.

AWalsh1Author
Level 2
June 25, 2024

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

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 25, 2024

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.