🌎
Geoflow Docs
  • 🌎Welcome to Geoflow
  • 🔍Overview
    • Visitor Data Properties
  • ⭐Features
    • Geo Visibility
      • Define Multiple Conditions
      • Match All Conditions
      • Partially Match Condition
      • Reverse Condition Value
      • Custom Classes
    • Geo Form
      • Autofill Form Fields
      • Auto-Populate Select Fields
    • Geo Text
    • Geo Style
    • Geo Script
    • Script Extensions
      • Performance
      • Marketing Parameters
    • Optional Settings
      • Script Tag Data Attributes
      • Meta Tags
  • ⚙️Advanced
    • Code Snippets
    • Methods
      • run
      • getData
      • updateData
      • displayData
      • clearData
      • checkCondition
      • select
    • Callbacks
    • Events
    • REST API
      • Get Visitor IP
      • Get Visitor Data
      • Add Website
      • Delete Website
      • Update Website
      • List Websites
      • Get Website
  • 📄Legal
    • License Agreement
Powered by GitBook
  1. Features
  2. Script Extensions

Marketing Parameters

Automatically capture and log every URL parameter related to marketing within each form on your page.

How Does It Work?

This script extension will check the current URL for any marketing-related parameter and if one is found, an input field (set to hidden) will be generated with the parameter's name and value; the field will be added to every form on the page. When the form is submitted, the value(s) for the parameter(s) will be accessible alongside anything else included in the submission.

The URL parameters noted in the table below are the ones that will be recorded if found. The names and values will not be accessible through the 'geoflow' object.

URL Parameter Name
URL Parameter Variable

Ref

ref

Referrer

referrer

Source

source

UTM_Source

utm_source

UTM_Medium

utm_medium

UTM_Campaign

utm_campaign

UTM_Term

utm_term

UTM_Content

utm_content

UTM_ID

utm_id

How To Implement

Attribute Name
Attribute Value
Which Page Element?

data-extensions

marketing-params

<script> Tag for Geoflow

Example

<script data-extensions="marketing-params" src="https://cdn.getgeoflow.com/beta/script.min.js" crossorigin="anonymous" fetchpriority="auto"></script>
PreviousPerformanceNextOptional Settings

Last updated 1 year ago

Was this helpful?

⭐
Page cover image