Add documentation for custom behavioral events
chris-chalmers opened this issue · comments
I see there are classes for events but I can't tell of they are for Hubspot API Custom Behavioral Events (https://developers.hubspot.com/docs/api/analytics/events) or some other kind of event. Please add documentation for these with examples in the readme( https://github.com/HubSpot/hubspot-api-php#readme). I'd like to make the same request for Knowledge Base articles and Support tickets as they become available. Thanks!
Hi @chris-chalmers .
Now Custom Behavioral Events have not beed added to the SDK, because the API is under development.
When it's in beta, It will be add to the SDK.
@ksvirkou-hubspot It's in beta now?
Yes, I still can't added it.
@ksvirkou-hubspot Thank you for that. But shouldn't the ->events()->send() method take arguments?
The method takes a required argument - object (BehavioralEventHttpCompletionRequest).
Thanks, found it in events()->send()->behavioralEventsTrackingApi()->send()