Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
de8520da
Commit
de8520da
authored
Dec 25, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add analytics to new docs theme.
parent
35ec9f81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
docsite/_themes/srtd/layout.html
+28
-0
No files found.
docsite/_themes/srtd/layout.html
View file @
de8520da
...
...
@@ -13,6 +13,20 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<!-- begin analytics -->
<script
type=
"text/javascript"
>
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'_setAccount'
,
'UA-29861888-2'
]);
_gaq
.
push
([
'_trackPageview'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'script'
);
ga
.
type
=
'text/javascript'
;
ga
.
async
=
true
;
ga
.
src
=
(
'https:'
==
document
.
location
.
protocol
?
'https://ssl'
:
'http://www'
)
+
'.google-analytics.com/ga.js'
;
var
s
=
document
.
getElementsByTagName
(
'script'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
</script>
<!-- end analytics -->
{% block htmltitle %}
<title>
{{ title|striptags|e }}{{ titlesuffix }}
</title>
{% endblock %}
...
...
@@ -133,5 +147,19 @@
</div>
{% include "versions.html" %}
<!-- begin analytics -->
<script
type=
"text/javascript"
>
var
_hsq
=
_hsq
||
[];
_hsq
.
push
([
"setContentType"
,
"standard-page"
]);
(
function
(
d
,
s
,
i
,
r
)
{
if
(
d
.
getElementById
(
i
)){
return
;}
var
n
=
d
.
createElement
(
s
),
e
=
document
.
getElementsByTagName
(
s
)[
0
];
n
.
id
=
i
;
n
.
src
=
'//js.hs-analytics.net/analytics/'
+
(
Math
.
ceil
(
new
Date
()
/
r
)
*
r
)
+
'/330046.js'
;
e
.
parentNode
.
insertBefore
(
n
,
e
);
})(
document
,
"script"
,
"hs-analytics"
,
300000
);
</script>
<!-- end analytics -->
</body>
</html>
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