APIs & Integrations

YYang3
Member

Using webhook to subscribe to HubSpot pageview events

Hello everyone, 

Does anyone know if it's possible to use webhook api to subscribe to a page view event for a HubSpot account?

I have also set up custom behavior events to filter out the page URL, and I would like to capture this event data as they happen in my site. Appreciate any input on this!

0 Upvotes
1 Reply 1
dennisedson
HubSpot Product Team
HubSpot Product Team

Using webhook to subscribe to HubSpot pageview events

@YYang3 

You can subscribe to property changes on the contacts object.  An available property is hs_analytics_last_url.  You could set up a webhook triggered by that change.  The key detail is that it has to be a known contact.