• Resolved magnetiknyc

    (@magnetiknyc)


    We are using the hubspot for gravity forms plugin inside a modal window.

    We are seeing an issue with the data in hubspot because the form is passing the page ID of the modal window to hubspot, instead of the underlying page that the modal windows spawns from.

    Know of any ways to overcome this?

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

    (@soben)

    Hey magnetiknyc,

    Sorry for the delay, I was gone for the holidays…

    When I generate the page data to send out to HubSpot, I call out for third parties (such as your site/theme/plugin) to modify the data…

    However, it seems that you’re not talking about the hubspot contextual data but data specific to your form?

    You can modify the pageURL, pageName, and any context via programming,

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

    For pageURL and PageName, or any of the remaining data on the outgoing call:

    apply_filters( 'gf_hubspot_data_outgoing', $data_to_hubspot, $form, $feed );

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Form page Tracking’ is closed to new replies.