-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_location_check.html
30 lines (29 loc) · 1.03 KB
/
page_location_check.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>page_location override test.</title>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J87FKXEJSN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-J87FKXEJSN', {
'page_location': 'location-by-page_location - ' + new Date(),
'page_title': document.title + ' - ' + new Date(),
'page_path': 'page-by-page_path-w/o page_location - ' + new Date()
});
</script>
</head>
<body>
<header>
<h1>Test page for page_location parameter behavior.</h1>
</header>
<main>
<div class="main-contents">In this page, the page_location parameter is populated to override actual URL path value.</div>
</main>
<footer>Here is the footer. yukoga@</footer>
</body>
</html>