Added emailClicks feature flag

closes https://github.com/TryGhost/Team/issues/1883
This commit is contained in:
Simon Backx 2022-09-12 13:32:43 +02:00
parent 083391c995
commit 5a4019b45e
3 changed files with 17 additions and 2 deletions

View File

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

View File

@ -252,8 +252,21 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Email clicks</h4>
<p class="gh-expandable-description">
Enable email clicks tracking.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="emailClicks" />
</div>
</div>
</div>
</div>
</div>
{{/if}}
</section>
</section>
</section>

View File

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