Example Uses
Let's take some example scenarios how this API can be used.
Securing API Key
You should keep the API key secure as that is how you can access analytics data. This API Key should not be used on your Front-End as it would give users access to add pages and web events. While it won't allow much more than that, we reccommend storing and using your API Keys securely.
Creating pages dynamically
If you would like dynamically created WebPages (such as posts) to be added automatically, you can initiate a request to the API when the form is being submitted. This would go through to your backend and can use an asynchronous API call to add the page. Typically, you would allow failure for this API call and make it non-blocking. This way, there is not added time or performance impact on your application.