Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this template to extract data from break a web URL into its composite parts.

...

Input data

Field

Description

Example

location

URL

This field must contain URL data. One commonly found is “AlterianCX_url” which is created by the Standard Realtime Input Template. You could also use it with a page refferer.

https://www.alterian.com/case-study/customer/index.html?key:val

Processing

The template will extract the components of the URL and pass them as output fields

Output Data

Field

Description

Example

location

url

The

original input URL

complete URL without the query string

https://www.alterian.com/case-study/customer/index.html

?key:val

url

The complete URL without the query string

https://

protocol

HTTP or HTTPS etc

https

domain

The base domain without the protocol

www.alterian.com

port

Where present the port in the URL

path

The full path of the resource

/case-study/customer/index.html

keyvals

Query

The

key value pairs from the query string

Query string provided with the URL.

?key:val

domain

location

The

base domain without the protocol

original input URL

https://www.alterian.com

path

The full path of the resource

/case-study/customer/index.html?key:val

category1

The first category

customer

path1

Breaks the path into folders with the highest folder first in this case /case-study

/case-study

category2

The second category

path2

Next folder in the path

/customer/

path3 etc

Next folder in the path. Up to ten paths can come through.