Angular Analytics

Integrating Proxima Analytics into your Angular application is easy and straightforward. One way of doing this is by installing the Proxima Analytics scripts as you would with any other single page application. You can open the `src/index.html` file and add the Proxima Analytics tracking code to the `<head>…</head>` section.

<head>
<script
    is:inline
    defer
    src="https://buzz.proxima.so/script.js"
    data-site="XXXX"></script>
</head>

By adding the script in this way, it will be loaded as soon as the page loads, which ensures that Proxima Analytics starts tracking immediately. Also, by adding the defer attribute to the script, it will not block the loading of the rest of the content on the page, improving the overall performance of your application. You can also use the `is:inline` attribute to ensure that the script is loaded in the same order as the rest of the content, this will avoid any race conditions that may occur.