Getting Started
Angora is only available for web applications at the moment. To use it, it is necessary to add the SDK script to the head
of your index.html
and initialize it with the API key. Access your workspace, select the desired project and click on the integration
side menu to obtain the app API key.
<script>
((o, n) => {
let a = o.angora || {};
const e = n.createElement("script");
e.type = "text/javascript", e.crossOrigin = "anonymous", e.async = !0,
e.src = "https://cdn.angoralabs.com/js/angora-js.umd.min.js",
e.onload = (() => {
o.angora || console.log("[Angora] Error: could not load angora-js"),
(a = o.angora)
.init("UGFiZjBlN2MtMDZkZC01MDFhLMk0NDgtMjY0NjUwNjQzMzAxOmIyZDNhNmMwZDExTmJkZWRkNTQ5NTk0MDRiNGNmNDhjODE3M2QzZmZ=")
});
const t = n.getElementsByTagName("script")[0];
t.parentNode.insertBefore(e, t)
})(window, document);
</script>
The init method used in the snippet above takes a single parameter, your key from Angora.
After doing this, run your application and examine the console. If there are no errors, it is ready to start using the tracking methods available by Angora.