linkURL

Last update: 2024-01-25
  • Created for:
  • Admin
    Developer

Whenever a link tracking call is sent to Adobe, data collection servers automatically detect the URL. Use the linkURL variable to override the detected URL.

Link URL is mapped for Adobe Analytics under the XDM field web.webInteraction.URL.

There is not a dedicated field in the Adobe Analytics extension to use this variable. Use the custom code editor, following AppMeasurement syntax.

s.linkURL in AppMeasurement and the Analytics extension custom code editor

The s.linkURL variable is a string, containing the URL of the browser when the link was clicked. This variable does not populate any dimensions available in reporting.

s.linkURL = "https://example.com";

If the third argument of the tl() method is not set, the linkURL variable is used instead.

On this page