> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Snippet From Dashboard

> Step-by-step site setup, site update, and script generation in Scanova dashboard

## Dashboard Flow (Feature Setup)

1. Log in to Scanova dashboard.
2. Open `Integrations`.
3. Open `Conversion Tracking` (also labeled `Web Tracking` in some UI areas).
4. Click `Create Site`.

## Create Tracking Site

In the create modal:

1. Enter `Site Name`.
2. Add `Allowed Domains` (required).
3. Save.

After save, a unique `site_id` is generated for that site.

## Update Existing Site

To update site configuration later:

1. Open `Integrations -> Conversion Tracking`.
2. Select site -> click `Edit`.
3. Update site name and/or allowed domains.
4. Save.

Use this when domains change (`www`, subdomain, staging, etc.).

## Generate Script

1. Open the site details modal.
2. Go to `Embed` section.
3. Configure toggles:
   * `debug`
   * `autoPageview`
   * `autoClicks`
   * `autoForms`
   * `autoScroll`
4. Copy generated script.

## Generated Script (Dashboard Format)

The frontend currently generates the snippet in this format:

```html theme={null}
<script>
(function(w,d,s,o,f,js,fjs){
  w['ScanovaTrackingObject']=o;w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(arguments)};
  js=d.createElement(s),fjs=d.getElementsByTagName(s)[0];
  js.id=o;js.src=f;js.async=1;fjs.parentNode.insertBefore(js,fjs);
})(window,document,'script','scanova','https://cdn.scanova.io/ct/js/qcg.min.js');

scanova('init', 'YOUR_SITE_ID', {
  debug: false,
  autoPageview: true,
  autoClicks: true,
  autoForms: true,
  autoScroll: true
});
</script>
```

<Note>
  Use the exact `site_id` generated in dashboard. Do not hardcode a value from another site.
</Note>

## Next

Continue with [Install Snippet](/conversion-tracking/client/install-snippet) for direct website setup or Google Tag Manager setup.
