Title: Referrer Input for Contact Form 7
Author: damiarita
Published: <strong>21. listopada 2016.</strong>
Last modified: 11. siječnja 2017.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# Referrer Input for Contact Form 7

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

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

 * [Detalji](https://hr.wordpress.org/plugins/referrer-input-for-contact-form-7/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/referrer-input-for-contact-form-7/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/referrer-input-for-contact-form-7/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/referrer-input-for-contact-form-7/#developers)

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

## Opis

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.

## Instalacija

 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

## Recenzije

![](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. rujna 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/) 07. listopada 2017.
2 odgovora

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. siječnja 2017. 4
odgovora

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/) 01. siječnja 2017. 1 odgovor

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. studenoga 2016. 1 odgovor

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

 [ Pročitajte svih 5 recenzija ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/)

## Suradnici i Programeri

“Referrer Input for Contact Form 7” je softver otvorenog koda. Sljedeće osobe su
doprinijele ovom dodatku.

Suradnici

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

[Prevedite “Referrer Input for Contact Form 7” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/referrer-input-for-contact-form-7)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/referrer-input-for-contact-form-7/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/referrer-input-for-contact-form-7/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/referrer-input-for-contact-form-7/)
od [RSS](https://plugins.trac.wordpress.org/log/referrer-input-for-contact-form-7/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

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

 *  Version **1.0.1**
 *  Zadnje ažuriranje **prije 10 godina**
 *  Aktivnih instalacija **400+**
 *  WordPress inačica ** 1.4.0 ili viša **
 *  Testirano do **4.7.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/referrer-input-for-contact-form-7/)
 * Oznaka
 * [contact form 7](https://hr.wordpress.org/plugins/tags/contact-form-7/)[css](https://hr.wordpress.org/plugins/tags/css/)
   [javascript](https://hr.wordpress.org/plugins/tags/javascript/)[jquery](https://hr.wordpress.org/plugins/tags/jquery/)
   [referrer](https://hr.wordpress.org/plugins/tags/referrer/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/referrer-input-for-contact-form-7/advanced/)

## Ocjena

 4.2 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/reviews/?filter=2)
 *  [  1 1-star review     ](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)

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

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/referrer-input-for-contact-form-7/)