From bdee388dbda4c4f411e75b2476fc1806a0dba35e Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 16 May 2019 07:55:33 -0700 Subject: [PATCH] Adding local env config variables --- config/webpack.dev.config.js | 5 ++++- config/webpack.prod.config.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/webpack.dev.config.js b/config/webpack.dev.config.js index bc29eb2..8d73417 100755 --- a/config/webpack.dev.config.js +++ b/config/webpack.dev.config.js @@ -122,10 +122,13 @@ module.exports = Merge.smart(commonConfig, { TWITTER_URL: 'https://twitter.com', YOU_TUBE_URL: 'https://www.youtube.com', LINKED_IN_URL: 'https://www.linkedin.com', - GOOGLE_PLUS_URL: 'https://plus.google.com', REDDIT_URL: 'https://www.reddit.com', APPLE_APP_STORE_URL: 'https://www.apple.com/ios/app-store/', GOOGLE_PLAY_URL: 'https://play.google.com/store', + ENTERPRISE_MARKETING_URL: 'https://business.edx.org', + ENTERPRISE_MARKETING_UTM_SOURCE: 'gradebook.edx.org', + ENTERPRISE_MARKETING_UTM_CAMPAIGN: 'edX.org Referral', + ENTERPRISE_MARKETING_FOOTER_UTM_MEDIUM: 'Footer', }), // when the --hot option is not passed in as part of the command // the HotModuleReplacementPlugin has to be specified in the Webpack configuration diff --git a/config/webpack.prod.config.js b/config/webpack.prod.config.js index aadc214..c22cd21 100755 --- a/config/webpack.prod.config.js +++ b/config/webpack.prod.config.js @@ -137,10 +137,13 @@ module.exports = Merge.smart(commonConfig, { TWITTER_URL: null, YOU_TUBE_URL: null, LINKED_IN_URL: null, - GOOGLE_PLUS_URL: null, REDDIT_URL: null, APPLE_APP_STORE_URL: null, GOOGLE_PLAY_URL: null, + ENTERPRISE_MARKETING_URL: null, + ENTERPRISE_MARKETING_UTM_SOURCE: null, + ENTERPRISE_MARKETING_UTM_CAMPAIGN: null, + ENTERPRISE_MARKETING_FOOTER_UTM_MEDIUM: null, }), ], });