|
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
|
| 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 | import '../_version.js';
|
|---|
| 9 | export const QUEUE_NAME = 'workbox-google-analytics';
|
|---|
| 10 | export const MAX_RETENTION_TIME = 60 * 48; // Two days in minutes
|
|---|
| 11 | export const GOOGLE_ANALYTICS_HOST = 'www.google-analytics.com';
|
|---|
| 12 | export const GTM_HOST = 'www.googletagmanager.com';
|
|---|
| 13 | export const ANALYTICS_JS_PATH = '/analytics.js';
|
|---|
| 14 | export const GTAG_JS_PATH = '/gtag/js';
|
|---|
| 15 | export const GTM_JS_PATH = '/gtm.js';
|
|---|
| 16 | export 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)
|
|---|
| 21 | export const COLLECT_PATHS_REGEX = /^\/(\w+\/)?collect/;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.