Need some guidance figuring out a solution for this task:
I have a Wordpress blog that uses Hubspot for tracking purposes. My colleague has an account that can access the Analytics. I would like to use an API endpoint (via Javascript or PHP) to return the most popular 6(-ish) posts (URLs are fine), maybe within a date timeframe. I would then use that info to query WordPress and display the respective post content per client request. Ideally I would run this query just once per day, and cache the results.
I have tried creating a dev account, but I'm not sure if it being tied to my account would work, or if it needs to be created from my colleague's account. Just not sure what the next steps should be, so any assistance would be greatly appreciated!