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

# Add Custom Tracking Scripts — No Code Deployment Required

> System administrators can now add custom JavaScript tracking tags (e.g. Google Analytics 4, Pendo, Hotjar, etc.) directly at the tenant level, without requiring any code deployment or engineering intervention.

### **More flexibility for personalization, onboarding, and analytics**

This feature gives every organization the freedom to **monitor usage**, **measure satisfaction**, and **tailor user experiences** with maximum autonomy and compliance.

## Built-in User Onboarding and Analytics Script

By default, each tenant includes a **built-in user onboarding and analytics script** designed to enhance the user experience from day one.

It allows you to:

1. **Announce product updates** — share new releases or feature launches directly within the interface.
2. **Guide new users** — offer interactive onboarding flows to help users explore and adopt the platform.
3. **Collect user feedback** — through lightweight surveys such as NPS (Net Promoter Score).
4. **Track overall usage** — to better understand adoption and engagement patterns.

> 🔒 **Full GDPR compliance:**\
> All data collected through the default script is **fully anonymized**, and **no personal or identifiable information** is stored or shared.

## Add Your Own Custom Script

Administrators can replace or extend the default setup by inserting their **own analytics or experience tracking scripts**, tailored to their organization’s tools and needs.

### How to do it:

1. Go to the **Configuration** page in the admin console.
2. Open the **Custom Scripts** section.
3. Paste your **JavaScript snippet** (e.g. GA4, Pendo, Hotjar, etc.) in the provided field.
4. Save your changes — the script will be applied instantly, **without any code deployment**.

## Security & Compliance

* Scripts are executed **only within the tenant’s scope**, ensuring strict data separation.
* All analytics data is **anonymized** and **never shared with third parties** without explicit consent.
* The platform’s built-in mechanisms ensure **full GDPR compliance**.
* Custom scripts are **entirely controlled and managed by the administrator**.
