Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Enes Tasbasi
whats-open-web
Commits
ff6561ef
Commit
ff6561ef
authored
Aug 29, 2018
by
Andrew Hrdy
Browse files
Merge remote-tracking branch 'origin/master' into development
parents
8efd5d59
3d7f91d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
ff6561ef
# Changelog
## [2.1.4] - 2018-08-28
### Added
-
Basic matomo analytics for tracking page views
### Removed
-
Google analytics
## [2.1.3] - 2018-05-24
### Fixed
...
...
@@ -57,4 +67,5 @@
[
2.1.0
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.0.1...v2.1-Midnight-Cherry
[
2.1.1
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.1-Midnight-Cherry...v2.1.1
[
2.1.2
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.1.1...v2.1.2
[
2.1.3
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.1.2...v2.1.3
\ No newline at end of file
[
2.1.3
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.1.2...v2.1.3
[
2.1.4
]:
https://git.gmu.edu/srct/whats-open-web/compare/v2.1.3...v2.1.4
\ No newline at end of file
public/index.html
View file @
ff6561ef
...
...
@@ -32,13 +32,28 @@
<link
rel=
"shortcut icon"
href=
"./favicon.png"
>
<link
href=
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.40.1/mapbox-gl.css'
rel=
'stylesheet'
/>
</head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-112607180-1"
></script>
<body>
<script
type=
"text/javascript"
>
/*
The following code is generated by matomo to use for analytics.
*/
var
_paq
=
_paq
||
[];
_paq
.
push
([
'
trackPageView
'
]);
_paq
.
push
([
'
enableLinkTracking
'
]);
(
function
()
{
var
u
=
"
//matomo.srct.gmu.edu/
"
;
_paq
.
push
([
'
setTrackerUrl
'
,
u
+
'
piwik.php
'
]);
_paq
.
push
([
'
setSiteId
'
,
'
2
'
]);
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>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div
id=
"root"
></div>
</body>
...
...
src/index.js
View file @
ff6561ef
...
...
@@ -29,15 +29,6 @@ if (isProduction || !extension) {
enhance
=
compose
(
applyMiddleware
(
ReduxThunk
,
routerMiddleware
(
history
)),
extension
);
}
if
(
isProduction
)
{
window
.
dataLayer
=
window
.
dataLayer
||
[];
const
gtag
=
(
args
)
=>
{
window
.
dataLayer
.
push
(
args
);
};
gtag
(
'
js
'
,
new
Date
());
gtag
(
'
config
'
,
'
UA-112607180-1
'
);
}
const
store
=
createStore
(
reducers
,
enhance
);
ReactDOM
.
render
(
...
...
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