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.

Get referring page title

  1. Assuming I had 1000 hotel pages, and I want to use the same form for all of them, but I can't embed any part of the form on the hotel pages, there's just a plain html link that says "book now" and that goes to the form page; my question is, is there a way to get the meta title from the referrer page and display it in the form or on the page where the form is?

    I know I can get the referrer url already but that's not quite ideal for this.

    Posted 13 years ago on Sunday April 3, 2011 | Permalink
  2. Yes, you can pass the title of the page that links to the form via the query string.

    Here is a post that discusses how to pre-populate a field by passing data to the form via the query string:

    http://www.gravityhelp.com/forums/topic/how-to-send-pre-definied-form-data-from-an-other-page#post-2921

    Here is a post that discusses this in the context of passing the post title itself:

    http://www.gravityhelp.com/forums/topic/pass-post-title-to-form-field-in-query-string

    Posted 13 years ago on Monday April 4, 2011 | Permalink
  3. eclick718
    Member

    will this option work with IFRAMES too?

    If I include a form in IFRAME on another site - can I capture the referer?

    thanks
    e

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink