Title: UTM Switcher
Author: punchrockgroin
Published: <strong>2016年5月18日</strong>
Last modified: 2016年5月18日

---

プラグインを検索

![](https://ps.w.org/utm-switcher/assets/banner-772x250.jpg?rev=1419752)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/utm-switcher/assets/icon-256x256.jpg?rev=1419752)

# UTM Switcher

 作者: [punchrockgroin](https://profiles.wordpress.org/punchrockgroin/)

[ダウンロード](https://downloads.wordpress.org/plugin/utm-switcher.1.0.2.zip)

 * [詳細](https://ja.wordpress.org/plugins/utm-switcher/#description)
 * [レビュー](https://ja.wordpress.org/plugins/utm-switcher/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/utm-switcher/#installation)
 * [開発](https://ja.wordpress.org/plugins/utm-switcher/#developers)

 [サポート](https://wordpress.org/support/plugin/utm-switcher/)

## 説明

#### 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](https://www.betoplocal.com/call-tracking-plugin/).

#### Recommended PHP Version

PHP 5.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. These values are then passed
along to the email via a shortcode, e.g. [utm-100]

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

#### Usage

 1. Under UTM Switchers, click Add New
 2. Enter an Identifier — this is for internal use only. You could use it to keep track
    of what the switch does
 3. Enter an selector (an #ID or .classname or other selector) to target. This field
    uses [jQuery syntax](http://api.jquery.com/category/selectors/)
 4. 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
 5. 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
 6. Click Publish.

#### Contribute

To report any bugs, or to offer features, please use our [GitHub repository](https://github.com/Shamley/UTM-Switcher)

### Updates

The basic structure of this plugin was cloned from the [WordPress-Plugin-Boilerplate](https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate)
project.

## スクリーンショット

[⌊UTM Switcher Add New page.⌉⌊UTM Switcher Add New page.⌉[

UTM Switcher Add New page.

[⌊When used with Contact Form 7, a UTM button appears that allows you to add the
UTM fields in the form.⌉⌊When used with Contact Form 7, a UTM button appears that
allows you to add the UTM fields in the form.⌉[

When used with Contact Form 7, a UTM button appears that allows you to add the UTM
fields in the form.

[⌊When used with Contact Form 7, add the UTM shortcode into the Message body field.⌉⌊
When used with Contact Form 7, add the UTM shortcode into the Message body field
.⌉[

When used with Contact Form 7, add the UTM shortcode into the Message body field.

[⌊When emailed, the contact will receive the information obtained through the UTM
shortcode⌉⌊When emailed, the contact will receive the information obtained through
the UTM shortcode⌉[

When emailed, the contact will receive the information obtained through the UTM 
shortcode

## インストール

#### Minimum Requirements

 * WordPress 3.8 or greater
 * PHP version 5.4 or greater
 * MySQL version 5.0 or greater

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘utm-switcher’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `utm-switcher.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `utm-switcher.zip`
 2. Extract the `utm-switcher` directory to your computer
 3. Upload the `utm-switcher` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin in the Plugin dashboard

## 評価

![](https://secure.gravatar.com/avatar/72ff90150e56f5a351e95498d4166758738753b665864b2d621a0a072448a68a?
s=60&d=retro&r=g)

### 󠀁[Very Good](https://wordpress.org/support/topic/very-good-6761/)󠁿

 [joyst](https://profiles.wordpress.org/joyst/) 2023年1月30日

what was needed

![](https://secure.gravatar.com/avatar/ba74ac5a34cd524aa2a34a42f28fa3bfa03a7ee072a61ab6c00584111fdc95bf?
s=60&d=retro&r=g)

### 󠀁[Nice plugin!](https://wordpress.org/support/topic/nice-plugin-1414/)󠁿

 [notrouble](https://profiles.wordpress.org/notrouble/) 2018年6月8日

Exactly what is needed.

![](https://secure.gravatar.com/avatar/0289d146e802f164eb70965f0f51c86cb4ba6d72894c81e23571c7d38375e024?
s=60&d=retro&r=g)

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-2017/)󠁿

 [Pagy89](https://profiles.wordpress.org/pagy89/) 2017年2月10日

Your plugin is the best

![](https://secure.gravatar.com/avatar/e346f6162c057818709d3f37d374f858b21fed6aaedae4d15af543fa74405799?
s=60&d=retro&r=g)

### 󠀁[A great asset](https://wordpress.org/support/topic/a-great-asset-1/)󠁿

 [jshamley](https://profiles.wordpress.org/jshamley/) 2016年9月3日

We use the UTM Switcher on some of our client sites so that we can better understand
which advertising avenues are working and which are not. Highly recommended.

 [ 4件のレビューをすべて表示 ](https://wordpress.org/support/plugin/utm-switcher/reviews/)

## 貢献者と開発者

UTM Switcher はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献し
ています。

貢献者

 *   [ punchrockgroin ](https://profiles.wordpress.org/punchrockgroin/)

[“UTM Switcher” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/utm-switcher)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/utm-switcher/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/utm-switcher/)をチェックするか、
[開発ログ](https://plugins.trac.wordpress.org/log/utm-switcher/)を [RSS](https://plugins.trac.wordpress.org/log/utm-switcher/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.0

 * Initial commit.

#### 1.0.1

 * Update README.txt to include screenshots and link to Github repo.

#### 1.0.2

 * Update README.txt with more information.

## メタ

 *  バージョン **1.0.2**
 *  最終更新日 **10年前**
 *  有効インストール数 **30+**
 *  WordPress バージョン ** 4.3またはそれ以降 **
 *  検証済み最新バージョン: **4.5.33**
 *  言語
 * [English (US)](https://wordpress.org/plugins/utm-switcher/)
 * タグ
 * [UTM](https://ja.wordpress.org/plugins/tags/utm/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/utm-switcher/advanced/)

## 評価

 5つ星中5つ星

 *  [  4 5-星レビュー     ](https://wordpress.org/support/plugin/utm-switcher/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/utm-switcher/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/utm-switcher/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/utm-switcher/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/utm-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/utm-switcher/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/utm-switcher/reviews/)

## 貢献者

 *   [ punchrockgroin ](https://profiles.wordpress.org/punchrockgroin/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/utm-switcher/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://jeffshamley.com/)