The OnSite Analytics API enables you to get OnSite campaign-level and overall analytics of your OnSite campaigns from your own back-end without using Insider’s platform.
Using this API, you can also change the filter values on your OnSite campaign analytics.
You might find these articles helpful to get a better understanding: