Hi,
I cannot see any keyword tracking features in Gravity Forms, which is kind of surprising as a lot of us must be using it for lead generation forms?
What I would like is two fields available for entries:
Referer > The HTTP referer to the site
Keyword > Extract keywords from referer strings from search engines
The problem with HTTP referer is that it is reset on internal clicks, so, when a visitor arrives from Google the HTTP referer is something like:
google.com?q=some-query-string
But when a user clicks a link inside your site, this overrites the original external referer.
So, for this tracking to work, the HTTP referer must be put into the session ONLY if the session variable does not already exist. Then the original external referer is preserved.
The keyword can be extracted from the query string, there are various examples of this being done in PHP if you google them.
The Intended Result:
When a user completes a form on my site I can see:
1) The search engine page that sent them
2) The keyword that they used
Thus, the reporting within gravity can allow you to focus on keywords that are converting.
Of course 1) would also work for other referring sites besides search engines.
This would be easy to implement and very powerful for lead generators trying to understand where their conversions are coming from.