mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Compare commits
29 Commits
feature/ne
...
2.9.17
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b480f879b1 | ||
|
|
f8a215d790 | ||
|
|
da69f3b2c8 | ||
|
|
fc442c1a42 | ||
|
|
cf59a6b9fd | ||
|
|
34afcd511a | ||
|
|
e2444a2e4e | ||
|
|
692516de9b | ||
|
|
2f121bef5e | ||
|
|
9e253012e6 | ||
|
|
6ef3b227b8 | ||
|
|
c3dd1886c9 | ||
|
|
69bb90a0e4 | ||
|
|
6f02965149 | ||
|
|
b8e15f691d | ||
|
|
8797d84605 | ||
|
|
1d544099f6 | ||
|
|
49a6c5f2c4 | ||
|
|
298eaa8b4b | ||
|
|
7b87038a8c | ||
|
|
fdc9171c69 | ||
|
|
f43bd100e6 | ||
|
|
fbba0e3ea5 | ||
|
|
b15695128f | ||
|
|
0870b90443 | ||
|
|
48ccab152b | ||
|
|
f3bc900f16 | ||
|
|
ec148847a9 | ||
|
|
0474af912a |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "coriolis_shipyard",
|
"name": "coriolis_shipyard",
|
||||||
"version": "2.9.16",
|
"version": "2.9.17",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "coriolis_shipyard",
|
"name": "coriolis_shipyard",
|
||||||
"version": "2.9.16",
|
"version": "2.9.17",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/EDCD/coriolis"
|
"url": "https://github.com/EDCD/coriolis"
|
||||||
|
|||||||
@@ -258,6 +258,15 @@ Route.prototype.match = function(path, params) {
|
|||||||
* @param {string} path Path to track
|
* @param {string} path Path to track
|
||||||
*/
|
*/
|
||||||
function gaTrack(path) {
|
function gaTrack(path) {
|
||||||
|
const match = path.match(/\/outfit\/(.*)(\?code=.*)/);
|
||||||
|
if (match) {
|
||||||
|
if (match[1]) {
|
||||||
|
ReactGA.ga('set', 'contentGroup1', match[1]);
|
||||||
|
}
|
||||||
|
if (match[2]) {
|
||||||
|
ReactGA.ga('set', 'contentGroup2', match[2]);
|
||||||
|
}
|
||||||
|
}
|
||||||
ReactGA.pageview(path);
|
ReactGA.pageview(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user