Analytics endpoint URLs have changed!
An unexpected update in the structure of our backend has forced us to change the endpoint URLs for Analytics without previous notice. Please update them accordingly.
All of the following methods are based on a time frame or time period that must not exceed 60 days. If no time frame (start_date and end_date) is provided, the default will be the last 7 days from current day. All dates are in UTC and must be provided in UTC. No dates are converted on our side.
For now, no pagination is used in these methods. You can do pagination by playing with the start_date and end_date.
If you need more information to be returned in the methods, or you have any ideas for a new one, send us an email: help@returnam.com​
[{"country_code": "US","country_name": "United States","desktop_hits": 35,"phone_hits": 113,"tablet_hits": 0,"bot_hits": 8,"other_hits": 0,"total_hits": 156},{"country_code": "MX","country_name": "Mexico","desktop_hits": 6,"phone_hits": 3,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 9},{"country_code": "FR","country_name": "France","desktop_hits": 0,"phone_hits": 5,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 5},{"country_code": "DE","country_name": "Germany","desktop_hits": 1,"phone_hits": 0,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 1}]
[{"slug": "l634juu","created_date": "2019-09-10T12:26:59.000Z","desktop_hits": 8,"phone_hits": 7,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 15},{"slug": "og7462dg","created_date": "2019-09-05T23:04:29.000Z","desktop_hits": 3,"phone_hits": 5,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 8},{"slug": "jh45sbt","created_date": "2019-09-07T20:48:51.000Z","desktop_hits": 1,"phone_hits": 7,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"total_hits": 8}]
[{"desktop_hits": 2,"phone_hits": 6,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-09-08T00:00:00.000Z","total_hits": 8,"visited_links": 5},{"desktop_hits": 8,"phone_hits": 37,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-09-09T00:00:00.000Z","total_hits": 45,"visited_links": 19},{"desktop_hits": 12,"phone_hits": 33,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-09-10T00:00:00.000Z","total_hits": 45,"visited_links": 17}]
{"created_links": 32, // Number of total links created"total_hits": 317, // Total hits for all links"unique_hits": 307, // Unique hits for all links"hit_links": 13, // Links that have hits"hit_countries": 26 // Countries where links were opened}
{"2019-11-02": [{"country_code": "US","country_name": "United States","desktop_hits": 1,"phone_hits": 17,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-11-02T00:00:00.000Z","total_hits": 18}],"2019-11-01": [{"country_code": "US","country_name": "United States","desktop_hits": 0,"phone_hits": 12,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-11-01T00:00:00.000Z","total_hits": 12}],"2019-10-31": [{"country_code": "US","country_name": "United States","desktop_hits": 5,"phone_hits": 12,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-10-31T00:00:00.000Z","total_hits": 17},{"country_code": "FI","country_name": "Finland","desktop_hits": 1,"phone_hits": 0,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-10-31T00:00:00.000Z","total_hits": 1}],"2019-10-30": [{"country_code": "MX","country_name": "Mexico","desktop_hits": 3,"phone_hits": 1,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-10-30T00:00:00.000Z","total_hits": 4},{"country_code": "US","country_name": "United States","desktop_hits": 1,"phone_hits": 20,"tablet_hits": 0,"bot_hits": 0,"other_hits": 0,"on_date": "2019-10-30T00:00:00.000Z","total_hits": 21}]}