Title: Referrer Input for Contact Form 7
Author: damiarita
Published: <strong>2016年10月21日</strong>
Last modified: 2017年1月11日

---

プラグインを検索

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

![](https://s.w.org/plugins/geopattern-icon/referrer-input-for-contact-form-7.svg)

# Referrer Input for Contact Form 7

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

[ダウンロード](https://downloads.wordpress.org/plugin/referrer-input-for-contact-form-7.zip)

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

 [サポート](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/)

## 説明

Addon for Contact Form 7 that creates a new kind of input that contains the URL 
of the page the user visited before the contact form page. This plugin works well
with cache plugins, because the field is filled using javascript on the user’s computer
in stead of the server.

You can choose where in your email to introduce this info by using a mail-tag, like
any other field.

#### How to use it?

Once you have installed and activated your plugin, a new type of field will be available
in your Contact Form 7 forms. In order to add it to your form, you can either click
on the “Referrer” button above your form editor, or add the shortcode like: [cf7rfr_referrer{
your-referrer}] ({your-referrer} has to be replaced by the name you want to give
the field)

To recover the field’s info on your email, use this tag: [{your-referrer}]. It will
print a URL.

#### What referrer?

This plugin looks at the HTTP referrer. Not at the traffic source. So, if your user
comes from google, clicks some links in your site and ends up in your contact form
page, the field will contain the last page in your site your client visited. It 
will not tell you whether the client landed from Google. This is meant to give you
some context to the user’s message. Sometimes, they say “I love this product!” but
you have no idea which one they are talking about. With the referrer field, at least
you know what they saw last.

## インストール

 1. Install Contact Form 7 from wordpress.org/plugins/contact-form-7/
 2. On the left side menu select Plugins > Add New
 3. In “Search Plugins” field enter “Referrer Input for Contact Form 7” and search
 4. Press “Install Now” button

## 評価

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

### 󠀁[Works perfectly! But read my warning](https://wordpress.org/support/topic/works-perfectly-1468/)󠁿

 [realramble](https://profiles.wordpress.org/realramble/) 2019年9月24日

The original manual method of adding a referring page to Contact Form 7 (that's 
available all over the Internet) had been working fine, until I added a caching 
plugin to my site. Then it would not work, showing the same last visited page over
and over. This plugin solved that neatly and works perfectly with the caching plugin
enabled. Great work! Update: The latest WordPress versions automatically add rel
="noreferrer" if you're using a target="_self" or target="_blank" attribute, resulting
in no referring page returned in the email. This would only affect you if the referring
page is in a subdomain of the site and the contact page is on the main site or vice
versa. The solution is to not include either one of these attributes (no tag is 
the same as target="_self").

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

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

 [huyphuongpro](https://profiles.wordpress.org/huyphuongpro/) 2017年10月7日 2 replies

Work for me now. Just 2 simple steps. mikeborisov, if you dont know how to do, please
better ask someone before rating! Phuong

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

### 󠀁[didn’t get how to use it](https://wordpress.org/support/topic/didnt-get-how-to-use-it/)󠁿

 [mikeborisov](https://profiles.wordpress.org/mikeborisov/) 2017年1月10日 4 replies

pls give me some simple instructions

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

### 󠀁[Great Easy to Use Plugin](https://wordpress.org/support/topic/great-easy-to-use-plugin-9/)󠁿

 [yudaman69](https://profiles.wordpress.org/yudaman69/) 2017年1月1日 1 reply

Great plugin that adds referrer details to your contact form 7! Exactly what i needed!

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

### 󠀁[Simple & Perfect!](https://wordpress.org/support/topic/simple-perfect-37/)󠁿

 [flobaby](https://profiles.wordpress.org/flobaby9/) 2016年11月12日 1 reply

Thanks for this plugin! Does exactly what I want, much appreciated. 🙂

 [ 5件のレビューをすべて表示 ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/)

## 貢献者と開発者

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

貢献者

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

[“Referrer Input for Contact Form 7” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/referrer-input-for-contact-form-7)

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

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

## 変更履歴

#### 1.0.1

 * We change to new CF7 functions naming (shortcode->form-tag) to avoid deprecated
   message with debug active. No new features added

#### 1.0.0

 * First release

## メタ

 *  バージョン **1.0.1**
 *  最終更新日 **10年前**
 *  有効インストール数 **400+**
 *  WordPress バージョン ** 1.4.0またはそれ以降 **
 *  検証済み最新バージョン: **4.7.39**
 *  言語
 * [English (US)](https://wordpress.org/plugins/referrer-input-for-contact-form-7/)
 * タグ
 * [contact form 7](https://ja.wordpress.org/plugins/tags/contact-form-7/)[css](https://ja.wordpress.org/plugins/tags/css/)
   [javascript](https://ja.wordpress.org/plugins/tags/javascript/)[jquery](https://ja.wordpress.org/plugins/tags/jquery/)
   [referrer](https://ja.wordpress.org/plugins/tags/referrer/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/referrer-input-for-contact-form-7/advanced/)

## 評価

 5つ星中4.2つ星

 *  [  4 5-星レビュー     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=2)
 *  [  1 1-星レビュー     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/)

## 貢献者

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

## サポート

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

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/)