• Resolved ckhowes16

    (@ckhowes16)


    Hi – this plugin for gravity forms and hubspot has been working great. However, a wish list item — my hubspot feed shows “[user] submitted [hubspot form name] on [gravity form name].

    I’d love it to say on “page name” rather than [gravity form name] to match the same behavior as embedding a HS form directly on my site. That way, I can easily see the page that the conversion happened on.

    Is this possible to configure? Thanks!

    https://wordpress.org/plugins/gravityforms-hubspot/

Viewing 1 replies (of 1 total)
  • Plugin Author Chris Lagasse

    (@soben)

    Hey ckhowes…

    Sorry for the delay! I don’t check this often when we’re busy 🙂

    The “PageName” is able to be overridden with a filter in your theme:

    $hs_context     = array(
          'hutk'      => $hubspotutk,
          'ipAddress' => $ip_addr,
          'pageUrl'   => apply_filters( 'gf_hubspot_context_url', site_url() ),
          'pageName'  => apply_filters( 'gf_hubspot_context_name', rgars($form, 'title') ),
    );

    By default, we use the Form’s name, due to it can be on multiple different pages (or no specific page at all)… just do an add_filter for ‘gf_hubspot_context_name’, and supply your own page name (or other attributes) as you wish.

    Let me know if you have any questions,
    -Chris.

Viewing 1 replies (of 1 total)
  • The topic ‘Not passing Page Name to Hubspot Feed’ is closed to new replies.