Skip to content

Commit eb66e93

Browse files
committed
feat(analytics): added google analytics to documentation site
we want to see how users / devs use the documentation to make improvements
1 parent a9449b1 commit eb66e93

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

resources/views/layouts/app.blade.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,19 @@
22
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M49WX379LE"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-M49WX379LE');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta name="viewport" content="width=device-width, initial-scale=1">
17+
<meta name="google-site-verification" content="RC96bUWVuDpuroWlQAckYhJ4GOCR0g5U7vaREIiZm8I" />
718
<title>MapMarker</title>
819
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
920

0 commit comments

Comments
 (0)