0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added the memberAttribution alpha flag

refs https://github.com/TryGhost/Team/issues/1801

This will allow us to develop behind a flag, and switch it to beta
down the line.
This commit is contained in:
Fabien "egg" O'Carroll 2022-08-15 16:14:02 -04:00
parent d153b40c48
commit 73fec0fc93
3 changed files with 16 additions and 1 deletions

View file

@ -61,6 +61,7 @@ export default class FeatureService extends Service {
@feature('beforeAfterCard') beforeAfterCard; @feature('beforeAfterCard') beforeAfterCard;
@feature('newsletterPaywall') newsletterPaywall; @feature('newsletterPaywall') newsletterPaywall;
@feature('freeTrial') freeTrial; @feature('freeTrial') freeTrial;
@feature('memberAttribution') memberAttribution;
_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">Member Attribution</h4>
<p class="gh-expandable-description">
Track which posts & pages are driving Member Subscriptions & Paid Conversions
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="memberAttribution" />
</div>
</div>
</div>
</div> </div>
</div> </div>
{{/if}} {{/if}}

View file

@ -28,7 +28,8 @@ const ALPHA_FEATURES = [
'auditLog', 'auditLog',
'urlCache', 'urlCache',
'beforeAfterCard', 'beforeAfterCard',
'freeTrial' 'freeTrial',
'memberAttribution'
]; ];
module.exports.GA_KEYS = [...GA_FEATURES]; module.exports.GA_KEYS = [...GA_FEATURES];