ThumbnailBuilder

Add GA code

12/19/2018 10:14:34 AM

Changes

gallery.html 8(+8 -0)

help.html 8(+8 -0)

index.html 9(+9 -0)

Details

gallery.html 8(+8 -0)

diff --git a/gallery.html b/gallery.html
index c288a88..de00909 100644
--- a/gallery.html
+++ b/gallery.html
@@ -55,5 +55,13 @@
   </div>
 
 </div> <!-- /container -->
+
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-12419040-13');
+</script>
 </body>
 </html>

help.html 8(+8 -0)

diff --git a/help.html b/help.html
index 7d5dd0c..16cae16 100644
--- a/help.html
+++ b/help.html
@@ -95,5 +95,13 @@
   </div>
 
 </div> <!-- /container -->
+
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-12419040-13');
+</script>
 </body>
 </html>

index.html 9(+9 -0)

diff --git a/index.html b/index.html
index 66231b1..c535eb5 100644
--- a/index.html
+++ b/index.html
@@ -120,5 +120,14 @@
 <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
 <script src="./js/materialize-colorpicker.min.js"></script>
 <script src="./js/editCanvas.js"></script>
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12419040-13"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-12419040-13');
+</script>
 </body>
 </html>