Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
77212386
Commit
77212386
authored
6 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Revert back to the old snippet and just add anonymize IP.
We don't need the extra bloat of gtag.
parent
e34ba353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site/_includes/analytics.html
+5
-5
site/_includes/analytics.html
with
5 additions
and
5 deletions
+5
-5
site/_includes/analytics.html
+
5
-
5
View file @
77212386
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-146052-10"
></script>
<script>
<script>
window
.
dataLayer
=
window
.
dataLayer
||
[];
window
.
ga
=
window
.
ga
||
function
(){(
ga
.
q
=
ga
.
q
||
[]
).
push
(
arguments
)};
ga
.
l
=+
new
Date
;
function
gtag
(){
dataLayer
.
push
(
arguments
);
}
ga
(
'
create
'
,
'
UA-146052-10
'
,
'
getbootstrap.com
'
);
g
tag
(
'
js
'
,
new
Date
()
);
g
a
(
'
set
'
,
'
anonymizeIp
'
,
true
);
g
tag
(
'
config
'
,
'
UA-146052-10
'
,
{
'
anonymize_ip
'
:
true
}
);
g
a
(
'
send
'
,
'
pageview
'
);
</script>
</script>
<script
async
src=
"https://www.google-analytics.com/analytics.js"
></script>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets