Adapters
English
code
medical
UANN / License.php
dnnsdunca's picture
Create License.php
d567cd1 verified
raw
history blame contribute delete
631 Bytes
### Integrating Google Analytics
1. **Sign up for Google Analytics**: Go to [Google Analytics](https://analytics.google.com/) and create a new account.
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>