> ## Documentation Index
> Fetch the complete documentation index at: https://magicpatterns.mintlify.site/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Analytics

> Learn how to integrate Google Analytics into your Magic Patterns design

## Step by Step Tutorial

Google Analytics helps you understand how people use your website or app.

For installing Google Analytics, we recommend prompting your code snippet using the <a href="https://support.google.com/webmasters/answer/9008080?hl=en#meta_tag_verification" target="_blank">meta tag method</a>.

```Example Installing Google Analytics Prompt theme={null}
Please help me implement Google Analytics using the react-ga4 package. Here is the snippet from Google:

<the code snippet from Google>
```
