Extract URL Data
Use this template to break a URL into its composite parts.
Input data
Field | Description | Example |
---|---|---|
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 |
---|---|---|
url | The complete URL without the query string | |
protocol | HTTP or HTTPS etc | https |
domain | The base domain without the protocol | |
port | Where present the port in the URL |
|
path | The full path of the resource | /case-study/customer/index.html |
Query | The Query string provided with the URL. | |
location | The original input URL | https://www.alterian.com/case-study/customer/index.html?key:val |
path1 | Breaks the path into folders with the highest folder first in this case /case-study | /case-study |
path2 | Next folder in the path | /customer/ |
path3 etc | Next folder in the path. Up to ten paths can come through. |
|