Skip to content

Commit bdf7d1c

Browse files
committed
Added GA tracking to demo site
1 parent f9d4da4 commit bdf7d1c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Mvc.JQuery.Datatables.Example/Views/Shared/_Layout.cshtml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@
7272
</div>
7373
<footer>
7474
</footer>
75+
<script>
76+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
77+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
78+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
79+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7580
81+
ga('create', 'UA-7385623-16', 'auto');
82+
ga('send', 'pageview');
83+
84+
</script>
7685
</body>
7786
</html>

0 commit comments

Comments
 (0)