Fetch Report

The following API works if the business has provided read and analyse access to GA. 


Parameters


ak=<apikey> * (mandatory)

this is a unique identifier issued to authorised API users


bi=<business id> * (mandatory)

id of the business


Example URL

http://adapi.offergrid.com/v3/fr?ak=<apikey>&bi=<business id>


API Responses

404: Not Authenticated (In case the API Key is incorrect or missing)

500: Any other error


A JSON Formatted Response with the following

1. date of visit

2. name of the offergrid channel

2. number of visits

3. landing page url

4. browser

5. city