Added alpha feature flag for source attribution

- sets up feature flag for source attribution features
This commit is contained in:
Rishabh 2022-09-13 13:59:23 +05:30 committed by Rishabh Garg
parent 06e4eb0c77
commit a3a0a1c46c
3 changed files with 16 additions and 1 deletions

View File

@ -66,6 +66,7 @@ export default class FeatureService extends Service {
@feature('searchHelper') searchHelper; @feature('searchHelper') searchHelper;
@feature('emailAlerts') emailAlerts; @feature('emailAlerts') emailAlerts;
@feature('emailClicks') emailClicks; @feature('emailClicks') emailClicks;
@feature('sourceAttribution') sourceAttribution;
_user = null; _user = null;

View File

@ -239,6 +239,19 @@
</div> </div>
</div> </div>
</div> </div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Source Attribution</h4>
<p class="gh-expandable-description">
Track which external sources are driving Member Subscriptions & Paid Conversions (Needs Member Attribution flag)
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="sourceAttribution" />
</div>
</div>
</div>
<div class="gh-expandable-block"> <div class="gh-expandable-block">
<div class="gh-expandable-header"> <div class="gh-expandable-header">
<div> <div>

View File

@ -33,7 +33,8 @@ const BETA_FEATURES = [
const ALPHA_FEATURES = [ const ALPHA_FEATURES = [
'urlCache', 'urlCache',
'beforeAfterCard', 'beforeAfterCard',
'emailClicks' 'emailClicks',
'sourceAttribution'
]; ];
module.exports.GA_KEYS = [...GA_FEATURES]; module.exports.GA_KEYS = [...GA_FEATURES];