Adapters
English
code
medical
File size: 631 Bytes
d567cd1
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
### 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>