Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
823fe4ea
Commit
823fe4ea
authored
Sep 26, 2019
by
Zac Wood
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '195-analytics' into 'master'
Added matomo analytics Closes
#195
See merge request
!137
parents
5f59be69
e629c410
Pipeline
#4804
passed with stages
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
go/go/templates/layouts/base.html
go/go/templates/layouts/base.html
+16
-0
No files found.
go/go/templates/layouts/base.html
View file @
823fe4ea
...
...
@@ -51,6 +51,22 @@
<script
src=
"{% static "
js
/
jquery.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
clipboard.min.js
"
%}"
></script>
<!-- Matomo -->
<script
type=
"text/javascript"
>
var
_paq
=
_paq
||
[];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq
.
push
([
'
trackPageView
'
]);
_paq
.
push
([
'
enableLinkTracking
'
]);
(
function
()
{
var
u
=
"
//matomo.srct.gmu.edu/
"
;
_paq
.
push
([
'
setTrackerUrl
'
,
u
+
'
piwik.php
'
]);
_paq
.
push
([
'
setSiteId
'
,
'
4
'
]);
var
d
=
document
,
g
=
d
.
createElement
(
'
script
'
),
s
=
d
.
getElementsByTagName
(
'
script
'
)[
0
];
g
.
type
=
'
text/javascript
'
;
g
.
async
=
true
;
g
.
defer
=
true
;
g
.
src
=
u
+
'
piwik.js
'
;
s
.
parentNode
.
insertBefore
(
g
,
s
);
})();
</script>
<!-- End Matomo Code -->
</head>
<!-- Load in the body of a Go page -->
...
...
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