Skip to content

Commit defbde9

Browse files
authored
Add gtag.js for GV4
1 parent e02b38a commit defbde9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

index.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
<!DOCTYPE html>
2222
<html lang="en">
2323
<head>
24+
<!-- Google tag (gtag.js) -->
25+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6720Q3EJ5S"></script>
26+
<script>
27+
window.dataLayer = window.dataLayer || [];
28+
function gtag(){dataLayer.push(arguments);}
29+
gtag('js', new Date());
30+
31+
gtag('config', 'G-6720Q3EJ5S');
32+
</script>
2433
<meta charset="UTF-8">
2534
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2635
<title>Ruchit Modi</title>

0 commit comments

Comments
 (0)