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:
parent
d153b40c48
commit
73fec0fc93
3 changed files with 16 additions and 1 deletions
|
@ -61,6 +61,7 @@ export default class FeatureService extends Service {
|
|||
@feature('beforeAfterCard') beforeAfterCard;
|
||||
@feature('newsletterPaywall') newsletterPaywall;
|
||||
@feature('freeTrial') freeTrial;
|
||||
@feature('memberAttribution') memberAttribution;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
|
|
@ -239,6 +239,19 @@
|
|||
</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>
|
||||
{{/if}}
|
||||
|
|
|
@ -28,7 +28,8 @@ const ALPHA_FEATURES = [
|
|||
'auditLog',
|
||||
'urlCache',
|
||||
'beforeAfterCard',
|
||||
'freeTrial'
|
||||
'freeTrial',
|
||||
'memberAttribution'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
|
Loading…
Reference in a new issue