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

# Script

<img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/xquiz-12076fbf/DabTafNhExNz5i1G/images/script.png?fit=max&auto=format&n=DabTafNhExNz5i1G&q=85&s=923f79d11790a8da6c5ce8156ab08fa5" width="1000" height="500" data-path="images/script.png" />

The Script element allows you to add custom JavaScript code snippets within your funnel. It's recommended for users with technical knowledge who want to implement specific functions.

**What it's for**

* Insert tracking codes, custom logic, or external integrations.

* Activate specific events or extra interactions in the funnel.

* Connect advanced tracking tools, such as pixels or automation scripts.

**What you can configure**

**Script Field:**

* Insert here the JavaScript code you want to execute.

* Can be third-party scripts, such as analytics, pixels, or custom functions.

**Visibility:**

* Activate or deactivate the block display in the funnel.

* When deactivated, the script content is executed, but the block doesn't appear to the user.

**Warning!**

Use this feature with caution. Misconfigured scripts can cause errors, crash the quiz, or compromise the user experience.

**Usage tip!**

This feature is recommended only for users with technical knowledge. If you're not sure what you're doing, consult an expert or tool support before using custom scripts.
