WordPress plugin intelligence profile

UTM Switcher

The UTM Switcher is a powerful tool to help you track where your site visitors are coming from.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.5
Current version1.0.2
WordPress coverageTested up to WordPress 4.5
Minimum stackWP 4.3 · PHP —
Directory statusactive
Last directory update18 May 201610y ago
Active installations30Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 4 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records UTM Switcher version 1.0.2 as active, updated 10y ago and tested up to WordPress 4.5.

Overview

About this plugin

UTM Switcher

The UTM Switcher is a powerful tool to help you track where your site visitors are coming from and modify page elements based upon a utm_source GET variable in a url. It notes where a site visitor first lands, and then proactively changes targeted elements across your entire website to match that source.

Keep track of your leads

In digital marketing, it can be difficult to figure out which of your channels is getting the best results: whether it’s Adwords, facebook paid advertising, blogging, or something else. For this reason, some companies use landing pages with different phone numbers to track the source of a lead. However, typical customers have multiple interactions with a site before following any call to action.

They may click through several pages before making a decision. That’s where UTM Switcher comes in.

How it works

UTM Switchers uses cookies to keep your lead-specific content consistent across all pages. The cookies are only destroyed once the website is closed. It works with all WordPress sites and features integrations with Contact Form 7 and Contact Form DB.

The information stored is taken from the URL’s GET variables utm_source, utm_medium, and utm_campaign

When a UTM Switcher finds a matching DOM element using jQuery, it replaces the content of that element with the value supplied in the switch. Each Switcher can be set to match a specific utm_source in the URL or stored as a cookie value to the specific DOM element. An example of this is if the utm_source value is Facebook change the value to 1234 and if the utm_source value is Twitter change the targeted element to 4321.

Each Switcher can also be set to replace the value with a tel: anchor tag for use with a call tracking plugin.

You can read more about the call tracking plugin here.

Recommended PHP Version

4 or greater

Required plugins

None

Recommended plugins

Contact Form 7 – If you choose, the UTM information can be sent in your form email. This information will include the information gathered from the initial URL GET variables utm_source, utm_medium, and utm_campaign. g.

[utm-100]

Contact Form DB – This extension is not required, but we do recommend it.

Usage

-

Under UTM Switchers, click Add New

-

Enter an Identifier — this is for internal use only. You could use it to keep track of what the switch does

-

classname or other selector) to target. This field uses jQuery syntax

-

Choose the Type. Phone Number Element will replace the whole element with an anchor link with a tel: attribute. Text replacement replaces all text in the above element

-

Click “Add Switcher” under UTM Source Switchers. A matching value in the Campaign Source field to the utm_source GET variable will replace the above selector’s content with the value in the Replacement Value field. HTML can be used.

You may add multple switches for different UTM Sources

-

Click Publish.

Contribute

To report any bugs, or to offer features, please use our GitHub repository

Updates

The basic structure of this plugin was cloned from the WordPress-Plugin-Boilerplate project.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • utm switcher
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.5
Minimum requirementsWordPress 4.3 · PHP not listed
Update activity18 May 201610y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.