Capture the URL of a link
  • 24 May 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Capture the URL of a link

  • Dark
    Light
  • PDF

Mozenda can capture both the displayed text and the destination of a link.

Ex: Click here

Displayed text = "Click here"
Link destination = "youtube.com/watch?v=oHg5SJYRHA0"

There are two ways to capture the link URL:

Method 1

In the Agent Builder:

  1. Enter a URL.
  2. Select the link you want to capture.
  3. Select Capture Text.
  4. Enter a name for the field.
  5. a) Select SAVE AND REFINE to create a new action.
    b) Right-click an existing capture action, then select Refine Captured Text to modify it.
  6. Select HTML to capture HTML instead of the visible text.

CaptureURL1

  1. Go to Capture Definitions section.
  2. Place your cursor before the first percent sign % and type href=".
  3. Place your cursor after the last percent sign % and type ".

CaptureURL2

The URL will show in the Captured Text Preview field.

  1. Select SAVE.

Method 2

In the Agent Builder:

  1. Enter a URL.
  2. Select the link you want to capture.
  3. Select Capture Text.
  4. Enter a name for the field.
  5. a) Select SAVE AND REFINE to create a new action.
    b) Right-click an existing capture action and select Properties to modify it.

url2

  1. Go to Node property > Select .
  2. Select href=".
  3. Select OK.
  4. Select SAVE.

Was this article helpful?