• Resolved Garet H.

    (@pagetopixel)


    Hello,

    We are using a few different forms on our site which are all adding contacts and seem to be working great. However the collected forms have names like #gform_5 under collected forms. Is there a way to set the form title to be the Lead Source for each contact so its easier to tell which form the contact came from?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Big Sea

    (@big-sea)

    Hey pagetopixel,

    Sorry about this, I could’ve sworn I answered you earlier this week… the forms send, by default, the form name and current page, and you are given an opportunity to override it.

    This is part of the “HSContext” which sends the cookie, and some context for HubSpot to determine if the user is new or not, and where they’re coming from.

    You have two “apply_filter” functions accessible to you at that point.

    'pageUrl'   => apply_filters( 'gf_hubspot_context_url', site_url() ),
    'pageName'  => apply_filters( 'gf_hubspot_context_name', rgars($form, 'title') ),

    Can you clarify where the “collected forms” are that you’re referring to? I will look into manipulation based on the “Lead Source” but I wasn’t aware that it was something I could manipulate during form submissions.

    Thread Starter Garet H.

    (@pagetopixel)

    No problem, thanks for your reply.

    The collected forms are under the Marketing section in Hubspot, its in the main navigation to the left of the Settings tab. Is there an email I can send a screenshot?

    To add the filters do I simply need to paste those 2 lines into functions.php?

    It is possible to set the Lead Source from Gravity forms using Zapier but I would prefer to use your plugin.

    Thanks again.

    Thread Starter Garet H.

    (@pagetopixel)

    My bad, I see that you can change the form names. So the only question left is how to set the Form name as the lead source for the contact.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lead Source’ is closed to new replies.