Add referral id to URLs in twig templates
[MAILPOET-2182]
This commit is contained in:
committed by
M. Shull
parent
ee144a780d
commit
ebbcbc2015
@@ -10,7 +10,7 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a class="button button-primary" target="_blank" href="https://account.mailpoet.com?s=<%= subscriber_count %>"><%= __('Visit MailPoet.com to purchase a key') %></a>
|
||||
<a class="button button-primary" target="_blank" href="<%= add_referral_id('https://account.mailpoet.com?s=' ~ subscriber_count) %>"><%= __('Visit MailPoet.com to purchase a key') %></a>
|
||||
</p>
|
||||
</div>
|
||||
<% endblock %>
|
||||
<% endblock %>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<p><%= __('Don’t miss out on our only sale of the year which ends on November 30.') %></p>
|
||||
<p><%= __('There’s never been a better time to change gears.') %></p>
|
||||
<a
|
||||
href="https://account.mailpoet.com/?s=<%= subscriber_count %>&utm_source=plugin&utm_medium=premium&utm_campaign=discount"
|
||||
href="<%= add_referral_id('https://account.mailpoet.com/?s=' ~ subscriber_count ~ '&utm_source=plugin&utm_medium=premium&utm_campaign=discount') %>"
|
||||
class="button button-primary"
|
||||
style="font-size: 1.5em; padding: 10px 18px; height: 46px;"
|
||||
>
|
||||
@@ -131,7 +131,7 @@
|
||||
<p style="text-align: center">
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://account.mailpoet.com?s=<%= subscriber_count %>&utm_source=plugin&utm_medium=premium&utm_campaign=purchase"
|
||||
href="<%= add_referral_id('https://account.mailpoet.com?s=' ~ subscriber_count ~ '&utm_source=plugin&utm_medium=premium&utm_campaign=purchase') %>"
|
||||
class="button button-primary"
|
||||
style="font-size: 1.5em; padding: 10px 18px; height: 46px;"
|
||||
><%= __("Purchase Now") %></a>
|
||||
@@ -143,7 +143,7 @@
|
||||
|raw
|
||||
%></p>
|
||||
<p style="text-align: center"><%= __("Don’t need to use our sending service? Not a problem; we understand. You can also [link]buy the Premium[/link] features separately. Prices start at $149 per year for 1 website, $249 for 4 sites and $499 for an unlimited number of sites.")
|
||||
|replaceLinkTags('https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium', {'target' : '_blank'})
|
||||
|replaceLinkTags(add_referral_id('https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium'), {'target' : '_blank'})
|
||||
|raw
|
||||
%></p>
|
||||
</div>
|
||||
|
@@ -97,7 +97,7 @@
|
||||
</div>
|
||||
<div class="mailpoet_actions">
|
||||
<div class="mailpoet_invalid_key <% if(mss_key_valid) %> mailpoet_hidden <% endif %>">
|
||||
<a class="button-primary" href="https://www.mailpoet.com/free-plan/" rel="noopener noreferrer" target="_blank"><%= __('Free up to 1,000 subscribers') %></a>
|
||||
<a class="button-primary" href="<%= add_referral_id('https://www.mailpoet.com/free-plan') %>" rel="noopener noreferrer" target="_blank"><%= __('Free up to 1,000 subscribers') %></a>
|
||||
<%= __("or") %>
|
||||
<%=
|
||||
__("[link]enter your key[/link]")
|
||||
|
Reference in New Issue
Block a user