|
|
|
|
|
1. **Sign up for Google Analytics**: Go to [Google Analytics](https: |
|
2. **Get Tracking ID**: Follow the setup process to get your Tracking ID (looks like `UA-XXXXX-Y`). |
|
3. **Add Tracking to Hugging Face Model**: Edit your `README.md` or `model_card.md` to include the tracking script: |
|
|
|
```html |
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y"></script> |
|
<script> |
|
window.dataLayer = window.dataLayer || []; |
|
function gtag(){dataLayer.push(arguments);} |
|
gtag('js', new Date()); |
|
gtag('config', 'UA-XXXXX-Y'); |
|
</script> |
|
|