Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
a5e12d0d
Commit
a5e12d0d
authored
Jun 23, 2016
by
Andrew Sliwinski
Committed by
GitHub
Jun 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #600 from thisandagain/bugfix/ga
Move GA tracking code into page head
parents
f0290a76
89f8434d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
src/template.html
src/template.html
+14
-13
No files found.
src/template.html
View file @
a5e12d0d
...
...
@@ -10,10 +10,10 @@
<meta
name=
"viewport"
content=
"width={{viewportWidth}}, initial-scale=1"
>
<title>
Scratch - {{title}}
</title>
<!-- Prevent mobile Safari from making phone numbers -->
<meta
name=
"format-detection"
content=
"telephone=no"
>
<!-- Search & Open Graph-->
<meta
name=
"description"
content=
"{{description}}"
/>
<meta
name=
"google-site-verification"
content=
"m_3TAXDreGTFyoYnEmU9mcKB4Xtw5mw6yRkuJtXRKxM"
/>
...
...
@@ -40,16 +40,6 @@
<!-- Polyfills -->
<script
src=
"/js/polyfill.min.js"
></script>
</head>
<body>
<div
id=
"app"
></div>
<!-- Vendor & Initialize (Session & Localization)-->
<script
src=
"/js/common.bundle.js"
></script>
<!-- Scripts -->
<script
src=
"/js/{{name}}.intl.js"
></script>
<script
src=
"/js/{{name}}.bundle.js"
></script>
<!-- Analytics (GA) -->
<script>
...
...
@@ -63,8 +53,19 @@
});
ga
(
'
send
'
,
'
pageview
'
);
</script>
</head>
<body>
<div
id=
"app"
></div>
<!-- Vendor & Initialize (Session & Localization)-->
<script
src=
"/js/common.bundle.js"
></script>
<!-- Scripts -->
<script
src=
"/js/{{name}}.intl.js"
></script>
<script
src=
"/js/{{name}}.bundle.js"
></script>
<!--
t
ranslate title element -->
<!--
T
ranslate title element -->
<script>
var
loc
=
window
.
_locale
||
'
en
'
;
if
(
typeof
window
.
_messages
!==
'
undefined
'
&&
loc
!==
'
en
'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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