Svelte Analytics

Our script has been designed to work seamlessly with Svelte, allowing developers to easily add data analysis capabilities to their projects while maintaining user privacy. Follow the instructions in this guide to integrate Proxima Analytics into your Svelte application.

Installation

To integrate Proxima into your Svelte project, simply create a new Svelte component and include the provided code. You'll be able to start taking advantage of our advanced analytics tools in no time, while ensuring that your users' data is protected.

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

Once the component has been created, you can easily import it into your layout file to make it accessible throughout your application.

routes/__layout.svelte
<script lang="ts">
  import Analytics from '$lib/analytics.svelte'
</script>

<Analytics />

<slot />