Skip to content

Commit

Permalink
Ajuste GA
Browse files Browse the repository at this point in the history
  • Loading branch information
RoodneyMoraes committed Nov 15, 2024
1 parent 260b213 commit 58edf17
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
<link href="src/css/custom-index.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-CMLZKJVKKY');
</script>
<script src="/src/js/google-analytics.js"></script>

</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions src/js/google-analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Google Analytics
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-CMLZKJVKKY');
3 changes: 3 additions & 0 deletions src/page/ai-900.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado AI-900</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/az-104.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado AZ-104</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/az-204.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado AZ-204</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/az-305.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado AZ-305</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/az-400.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Em Construção</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>
<body>
<h1>Estamos ainda em construção!</h1>
Expand Down
3 changes: 3 additions & 0 deletions src/page/az-900.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado AZ-900</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/dp-900.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado DP-900</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/page/sc-900.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<title>Simulado SC-900</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/custom-page.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMLZKJVKKY"></script>
<script src="/src/js/google-analytics.js"></script>
</head>

<body>
Expand Down

0 comments on commit 58edf17

Please sign in to comment.