> For the complete documentation index, see [llms.txt](https://docs.hello-lisa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hello-lisa.com/developers/analytics/adobe-appmeasurement/embed-script.md).

# Embed Script

Make sure the **Adobe AppMeasurement** script is injected into `<head>` at all your pages where you want to track LiSA events in Adobe AppMeasurement.

```html
<script
  async
  defer
  data-lsc-analytics-bridge="adobe-app-measurement"
  data-lsc-report-suite-id="{reportSuiteId}"
  src="https://widget.lisa-cdn.net/adobe-app-measurement-bridge/{clientId}"
  type="text/javascript"
></script>
```

{% hint style="warning" %}
**Necessary adjustments:**

Please ensure to replace `reportSuiteId` with your Adobe reports suite ID and `{clientId}` with your unique client identifier, provided during account setup.
{% endhint %}

### **Optional attributes**

| Attribute                  | Purpose                                                                                                                                               |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data-lsc-allowed-origins` | Comma-separated allow-list of origins accepted for the player's `postMessage` events. Omit to accept any origin (payloads are still shape-validated). |
| `data-lsc-debug`           | When present, logs each beacon (link name + contextData) to the browser console. Use for setup/QA only.                                               |

```html
<script
  async
  defer
  data-lsc-analytics-bridge="adobe-app-measurement"
  data-lsc-report-suite-id="{reportSuiteId}"
  data-lsc-allowed-origins="https://widget.lisa-cdn.net"
  data-lsc-debug
  src="https://widget.lisa-cdn.net/adobe-app-measurement-bridge/{clientId}"
  type="text/javascript"
></script>
```

### Page Performance <a href="#page-performance" id="page-performance"></a>

In order to minimize any impact on your page speed and performance, remember to include the `async` and `defer` attributes.
