Skip to content

Commit

Permalink
Merge pull request #1638 from obscuronet/jennifer/goole-analytics#2387
Browse files Browse the repository at this point in the history
integrate Google Analytics for OG and Obscuroscan
  • Loading branch information
Jennievon authored Nov 9, 2023
2 parents 9e3cf21 + 601c4ae commit 991a2d6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions tools/obscuroscan_v2/frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon-32x32.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ObscuroScan</title>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon-32x32.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
strategy="lazyOnload"
src="https://www.googletagmanager.com/gtag/js?id='G-M82QX9RT4L'"
></script>
<script id="google-analytics">
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-M82QX9RT4L')
</script>
</head>
<body>
<div id="app"></div>
Expand Down
4 changes: 2 additions & 2 deletions tools/walletextension/api/staticOG/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<link rel="stylesheet" href="style.css" />
<script
strategy="lazyOnload"
src="https://www.googletagmanager.com/gtag/js?id='G-XL6VWGQK1P'"
src="https://www.googletagmanager.com/gtag/js?id='G-RPFRRG1S7F'"
></script>
<script id="google-analytics">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-XL6VWGQK1P");
gtag("config", "G-RPFRRG1S7F");
</script>
</head>

Expand Down

0 comments on commit 991a2d6

Please sign in to comment.