# Custom Code

&#x20;You can define where to insert the **Analytics Code** code by template parameter **Custom Code**.

## Tracking Code

The Analytics tracking code may be directly added directly to the HTML of each page on your site, or indirectly using a tag management system such as Google Tag Manager.

In this section you can paste your tracking code to get started tracking the activity of your website users

![](/files/cJrLyApwLxYAfHlgVYO4)

![](/files/Nz2WyHAvQzSHVpUS9oJ3)

#### Before Head

Here in this section you can write internal JS which will render before tag.

![](/files/YQ9B3bPDyDqz26Cv68oJ)

#### Before Body

![](/files/akVmaaffe5suNaSPWwMX)

#### Custom CSS

![](/files/bBpVr9JxiiOzdREDGE7M)

#### Custom JS

You can include CSS files by adding file path **per line**. You can use Full URL of the CSS file, or path of the CSS file relative to the Joomla root directory.

![](/files/DRMzoT9lwCviCi61hPEM)

<br>


---

# 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://docs.jollyany.co/basics/custom-code.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.
