Explorar o código

Added google analytics!

Codedgar %!s(int64=5) %!d(string=hai) anos
pai
achega
dd40c7c1da

+ 9 - 0
docs/examples/buttons.html

@@ -19,6 +19,15 @@
       content="This is the documentation for Buttons on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+    <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+    <script>
+      window.dataLayer = window.dataLayer || [];
+      function gtag(){dataLayer.push(arguments);}
+      gtag('js', new Date());
+
+      gtag('config', 'UA-176821843-1');
+    </script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/color_palette.html

@@ -23,6 +23,15 @@
       content="This is the documentation for Icons on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+    <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+    <script>
+      window.dataLayer = window.dataLayer || [];
+      function gtag(){dataLayer.push(arguments);}
+      gtag('js', new Date());
+
+      gtag('config', 'UA-176821843-1');
+    </script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/forms.html

@@ -10,6 +10,15 @@
 	<link rel="stylesheet" type="text/css" href="doc.css">
 	<meta name="description" content="This is the documentation for Forms on the Puppertino Framework, a framework that mimics Apple's design, woof!">
 	<link rel="icon" type="image/png" href="../landing-images/doggo.png">
+  <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+    <script>
+      window.dataLayer = window.dataLayer || [];
+      function gtag(){dataLayer.push(arguments);}
+      gtag('js', new Date());
+
+      gtag('config', 'UA-176821843-1');
+    </script>
 </head>
 <body class="p-layout">
 	<div class="route">

+ 9 - 0
docs/examples/icons.html

@@ -23,6 +23,15 @@
       content="This is the documentation for Icons on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/index.html

@@ -23,6 +23,15 @@
       content="This is the documentation on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/layout.html

@@ -23,6 +23,15 @@
       content="This is the documentation for Icons on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/modals.html

@@ -19,6 +19,15 @@
       content="This is the documentation for Modals on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="p-modal-background">

+ 9 - 0
docs/examples/segmented_controls.html

@@ -19,6 +19,15 @@
       content="This is the documentation for Segmented controls on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/shadows.html

@@ -19,6 +19,15 @@
       content="This is the documentation for Shadows on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/examples/tabs.html

@@ -19,6 +19,15 @@
       content="This is the documentation for Tabs on the Puppertino Framework, a framework that mimics Apple's design, woof!"
     />
     <link rel="icon" type="image/png" href="../landing-images/doggo.png" />
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176821843-1');
+</script>
   </head>
   <body class="p-layout">
     <div class="route">

+ 9 - 0
docs/index.html

@@ -117,6 +117,15 @@
         padding: 10vh 0vw 20vh;
       }
     </style>
+    <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
+    <script>
+      window.dataLayer = window.dataLayer || [];
+      function gtag(){dataLayer.push(arguments);}
+      gtag('js', new Date());
+
+      gtag('config', 'UA-176821843-1');
+    </script>
   </head>
   <body>
     <div class="cta_pupper">