Skip to main content
Skip table of contents

Understanding Parameter Forwarding

The Katalys script deployment can be configured to adjust Katalys tracking links on your webpages. This helps you track your media buying or other marketing campaigns by including adding additional dynamic values into your tracking links.

To activate this functionality:

  1. Create or select a Script Deployment →

  2. Click on the “Features” tab

  3. Ensure the “Campaign Tracking” feature is turned on

Forwarding Custom Values

In addition to forwarding common values, you can choose to expose various tracking parameters in your Katalys reporting. Click on “Edit List” to adjust which URL parameters are forwarded into which Katalys tracking parameters.

Each entry will look for either a replacement value, or a URL value. Replacements values contain {{ and }} syntax; any value without curly-braces will be treated as a URL value.

  • Example of a replacement value: {{location.pathname}}{{location.search}}

  • Example of a URL parameter: utm_medium

Available Replacement Tokens

The following replacement tokens are available to be used in the replacement value input box. Each example assumes a webpage has been loaded with the following details:

  • Example page URL: https://www.mywebpage.com/page.html?utm_source=google

  • Example page title: Welcome to My Webpage

Token

JavaScript Reference

Example Value

{{location.href}}

location.href

https://www.mywebpage.com/?utm_source=google

{{location.hostname}}

location.hostname

www.mywebpage.com

{{location.pathname}}

location.pathname

/page.html

{{location.search}}

location.search

?utm_source=google

{{document.title}}

document.title

Welcome to My Webpage

You can put as many replacement values as you need into the string.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.