# Install the snippet

> The snippet is a short piece of code that you add to your website once. After that, sitebrunch counts every visit. This article shows you how.

## Requirements

- You have created a project with the focus User Experience or Both.

- You can edit your website's code, or you have someone who does it for you. For example your agency or your developers.

## Copy the snippet

Right after creating the project, you are already on the right page. Later you'll find it in the menu under “Settings” in “Code Snippet”.

Under “Step 1 Copy code snippet” you'll find your personal code. Click “Copy code”.

![Screenshot sitebrunch: The “Embed code snippet” page with step 1 “Copy code snippet”, the code for vinodo.de and the “Copy code” button.](https://website-assets.sitebrunch.com/storage/hilfecenter/ux/erste-schritte/snippet-seite.jpg)

## Add the snippet

Paste the code into the HTML head of your website, that is, the area between <head> and </head>. It must load on every page. Most shop systems and CMSs have a field for custom code in the header for this.

> **Note:** The “Cookie-based snippet” on the same page is optional. You only need it if you want to attribute conversions across several visits. It sets cookies and may only be loaded after consent.

## Add the privacy text

Under “Step 2 Copy privacy text” you'll find a sample text for your privacy policy. Copy it and check whether it fits your website. The text is not a substitute for legal advice.

![Screenshot sitebrunch: Step 2 “Copy privacy text” with the sample text “Privacy-friendly usage analysis” for the privacy policy.](https://website-assets.sitebrunch.com/storage/hilfecenter/ux/erste-schritte/snippet-datenschutztext.jpg)

## Check that it works

As soon as the first visit to your website comes in, sitebrunch knows the snippet is installed. The page doesn't refresh by itself. Reload it, and step 1 is ticked off.

The next article explains what you'll then see in the overview.

---

- Previous article: [Set up a project](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/set-up-a-project.md)
- Next article: [From install to first visit](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/from-install-to-first-visit.md)

## Help Center: contents

- [Accessibility](https://www.sitebrunch.com/en/hilfecenter/accessibility.md)
  - [Getting started](https://www.sitebrunch.com/en/hilfecenter/accessibility/getting-started.md)
    - [Create a project](https://www.sitebrunch.com/en/hilfecenter/accessibility/getting-started/create-a-project.md)
    - [Set up WCAG monitoring](https://www.sitebrunch.com/en/hilfecenter/accessibility/getting-started/set-up-wcag-monitoring.md)
    - [Check a PDF](https://www.sitebrunch.com/en/hilfecenter/accessibility/getting-started/check-a-pdf.md)
  - [WCAG monitoring](https://www.sitebrunch.com/en/hilfecenter/accessibility/wcag-monitoring.md)
    - [The monitoring overview](https://www.sitebrunch.com/en/hilfecenter/accessibility/wcag-monitoring/the-monitoring-overview.md)
    - [Add pages to monitoring](https://www.sitebrunch.com/en/hilfecenter/accessibility/wcag-monitoring/add-pages-to-monitoring.md)
    - [Email notifications](https://www.sitebrunch.com/en/hilfecenter/accessibility/wcag-monitoring/email-notifications.md)
  - [Audits](https://www.sitebrunch.com/en/hilfecenter/accessibility/audits.md)
    - [Create an audit](https://www.sitebrunch.com/en/hilfecenter/accessibility/audits/create-an-audit.md)
    - [Complete a testing step](https://www.sitebrunch.com/en/hilfecenter/accessibility/audits/complete-a-test-step.md)
    - [The audit report](https://www.sitebrunch.com/en/hilfecenter/accessibility/audits/the-audit-report.md)
    - [Create a re-audit](https://www.sitebrunch.com/en/hilfecenter/accessibility/audits/create-a-re-audit.md)
- [User Experience](https://www.sitebrunch.com/en/hilfecenter/user-experience.md)
  - [Getting started](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started.md)
    - [Set up a project](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/set-up-a-project.md)
    - [Install the snippet](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/install-the-snippet.md) (this article)
    - [From install to first visit](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/from-install-to-first-visit.md)
    - [Read the weekly overview](https://www.sitebrunch.com/en/hilfecenter/user-experience/getting-started/read-the-weekly-overview.md)
  - [Metrics](https://www.sitebrunch.com/en/hilfecenter/user-experience/metrics.md)
    - [The Metrics overview](https://www.sitebrunch.com/en/hilfecenter/user-experience/metrics/the-metrics-overview.md)
    - [Filter and compare](https://www.sitebrunch.com/en/hilfecenter/user-experience/metrics/filter-and-compare.md)
    - [Pages and sections](https://www.sitebrunch.com/en/hilfecenter/user-experience/metrics/pages-and-sections.md)
    - [Analyze campaigns](https://www.sitebrunch.com/en/hilfecenter/user-experience/metrics/analyze-campaigns.md)
  - [Conversions](https://www.sitebrunch.com/en/hilfecenter/user-experience/conversions.md)
    - [Set up events and goals](https://www.sitebrunch.com/en/hilfecenter/user-experience/conversions/set-up-events-and-goals.md)
    - [The Conversions overview](https://www.sitebrunch.com/en/hilfecenter/user-experience/conversions/the-conversions-overview.md)
    - [Analyze interactions](https://www.sitebrunch.com/en/hilfecenter/user-experience/conversions/analyze-interactions.md)
    - [Create a funnel](https://www.sitebrunch.com/en/hilfecenter/user-experience/conversions/create-a-funnel.md)
  - [Journeys](https://www.sitebrunch.com/en/hilfecenter/user-experience/journeys.md)
    - [Journeys at a glance](https://www.sitebrunch.com/en/hilfecenter/user-experience/journeys/journeys-at-a-glance.md)
    - [See where visits go](https://www.sitebrunch.com/en/hilfecenter/user-experience/journeys/see-where-visits-go.md)
    - [Create a route](https://www.sitebrunch.com/en/hilfecenter/user-experience/journeys/create-a-route.md)
    - [Read backwards from a goal](https://www.sitebrunch.com/en/hilfecenter/user-experience/journeys/read-backwards-from-a-goal.md)
  - [Live Heatmaps](https://www.sitebrunch.com/en/hilfecenter/user-experience/live-heatmaps.md)
    - [Live Heatmaps at a glance](https://www.sitebrunch.com/en/hilfecenter/user-experience/live-heatmaps/live-heatmaps-at-a-glance.md)
    - [Read clicks](https://www.sitebrunch.com/en/hilfecenter/user-experience/live-heatmaps/read-clicks.md)
    - [Scroll depth and devices](https://www.sitebrunch.com/en/hilfecenter/user-experience/live-heatmaps/scroll-depth-and-devices.md)
    - [Filter by source and goal](https://www.sitebrunch.com/en/hilfecenter/user-experience/live-heatmaps/filter-by-source-and-goal.md)
