Title: Referrer Input for Contact Form 7
Author: damiarita
Published: <strong>21 oktober 2016</strong>
Last modified: 11 januari 2017

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# Referrer Input for Contact Form 7

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

[Download](https://downloads.wordpress.org/plugin/referrer-input-for-contact-form-7.zip)

 * [Details](https://nl.wordpress.org/plugins/referrer-input-for-contact-form-7/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/referrer-input-for-contact-form-7/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/referrer-input-for-contact-form-7/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/referrer-input-for-contact-form-7/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/)

## Beschrijving

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.

## Installatie

 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

## Beoordelingen

![](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/) 24 september 2019

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/) 7 oktober 2017 2 reacties

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/) 10 januari 2017 4 reacties

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/) 1 januari 2017 1 reactie

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/) 12 november 2016 1 reactie

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

 [ Lees alle 5 beoordelingen ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/)

## Bijdragers & ontwikkelaars

“Referrer Input for Contact Form 7” is open source software. De volgende personen
hebben bijgedragen aan deze plugin.

Bijdragers

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

[Vertaal “Referrer Input for Contact Form 7” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/referrer-input-for-contact-form-7)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/referrer-input-for-contact-form-7/),
haal de [SVN repository](https://plugins.svn.wordpress.org/referrer-input-for-contact-form-7/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/referrer-input-for-contact-form-7/)
via [RSS](https://plugins.trac.wordpress.org/log/referrer-input-for-contact-form-7/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Versie **1.0.1**
 *  Laatst geüpdatet **10 jaar geleden**
 *  Actieve installaties **400+**
 *  WordPress versie ** 1.4.0 of nieuwer **
 *  Getest t/m **4.7.39**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/referrer-input-for-contact-form-7/)
 * Tags
 * [contact form 7](https://nl.wordpress.org/plugins/tags/contact-form-7/)[css](https://nl.wordpress.org/plugins/tags/css/)
   [javascript](https://nl.wordpress.org/plugins/tags/javascript/)[jquery](https://nl.wordpress.org/plugins/tags/jquery/)
   [referrer](https://nl.wordpress.org/plugins/tags/referrer/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/referrer-input-for-contact-form-7/advanced/)

## Waarderingen

 4.2 van 5 sterren.

 *  [  4 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=2)
 *  [  1 1 ster beoordeling     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=1)

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/)