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

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: 936 bytes
Line 
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*/
8
9import '../_version.js';
10
11export const QUEUE_NAME = 'workbox-google-analytics';
12export const MAX_RETENTION_TIME = 60 * 48; // Two days in minutes
13export const GOOGLE_ANALYTICS_HOST = 'www.google-analytics.com';
14export const GTM_HOST = 'www.googletagmanager.com';
15export const ANALYTICS_JS_PATH = '/analytics.js';
16export const GTAG_JS_PATH = '/gtag/js';
17export const GTM_JS_PATH = '/gtm.js';
18export const COLLECT_DEFAULT_PATH = '/collect';
19
20// This RegExp matches all known Measurement Protocol single-hit collect
21// endpoints. Most of the time the default path (/collect) is used, but
22// occasionally an experimental endpoint is used when testing new features,
23// (e.g. /r/collect or /j/collect)
24export const COLLECT_PATHS_REGEX = /^\/(\w+\/)?collect/;
Note: See TracBrowser for help on using the repository browser.