source: frontend/node_modules/workbox-google-analytics/utils/constants.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 933 bytes
RevLine 
[9af201e]1/*
2 Copyright 2018 Google LLC
3
4 Use of this source code is governed by an MIT-style
5 license that can be found in the LICENSE file or at
6 https://opensource.org/licenses/MIT.
7*/
8import '../_version.js';
9export const QUEUE_NAME = 'workbox-google-analytics';
10export const MAX_RETENTION_TIME = 60 * 48; // Two days in minutes
11export const GOOGLE_ANALYTICS_HOST = 'www.google-analytics.com';
12export const GTM_HOST = 'www.googletagmanager.com';
13export const ANALYTICS_JS_PATH = '/analytics.js';
14export const GTAG_JS_PATH = '/gtag/js';
15export const GTM_JS_PATH = '/gtm.js';
16export const COLLECT_DEFAULT_PATH = '/collect';
17// This RegExp matches all known Measurement Protocol single-hit collect
18// endpoints. Most of the time the default path (/collect) is used, but
19// occasionally an experimental endpoint is used when testing new features,
20// (e.g. /r/collect or /j/collect)
21export const COLLECT_PATHS_REGEX = /^\/(\w+\/)?collect/;
Note: See TracBrowser for help on using the repository browser.