Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: update analytics

Nick Craig-Woodbeb8d5c134cf
diff --git a/docs/layouts/chrome/meta.html b/docs/layouts/chrome/meta.html
index a341c2e0b..211f41836 100644
--- a/docs/layouts/chrome/meta.html
+++ b/docs/layouts/chrome/meta.html
@@ -4,11 +4,10 @@
<meta name="description" content="{{ .Description }}">
<meta name="author" content="Nick Craig-Wood">
<link rel="shortcut icon" type="image/png" href="/img/rclone-32x32.png"/>
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-51081799-1"></script>
<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-51081799-1', 'rclone.org');
- ga('send', 'pageview');
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+ gtag('config', 'UA-51081799-1');
</script>