Title: Gravity Forms &#8211; Caching?
Last modified: December 23, 2020

---

# Gravity Forms – Caching?

 *  Resolved [caldridge1](https://wordpress.org/support/users/caldridge1/)
 * (@caldridge1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-caching/)
 * Hi Guys,
 * I’m getting some slightly strange behaviour with this plugin. Hopefully there’s
   an easy fix.
 * I think I might have a bit of a caching issue with the forms themselves on my
   site…
 * I’ve installed v 2.7.15 of the tracker, and I have Gravity Forms 2.4.22 (the 
   latest version).
 * My use case is that I have some referring URLs out there. When people come to
   my site via a referrer and fill in my gravity form, I’m sending that lead to 
   a tool called Pardot via an API and passing in some parameters. Ultimately I’m
   using this plugin so that when people land on the main site, I cookie their UTM
   params and referring URL, and then want to supply them to Pardot via the API.
 * My source URL on the partner website looks like this:
    [https://mywebsite.com/?utm_source=partner123&utm_medium=web&utm_campaign=campaign999](https://mywebsite.com/?utm_source=partner123&utm_medium=web&utm_campaign=campaign999)
 * It’s working, sort of…
 * I click on that link on the partner site which comes to my home page, including
   the UTM params – that bit’s working.
 * Then I click on the “Contact Us” link which goes to the contact page. The UTM
   params are gone now, but if I look in the cookies I can see the following:
 * utm_source = partner123
    utm_medium = web utm_campaign = campaign999
 * I’m also really interested in the original referring URL. Cookie values are:
   
   handl_ref = (the page on my site they landed on – the home page) handl_original_ref
   = has the original partner’s website
 * So all working well so far, however…
 * When I actually submit the form, GravityForms doesn’t seem to be reading the 
   cookie in my browser. In fact, it seems to be finding some previous values from
   somewhere and submitting them instead.
 * Initially, I thought that this was just an issue with how I was testing – basically,
   I’m opening up new incognito windows and testing end to end. Obviously my next
   test was to ask one of my friends to go through the same steps – go onto a different
   partner website, click our link, and fill in the form. Surprisingly, his entry
   also came through with the same info that came in from my submission, not the
   values from his own browser.
 * So, my question…
 * Is it possible that GravityForms is caching these values on the server or something
   strange like that? I don’t understand why it is submitting old values, and not
   the values in the cookies/the values that came in via the URL.
 * This might be down to my knowledge on how this all works. I also considered that
   if someone came to the site via a partner, left without filling in a form, and
   then came back later via another partner, I’d probably want the first partner’s
   details (although I’m not that bothered).
 * Finally, I noticed that nice little tickbox “Append UTM”, which sort of resolved
   the issues but created a new issue – the forms won’t submit any values which 
   are not explicitly in the URL params (like the original referring URL).
 * Any ideas? I’m hoping I’m just doing something stupid here…
 * Thanks!

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

 *  Plugin Author [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * (@haktansuren)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-caching/#post-13829359)
 * Thanks for explaining the problem in detail. Do you mind sharing the URL you 
   are testing. This sounds like a caching problem. You can also join our Slack 
   channel and ping me there [https://www.haktansuren.com/slack-handlwp/](https://www.haktansuren.com/slack-handlwp/)
 *  Thread Starter [caldridge1](https://wordpress.org/support/users/caldridge1/)
 * (@caldridge1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-caching/#post-13829641)
 * Hi Haktan,
 * Sure, you could use this URL to test…
 * [https://silversoftworks.com/?utm_source=wpforum&utm_medium=web&utm_campaign=wptestcampaign](https://silversoftworks.com/?utm_source=wpforum&utm_medium=web&utm_campaign=wptestcampaign)
 * The actual contact form is here:
    [https://silversoftworks.com/contact/](https://silversoftworks.com/contact/)
 * Obviously the test use case is to click the first URL and then click on Contact
   in the nav bar.
 * There are lots of other forms on the site that will also need fixing up, but 
   that’s the one I’m testing with for now.
 * I’ll join the slack channel as well an pop you a message in case you have a chance
   to have a look today.
 * Thanks
 *  Plugin Author [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * (@haktansuren)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-caching/#post-13833737)
 * This happened to be related with W3 Super Cache plugin. Follow up with this page
   with the update.

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

The topic ‘Gravity Forms – Caching?’ is closed to new replies.

 * ![](https://ps.w.org/handl-utm-grabber/assets/icon-256x256.png?rev=2817979)
 * [HandL UTM Grabber / Tracker](https://wordpress.org/plugins/handl-utm-grabber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/handl-utm-grabber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/handl-utm-grabber/)
 * [Active Topics](https://wordpress.org/support/plugin/handl-utm-grabber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/handl-utm-grabber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/handl-utm-grabber/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-caching/#post-13833737)
 * Status: resolved