0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Operator → UTM

AI-generated

Overview

This node operation under the 'Operator' resource handles UTM (Urchin Tracking Module) parameters for URLs. It supports two main functions: building a URL with UTM parameters and parsing UTM parameters from a given URL. This is useful for marketing and analytics workflows where tracking campaign sources, mediums, campaigns, and content is necessary. For example, it can construct a URL with specified UTM parameters to track the effectiveness of different marketing channels or extract UTM parameters from incoming URLs to analyze traffic sources.

Use Case Examples

  1. Building a URL with UTM parameters such as source, medium, campaign, and content to track marketing campaigns.
  2. Parsing a URL to extract UTM parameters for analytics and reporting.

Properties

Name Meaning
Code Variables Allows adding multiple code variables with a variable name or ID and its corresponding value, useful for dynamic variable handling in code editor functions.
Build or Parse UTM? Selects whether to build a URL with UTM parameters or parse UTM parameters from a URL.
Url The URL to build UTM parameters into or to parse UTM parameters from.
UTM Source The UTM source parameter to include when building a URL.
UTM Medium The UTM medium parameter to include when building a URL.
UTM Campaign The UTM campaign parameter to include when building a URL.
UTM Content The UTM content parameter to include when building a URL.

Output

JSON

  • utm_source - The UTM source parameter extracted or used in the URL.
  • utm_medium - The UTM medium parameter extracted or used in the URL.
  • utm_campaign - The UTM campaign parameter extracted or used in the URL.
  • utm_content - The UTM content parameter extracted or used in the URL.

Dependencies

  • An API key credential for the codeKit API

Troubleshooting

  • Ensure the URL provided is valid and properly formatted to avoid parsing errors.
  • When building a URL, make sure UTM parameters are correctly specified to generate the expected URL.
  • If the node throws errors related to API requests, verify that the API key credential is correctly configured and has necessary permissions.

Discussion