Forum Replies Created

Viewing 15 replies - 106 through 120 (of 201 total)
  • Plugin Author Chris Lagasse

    (@soben)

    Funny enough, MY code makes sure HubSpot’s API connectivity doesn’t already exist…

    if ( !class_exists('HubSpot_BaseClient') ) :
    class HubSpot_BaseClient

    Because I assume other plugins might be using the same API wrapper that I am.

    That said, still looking into this. Thanks.

    Plugin Author Chris Lagasse

    (@soben)

    Hey grayayer,

    It’s not the instances of the class but the class declaration itself. We are looking at the best solution for this, because I’d rather do it proper (use namespaces), but that drops support for php 5.2 (which wordpress still supports, as far as I’m aware, and I’ve encountered other support tickets in which they were using 5.2)

    I will likely have something pushed by EOD today, if not early next week.

    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.

    Plugin Author Chris Lagasse

    (@soben)

    Hey LasPalmas,

    Anything new on this front? Glad to help, just could definitely use more information about what you’re trying to send, and to what field types between the two, so I can compare how HubSpot expects the data, etc…

    Thanks 🙂

    Plugin Author Chris Lagasse

    (@soben)

    Hey Brandon,

    Unfortunately, this plugin is heavily dependent on your HubSpot account having the proper permissions.

    This isn’t a method to bypass upgrading to HubSpot Premium in order to use their forms.

    -Chris.

    Plugin Author Chris Lagasse

    (@soben)

    So glad you figured it out!

    I’ll keep that in mind for the next time someone has a similar issue. I also really appreciate you taking the time to update me on this 🙂

    -Chris.

    Plugin Author Chris Lagasse

    (@soben)

    Yup, the HUTK is required for that kind of data, and is included with all form submissions.

    I will try to spend some time to confirm this, but that’s how existing functionality has always worked, and was the purpose of the checkbox on the Feed page (some users wanted to be able to disable the cookie from being sent, so analytics would get ignored).

    If the cookie was not being sent, then hubspot’s analytics would never notice that the form submission is from an existing user.

    Let me know if you have any more questions, but for the sake of functionality and if this is working as expected, I am marking this ticket as resolved.

    Plugin Author Chris Lagasse

    (@soben)

    Hey,

    From HubSpot’s Form API: "While the hutk value is not required for the submission to be accepted, this token is used to associate analytics data with a contact record, so without this you will not see any page views or analytics source data for the contact record."

    It seems like the hutk (the Hubspot Tracking Cookie) is what ties the form submission with the analytics source data… so as long as that cookie is being sent (which it should be), that should resolve that.

    Perhaps doing a <?php var_dump($_COOKIE['hubspotutk']); ?> on a page, to make sure there is indeed something in that cookie?

    I am reading over the documentation more to see if I’ve somehow missed something.

    Plugin Author Chris Lagasse

    (@soben)

    I have followed up with the support ticket that leinteractive has provided. Please head over to that ticket for (potential) resolution of the problem.

    Plugin Author Chris Lagasse

    (@soben)

    Hey, Sorry for the delay.

    I thought we answered this somewhere else, too… But the HubSpot tracking cookie gets attached to the form submission. I have no control over WHAT aspects of the cookie go with it, so I’ve never been able to see reasons for this not sending the Source Data… Unless you have explicitly told it to not send the HubSpot cookie on the Feed page for this form, then it’ll always send the (full) cookie.

    There’s a hook that you can use to review the data before it gets sent, but I do leave certain aspects out of the filter (like the cookie)

    add_filter('gf_hubspot_data_outgoing', 'yourFunctionHere');

    I also allow override of the PageName and the PageURL in case you don’t like what they are by default, with the filters gf_hubspot_context_url and gf_hubspot_context_name

    However, I don’t allow manipulation of the Cookie that gets sent at this time, as that would be too unreliable.

    Plugin Author Chris Lagasse

    (@soben)

    Glad you solved it!

    That’s a common issue. We want to take some time and make a new version of this that resolves some of these annoying “having to do it in two spots” but haven’t had time yet 🙂

    Plugin Author Chris Lagasse

    (@soben)

    Hey Pierre,

    Sorry for the delay. Weekends always get in the way of support 🙂

    It’s likely that the default value isn’t applying when its an API submission (like from our plugin)…

    The best option here is unfortunately to decentralize the form by either adding a hidden field on your GF plugin, or to modify the data before it gets sent to HubSpot via our filter:

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

    We do hope to make this more centralized in the future, by making it so you don’t have to make two separate forms (one on GF, and one on HubSpot, and linking the two together). But I’m not remotely sure of a timeline for that.

    Plugin Author Chris Lagasse

    (@soben)

    Hey Paul,

    HubSpot requires their tracking cookie on the website. Do you have that enabled either via the plugin or through your code?

    That said, I am working on the plugin right now, so I’ll just run a check for it, and it’ll be fixed in the next 10 minutes.

    Thanks,
    -Chris.

    Plugin Author Chris Lagasse

    (@soben)

    We’ll work on getting it translatable ourselves.

    Appreciate the input, Paul 🙂

    Plugin Author Chris Lagasse

    (@soben)

    LasPalmas,

    Currently, only simple fields are available for the purposes of this. This should include dropdowns, checkboxes, and radio buttons, though. And don’t tend to prevent these fields from showing up, though, just unlikely that they’ll get the data in the correct format.

    This is curious, but very difficult to replicate. Can you show what your Gravity Forms and HubSpot forms both look like, so I can try to replicate and compare?

    Thanks,
    -Chris.

Viewing 15 replies - 106 through 120 (of 201 total)