...
- A new collector object is initialised, with the API key pair values and Analytics URL passed into it
- Your custom event objects are formatted to your choosing
- using the logEvent() Method, your single event is sent via your custom collector to the Simple Analytics Collector
- using the logEvents() Method, your multiple events are sent via your custom collector to the Simple Analytics Collector
Collectors
The SDK makes use of two seperate collectors, which we'll reference individually throughout this guide. These are:
...
Afterwards, we'll show you how to format and start logging your own custom events.