Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 3e45e54

Browse files
authored
Update GA tracker ID for EP2021 (#1444)
* Update GA tracker ID for EP2021 * Fix GA test
1 parent 1e8819f commit 3e45e54

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

templates/conference/_googleanalytics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</script>
55
<script type="text/javascript">
66
try {
7-
var pageTracker = _gat._getTracker("UA-60323107-6"); // ep2020 tracker id
7+
var pageTracker = _gat._getTracker("G-2BBTG3QYKE"); // ep2021 tracker id
88
pageTracker._trackPageview();
99
} catch(err) {
1010
}

tests/test_homepage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,4 @@ def test_homepage_contains_googleanalytics(db, client):
103103
response = client.get(url)
104104
assert response.status_code == 200
105105

106-
EPCON_GA_ID = "UA-60323107"
107-
# NOTE(artcz) this should probably go into a variable, but good enough for
108-
assert EPCON_GA_ID in response.content.decode()
106+
assert 'google-analytics.com/ga.js' in response.content.decode()

0 commit comments

Comments
 (0)