Title: track-incoming-referrer
Author: averageradical
Published: <strong>10 Tháng 1, 2017</strong>
Last modified: 10 Tháng 1, 2017

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/track-incoming-referrer.svg)

# track-incoming-referrer

 Bởi [averageradical](https://profiles.wordpress.org/averageradical/)

[Tải về](https://downloads.wordpress.org/plugin/track-incoming-referrer.1.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/track-incoming-referrer/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/track-incoming-referrer/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/track-incoming-referrer/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/track-incoming-referrer/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/track-incoming-referrer/)

## Mô tả

Non-technical summary: Track incoming referrer and write it to any hidden form field
with the identifier “referrer” (this can be created in Contact Form 7, for example;
see below). Also if the WordPress site redirects from HTTP to HTTPS, this plugin
also overrides the redirect to add the referrer to the https URL.

Technical details: This plugin runs client-side JavaScript in every page in HEAD
and if there isn’t a session cookie with the name “referrer”, then it writes a session
cookie with the name “referrer” and the value of either document.referrer, or if
that’s empty, the URL-encoded value of window.location.href. There is another client-
side JavaScript in every page before which writes the value of the “referrer” cookie
to any INPUT with the ID “referrer”, if it exists.

When integrating with Contact Form 7, add a hidden input field such as the following:

    ```
    [hidden referrer id:referrer]
    ```

And then add to the Mail’s Message Body:

    ```
    Referrer: [referrer]
    ```

If you’re just integrating this with HTML, just add this to any form:

    ```
    <input type="hidden" id="referrer" name="referrer" />
    ```

## Cài đặt

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add INPUT field to a FORM with id “referrer”

## Hỏi đáp

No FAQ

## Đánh giá

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

### 󠀁[Works perfectly with WPEngine’s aggressive caching](https://wordpress.org/support/topic/works-perfectly-with-wpengines-aggressive-caching/)󠁿

 [ainsworthstudio](https://profiles.wordpress.org/ainsworthstudio/) 28 Tháng 10,
2017

After finding WPEngine's caching doesn't work with PHP SESSIONS I had to turn to
javascript. After trying for several days to figure out a way to get the referring
URL into our Gravity Forms, this plugin saved the day. Thank you.

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/)

## Người đóng góp & Lập trình viên

“track-incoming-referrer” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

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

[Dịch “track-incoming-referrer” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/track-incoming-referrer)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/track-incoming-referrer/),
check out [SVN repository](https://plugins.svn.wordpress.org/track-incoming-referrer/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/track-incoming-referrer/)
qua [RSS](https://plugins.trac.wordpress.org/log/track-incoming-referrer/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.0

 * First version

## Meta

 *  Phiên bản **1.0.0**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 2.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.7.38**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/track-incoming-referrer/)
 * Thẻ
 * [referrer](https://vi.wordpress.org/plugins/tags/referrer/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/track-incoming-referrer/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/track-incoming-referrer/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/track-incoming-referrer/)