Skip to content

Commit

Permalink
Implement config constant for Google Universal Analytics tracking ID
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Dec 18, 2018
1 parent 0851bf8 commit b520d50
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/config/internal/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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
};

0 comments on commit b520d50

Please sign in to comment.