Create License.php
Browse files- License.php +14 -0
License.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Integrating Google Analytics
|
2 |
+
|
3 |
+
1. **Sign up for Google Analytics**: Go to [Google Analytics](https://analytics.google.com/) and create a new account.
|
4 |
+
2. **Get Tracking ID**: Follow the setup process to get your Tracking ID (looks like `UA-XXXXX-Y`).
|
5 |
+
3. **Add Tracking to Hugging Face Model**: Edit your `README.md` or `model_card.md` to include the tracking script:
|
6 |
+
|
7 |
+
```html
|
8 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y"></script>
|
9 |
+
<script>
|
10 |
+
window.dataLayer = window.dataLayer || [];
|
11 |
+
function gtag(){dataLayer.push(arguments);}
|
12 |
+
gtag('js', new Date());
|
13 |
+
gtag('config', 'UA-XXXXX-Y');
|
14 |
+
</script>
|