APIs & Integrations

deepakmahakale
Member

Associate contacts with pages

Hi,

 

I am working on a project where we would like to associate the contacts with a specific organization based on the page they visit (organization id is in the URL). Is there a way to get the data apart from getting the contact by API and looping through the last page versions?

 

For example a webhook to

1. Get recent page visits in the last 24 hours

or something similar to it. 

As I don't want to fetch all the users and loop the visited page every day to associate the contacts with the pages in my application.

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Associate contacts with pages

Hi @deepakmahakale,

 

To get a full picture of things here, are you looking to listen via Webhook based on either the First page seen or Last page seen property? Or are you looking to retrieve all the page url visited by the contact on their timeline? If it's the latter, currently we do not have any endpoint/webhook that pulls the contact timeline visited page url. 

 

We do however have the Analytics API that you may want to check it out but again this does not pull based on a particular contact. 

0 Upvotes