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.

There are no dimensions in Analysis Workspace that report on this variable. It populates the page_event_var1 column in Data feeds.

Link URL is mapped to the following variables:

  • XDM object: web.webInteraction.URL
  • Data object: or

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 = "";

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