이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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

후기

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").
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
2016년 11월 12일 1 reply
Thanks for this plugin! Does exactly what I want, much appreciated. 🙂
모든 5 평가 읽기

기여자 & 개발자

“Referrer Input for Contact Form 7”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Referrer Input for Contact Form 7”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록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