aboutsummaryrefslogtreecommitdiffstats
path: root/demo/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'demo/index.html')
-rw-r--r--demo/index.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/demo/index.html b/demo/index.html
index 87b6123c..4666bf8e 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -33,7 +33,7 @@
<meta name="twitter:card" content="summary_large_image" />
<!-- Docs styles -->
- <link rel="stylesheet" href="dist/demo.css?v=2" />
+ <link rel="stylesheet" href="dist/demo.css?2" />
<!-- Preload -->
<link
@@ -285,6 +285,16 @@
<!-- Docs script -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132699580-1"></script>
- <script src="dist/demo.js" crossorigin="anonymous"></script>
+ <script>
+ if (window.location.host === 'plyr.io') {
+ window.dataLayer = window.dataLayer || [];
+ function gtag() {
+ window.dataLayer.push(arguments);
+ }
+ gtag('js', new Date());
+ gtag('config', 'UA-132699580-1');
+ }
+ </script>
+ <script src="dist/demo.js?2" crossorigin="anonymous"></script>
</body>
</html>