Title: Need referrer variable
Last modified: January 25, 2017

---

# Need referrer variable

 *  Resolved [delphiman](https://wordpress.org/support/users/delphiman/)
 * (@delphiman)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/need-referrer-variable/)
 * I would like to add HTTP_Referrer agent as a hidden variable in subscribe form.
   How do I do that?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/need-referrer-variable/#post-8697652)
 * Some custom code will be needed. If you have some experience with PHP coding 
   you could do this, following this example [https://github.com/ibericode/mc4wp-snippets/blob/master/modify-data-before-sending-to-mailchimp.php](https://github.com/ibericode/mc4wp-snippets/blob/master/modify-data-before-sending-to-mailchimp.php)
 * Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Need referrer variable’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lap](https://wordpress.org/support/users/lapzor/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/need-referrer-variable/#post-8697652)
 * Status: resolved