# Installing CustomFit Code Snippet

To provide a personalized experience to your website visitors, your initial step is to install the [CustomFit.ai](http://customfit.ai/) code snippet on your website. This installation is a one-time setup and doesn't require modification every time you run a new experience. To successfully complete this installation, you'll need access to your website's source HTML code.

{% hint style="warning" %}
[CustomFit.ai](http://customfit.ai/) does not recommend installing the code snippet through tag managers (such as Google Tag Manager) because that will cause the flicker (visitor can see the default content being replaced by the personalized content).
{% endhint %}

### To add the code snippet

* From the dashboard sidebar, click on '**Settings**' and then click on the '**CustomFit Setup**' option.

<figure><img src="/files/V97lEfzoYrU1kAv4tvlx" alt=""><figcaption></figcaption></figure>

* Click '**Copy**' to copy the code snippet.

<figure><img src="/files/PDFyXH91qEoCu3kYPcV1" alt=""><figcaption></figcaption></figure>

* Paste the copied code snippet into the **\<head>** tag of your website to personalize and track visitors.
* In the URL field, type the web page's URL where you placed the code snippet, then click Verify to confirm the installation. You will see the success message if the installation was successful.

<figure><img src="/files/wVyeAZs2o66PktGzu62J" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.customfit.ai/master/installing-customfit-code-snippet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
