From b520d50b8c739aa49c43be0c225295599664e45f Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 18 Dec 2018 20:39:34 +0100 Subject: [PATCH] Implement config constant for Google Universal Analytics tracking ID GH-87 --- src/config/internal/constants.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config/internal/constants.js b/src/config/internal/constants.js index fe4c8fd7..bbeb51a5 100644 --- a/src/config/internal/constants.js +++ b/src/config/internal/constants.js @@ -94,6 +94,17 @@ const BASE_DIR_CONFIG = `${BASE_DIR_SRC}/config`; */ const BASE_DIR_PAGES = `${BASE_DIR_SRC}/pages`; +/** + * The "Google Universal Analytics" tracking ID. + * + * @constant {string} + * @see https://analytics.google.com + * @see https://marketingplatform.google.com/about/analytics + * @see https://developers.google.com/analytics + * @since 0.4.0 + */ +const GOOGLE_UNIVERSAL_ANALYTICS_TRACKING_ID = "UA-131169071-1"; + /** * The internal type for MDX nodes. * @@ -121,6 +132,7 @@ module.exports = { BASE_DIR_CONFIG, BASE_DIR_CONTENT, BASE_DIR_PAGES, + GOOGLE_UNIVERSAL_ANALYTICS_TRACKING_ID, NODE_TYPE_MDX, REGEX_BLOG_POST_DATE };