> For the complete documentation index, see [llms.txt](https://crunch.gitbook.io/developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crunch.gitbook.io/developer-docs/getting-started/gtm-installations.md).

# GTM Installations

Crunch works well if you use Google Tag Manager for your project. Follow the below steps to quickly get started with Crunch using GTM.

### Step 1:

Create a new tag in your GTM console and paste this HTML in the tag. Make sure your tag triggers on `“DOM Content Loaded”`

###

### Step 2:

**Get the `App_ID` for your project to install Crunch scripts in your project.**

> You can find your Crunch's project ID as follows —
>
> 1. During the new project creation in the script installation setup.
> 2. In the project level settings within Crunch App.
> 3. Reach out to your Crunch account manager to provide you with an ID

###

### Step 3:

Add the following script to your code —

{% code overflow="wrap" lineNumbers="true" %}

```markup
<script 
    src="https://storage.googleapis.com/crunch_tracking_script/crunchit.min.js"
    onload="init()"
    async
>
</script>
<script>
    function init() {
    try {
        window.letscrunch("YOUR_UNIQUE_APP_ID");
    } catch (error) {
        console.error("Failed to load Crunch", error);}}
</script>
```

{% endcode %}
