> For the complete documentation index, see [llms.txt](https://docs.hockeystack.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hockeystack.com/marketing-intelligence/report-examples-and-insights/integration-and-data-ingestion/ga4-vs.-hockeystack-website-data-tracking.md).

# Website Tracking: GA4 vs. HockeyStack

#### Why HockeyStack Data May Differ from GA4

HockeyStack data will not directly match the numbers you see in GA4. This is expected and due to key differences in tracking methods and metric definitions.

**Tracking Differences**

HockeyStack uses its own fingerprinting method to identify users across sessions and devices. This approach is different from GA4’s tracking, which relies more heavily on cookies and user IDs. \
\
Additional tracking differences include:

* **Google Analytics applies a predictive algorithm** to account for users who block ads or reject cookie tracking, while HockeyStack does not.
* **HockeyStack employs more aggressive bot filtering** than Google Analytics, which can lead to lower reported traffic.
* **HockeyStack merges traffic from different devices**, whereas Google Analytics does not.
* **Deleted cookies affect tracking differently**: Google Analytics uses cookies, so if a user deletes them, GA may count them as a new visitor. HockeyStack uses fingerprinting and is less affected by deleted cookies.

**Metric Definitions**

Some core metric definitions also differ between the two platforms:

* **Sessions**
  * *HockeyStack:* 10-minute inactivity timeout
  * *GA4:* 30-minute inactivity timeout
* **Bounce**
  * *HockeyStack:* A session with only one pageview is considered a bounce
  * *GA4:* Uses an engagement-based definition—sessions with a single, actively-viewed page may still be considered engaged, reducing the bounce rate
* **Unique Users**
  * *HockeyStack:* Determined by HockeyStack’s fingerprinting
  * *GA4:* Based on Google’s user ID and cookie system

Because of these differences in tracking logic and metric definitions, it's normal to see data discrepancies between HockeyStack and GA4.

***

GA4 and Google Analytics are two names of the same tool.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hockeystack.com/marketing-intelligence/report-examples-and-insights/integration-and-data-ingestion/ga4-vs.-hockeystack-website-data-tracking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
