---
# System prepended metadata

title: Cookie tracking management
tags: [Product]

---

---
tags: Product
--- 

# Cookie tracking management

## Summary

Hubspot uses different kinds of cookies. There are three types of cookies that we can use:

1. 	**Visitor traffick analysis**: who is visiting your website, goal is getting insight in interesting potential customers
2. 	**Channel traffick analysis**: how are your marketing channels performing, goal is improving your marketing channels
3. 	**Website analysis**: metrics on page visits (e.g. duration, frequency) main goal is how pages are performing





### Links 

- [Set up website analytics](https://knowledge.hubspot.com/reports/set-up-sources-tracking?hubs_post=blog.hubspot.com/sales/website-activity&hubs_post-cta=website%20tracking&_ga=2.87877592.172295848.1655885985-1434877276.1644220740)
- [Customize cookie tracking settings and privacy policy alert through Hubspot](https://knowledge.hubspot.com/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert)
- [Install HubSpot tracking code on external website](https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code)

## 1.1 Messaging with banners (text to display)

### Simple message
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation and analyze site usage.


<details open>

 <summary>click to show/hide image</summary>

![](https://i.imgur.com/M07wbpb.png)

</details>

### Settings page

When visiting a website, information can be stored on your browser in the form of cookies. This information can be about you, your preferences and your device. Mostly, this information is used to make the website work as good as possible. Some websites use it for marketing purposes. As Alkemio does not allow any advertisements on its website, we only distinguish two types of cookies. [Learn more](https://alkem.io/legal/hub/#cookies).

Technically necessary cookies: enable you to navigate and use the basic functions and to store preferences.

Analysis cookies : enable us to determine how visitors interact with our service in order to improve user experience.

<details open>

 <summary>click to show/hide image</summary>

![](https://i.imgur.com/Re4Pzof.png)


</details>

## 1.2 What does Hubspot track - Website analytics

- HubSpot gathers data for all of your domains and sub-domains 
- [We should filter out our own activity](https://knowledge.hubspot.com/reports/exclude-traffic-from-your-site-analytics)

> HR: Why don't we have a Website Analytics button? Because we don't have a Hubspot page? <details open> <summary>click to show/hide image</summary>![](https://i.imgur.com/bZXBe5W.png)
</details>

## 1.3 What does Hubspot track - Visitor tracking?

Source: https://knowledge.hubspot.com/account/how-does-hubspot-track-visitors

There are a few things to be aware of in regards to how HubSpot handles tracking cookies:

- For each visitor, page visits are tracked. They are coupled to the email address and hence the contact in hubspot, when the person is in our database. 
> HR: Do we want this? Or is seeing views/page already enough?
- You can't track unique visitors, as people might remove cookies, use a different browser or adapt their cookie settings.
- If a contact opens a link through a marketing email, we can see this 
> HR: I think we already have this toggled on?


<details open>

 <summary> click to show/hide information from HubSpot</summary>

Visitors will be tracked anonymously even before they become contacts. If and when a visitor fills out a form, HubSpot will associate their previous page views based on the tracking cookie. If the email address filled in the form is associated with an existing contact, this visitor will be identified as the contact. This includes contacts that were imported.
If a visitor deletes their cookies, they will be considered a new visitor and will be assigned a new cookie. However, HubSpot will automatically deduplicate form submissions coming from the same email address, even if different browser cookies were associated with the submissions.

Since cookies are unique to a browser, if two people share a single computer, their submissions will be associated with the same contact record. This deduplication by cookie ensures that if a contact submits forms on your website using different email addresses, all submissions are associated with a single contact record in HubSpot.

If you want each form submission from the same browser to create a new contact, toggle the Always create new contact for new email switch on in your form options. This can be useful in specific situations, such as collecting contact details at a trade show on a single device.

:::info
Please note: when the Always create new contact for new email  setting is turned off, HubSpot will first attempt to associate the submission with an existing contact with the submitted email address. If no contact exists at that email address, HubSpot will recognize and update your contacts based on the cookies in their browsers. This may result in contacts being overwritten if the same form is submitted multiple times from the same device.
:::

HubSpot does not track unique visitors. This metric is based on user behavior and is not always reliable. A user may clear their cookies, use a different browser, or block cookies.  While these page views are still tracked, all of these actions will count toward multiple unique visitors for the same actual visitor.

HubSpot will attribute page views to a contact if the contact clicks a link in a tracked marketing email which directs to a page with the HubSpot tracking code installed. 
The HubSpot tracking code will make asynchronous requests to several HubSpot domains, such as track.hubspot.com and forms.hubspot.com. HubSpot serves these scripts on multiple domains to decrease the chance of any single script failing to load, which can occur if a visitor is using a browser extension that blocks some HubSpot domains.

The Tracking Code API can also be used to track visitors in HubSpot.

In marketing emails, HubSpot will only associate the cookie with an existing contact once. Any subsequent clicks on email links such as in a forwarded email will assign a temporary identity to the cookie.  The contact must then submit a form, or enter their information via another method for HubSpot to identify them and associate the cookie with their record.


</details>

