# Hi all, can we add Croct with just a script tag? No build pipeline on our site

Asked by Anders Vik on 2024-02-10. Tags: javascript, setup, no-code.

Hi all. I run growth for a small company and our brochure site is hand-maintained
HTML behind a legacy CMS. There is no npm, no build pipeline, nothing modern to
hook into.

All the setup guides I have skimmed start with installing a package. Is there a
tag-manager style snippet I can paste into the page templates myself, or do I
need to pull in a developer for this? I can edit the HTML head directly, that
much I have access to

## 2 answers

### Answer from Priya Raghavan (2024-02-10)

You can do this yourself, no build step required. Add the script tag to the
page head and call plug with your application ID:

```html
<script src="https://cdn.croct.io/js/v1/lib/plug.js"></script>
<script>
    croct.plug({appId: 'APPLICATION_ID'});
</script>
```

Replace `APPLICATION_ID` with the ID from your dashboard. That is the entire
install. If your legacy CMS lets you inject snippets globally, put it there so
every page gets it, same idea as a GTM container tag.

#### Reply from Anders Vik (2024-02-11)

Pasted it into the global head template and it went through on the first
try. Thanks Priya.

### Answer from tomdev83 (2024-02-11)

One thing to add since you asked about doing it without a developer: the
verification is no-code too. After the snippet is live, open the Integration
page in the Croct dashboard and wait for the green "Received traffic in the
past 24 hours" indicator. If it stays grey, the snippet is not firing (usually
a template that does not include the shared head).
