PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Capture Cookie Data

  1. Hello,

    We would like to pass along any Google Analytics tracking cookies (utm_medium, utm_source, etc) that may be on the clients machine. Is there any way to capture this data and have it save to the database for reporting purposes? If so, can you please point me in the right direction so that I may get an idea of what is involved?

    Thanks

    Posted 12 years ago on Monday January 9, 2012 | Permalink
  2. You would have to read the visitors cookies and then you could store then in a hidden field. However you grab the data, you can pre-populate hidden fields in the form, so it's saved with the entry. This is not something that Gravity Forms can do for you, as we have no experience reading cookies like that. However, once you have the cookie, you can store it in the entry by pre-populating a hidden field.

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink
  3. Thanks for the reply,

    I have another question. If I modify the source code, any updates that you roll out will replace any custom code we add, correct? How often do you roll out updates to the plugin?

    Thanks again!

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink
  4. Hi Lee,

    We roll out updates fairly regularly, every couple of months. We roll out bug fixes on an as needed basis even more regularly. Your best bet is to use Gravity Forms hooks which you will find documented here:

    http://www.gravityhelp.com/documentation/page/Developer_Docs

    If what you are trying to do is not possible with the current hooks, feel free to recommend a new hook and we will be happy to consider it.

    Posted 12 years ago on Monday January 16, 2012 | Permalink