Skip to content

Commit

Permalink
Merge pull request #83 from dwyl/google-analytics
Browse files Browse the repository at this point in the history
#54 Adds Google Analytics script
  • Loading branch information
nelsonic authored Mar 14, 2018
2 parents 92e11a5 + d53d930 commit 2960a82
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/app_web/templates/layout/app.html.eex
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115618142-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-115618142-1');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down

0 comments on commit 2960a82

Please sign in to comment.