!! IMPORTANT !! The reporting endpoints on SIM return 404 errors. The endpoints only work on Live.
To test on production: add '?env=live' to the URL of this page. Or better, a token from your own live app.
More info on the reporting can be found in the learn section.
Click button to launch function.
Click button to show code.