Title: HTTP_REFERER &#8211; Referrer URL
Last modified: September 13, 2019

---

# HTTP_REFERER – Referrer URL

 *  Resolved [guiberlin](https://wordpress.org/support/users/guiberlin/)
 * (@guiberlin)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/http_referer-referrer-url/)
 * Hi there,
 * first of all, thank you very much for that amazing plugin!
 * We are however facing an issue. We are using another plugin to track the incoming
   traffic on our website. >> [https://wordpress.org/plugins/utm-tracker/](https://wordpress.org/plugins/utm-tracker/)
 * That plugin basically tracks the UTM tags as well as the referral URL and write
   them in a cookie.
    We have no problem with the UTM but the referrer is blocked/
   cached by fastest cache. We would like to exlude it somehow but even after excluding
   all the cookies and the JS from the plugin utm tracker, it still doesn’t work.
 * Bellow is the part which should be “dynamical” displayed but doesn’t work.
 * Thank your for any tip or help!
 * Gui
 * > if (!isset($_COOKIE[‘handl_original_ref’]))
   >  $_COOKIE[‘handl_original_ref’]
   > = isset($_SERVER[‘HTTP_REFERER’]) ? $_SERVER[‘HTTP_REFERER’] : ”;
   >  if (!isset($_COOKIE[‘handl_landing_page’]))
   >  $_COOKIE[‘handl_landing_page’]
   > = ( isset($_SERVER[“HTTPS”]) ? ‘[https://&#8217](https://&#8217); : ‘[http://&#8217](http://&#8217);).
   > $_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”];

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/http_referer-referrer-url/#post-11929683)
 * thank you so much.
 * but PHP does not work when the page is cached because the page is saved as a 
   static html file. you need to handle the problem with Ajax.
 *  Thread Starter [guiberlin](https://wordpress.org/support/users/guiberlin/)
 * (@guiberlin)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/http_referer-referrer-url/#post-11936461)
 * Hi,
 * thank you! Ok I understand the “why”.
 * I think we should managed.
 * Thank you for setting us in the right direction.
 * Gui
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/http_referer-referrer-url/#post-11937999)
 * you are welcome 🙂 if you vote, you make me so happy. 
    [https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTTP_REFERER – Referrer URL’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

## Tags

 * [tracking](https://wordpress.org/support/topic-tag/tracking/)

 * 3 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/http_referer-referrer-url/#post-11937999)
 * Status: resolved