Newsletter's 'top clicked links'SOLVE
I am trying to recreate a newseltter's top clicked links report on my website using the API.
I am able to get a list of all events for the newsletter in question using https://api.hubapi.com/email/public/v1/events?eventType=CLICK&emailCampaignId=MY_CAMPAIGN_ID and then looping until hasMore is none.
I get all the results but how can I get a friendly name for the URL it returns?
I also note that the events returned for the campaign are not an exact match for the count when I do https://api.hubapi.com/email/public/v1/campaigns/MY_CAMPAIGN_ID
Any one know how I can recreate this report from the API as I feel I am 90% there but just cant do it with the data available.
Solved! Go to Solution.