# Setup without a Tag Manager

To set up web tracking on your website, first you need to copy the Web Tracking code snippet from the CrossEngage app.

* Go to Settings -> System Setup.
* Click on Web Tracking, and copy the code snippet.

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

You can also copy the code below; Please make sure to add your Web-Tracking Key in the last line of the code.

```javascript
(function(j,o,u,r,n,e,y){j['CrossEngageObject']=n;
j[n]=j[n]||function(){(j[n].q=j[n].q||[]).push(arguments);};
if(j[n].q)return;e=o.createElement(u);y=o.getElementsByTagName(u)[0];
e.async=!0;e.src=r;y.parentNode.insertBefore(e,y);
})(window,document,'script','https://app.crossengage.io/xng/ce.js','ce');
ce({ apiKey: 'your-api-key' });
```

Paste the code snippet to the \<head> of your website, wrapped in \<script>...\</script>.


---

# 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://documentation.crossengage.io/data-and-engagement-platform/web-tracking/web-tracking-v2/setup-without-a-tag-manager.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.
