Aug 5, 2021 8:09 AM
Hi HubSpot people!
Hoping to get some guidance on the current best practice given the transition from legacy to new APIs and our requirements around likely needing to use multiple APIs/JS events.
We are trying to push web analytics data from a Wordpress based Learning Management System (LMS) to Hubspot. We would like to "POST/UPDATE" data so that it can show in hubspot reporting as well as adding/updating CRM contacts for LMS based registration and activity. It's important we can then trigger workflows for those contacts based on their LMS activity.
We're hoping there is a best practice here. This is pretty core to our inbound marketing strategy for a Hubspot Enterprise client.
Some details: our example use case is having a client on HS Enterprise being able to report on user web analytics and associate that activity with HS CRM contacts for efforts around a wordpress membership portal with LMS, some requirements are:
The trouble we're having is that it seems there are a few APIs and JS events tracking methods we could use to push the data. But we aren't sure what combination would serve our needs.
1. Pushing custom events for web analytics reporting
Use one of the Events APIs to create custom behavioral events with events api or simply push events with the tracking code / js api.
2. Push data to the CRM using either new CRM API, legacy Forms API, or somehow else?
It looks like we can use one of the ways to POST / PUT streams of data, like tickets, line items, custom objects to add activity in a retrievable way for those contacts
But the issue here seems to be that using custom objects may be too "beta" in the new CRM API for our purposes of needing something reliable and cleanly documented.
From our senior dev: The new CRM API seems immature, lot’s of typos in the examples, missing import/include statements, etc. Tickets and properties don’t work -- even cutting and pasting the sample code (after fixing the syntax errors).
It seems that to properly store the user's activity, such as completed a certification or started a lesson, that we should be using the CRM custom objects. But to "tag" the user as a property of "completed x certification" so that we can assign them to a workflow, requires a use of pushing new properties, which could add up quickly to lots of new properties and this client already has about 200+ CRM properties.
Any guidance on the best practice here would be super helpful!
PS I was unable to add the tag: "Enterprise 3rd Party Integration" as it said "not available here"
Aug 5, 2021 3:01 PM
Aug 5, 2021 3:11 PM
Aug 5, 2021 5:03 PM
Remington, do you recommend Legacy Behavioral Events or the new beta API there?
It does look like the "Delay" as trigger would work for our purposes with the new custom behavioral events, but seeing some discussion on limitation of the actual event as a "trigger" for the new beta API via https://community.hubspot.com/t5/HubSpot-Ideas/Use-NEW-custom-behavioral-event-as-a-Workflow-trigger...