Add 2024 param to shop links

for upgrades and purchases to distinguish the product type.

[MAILPOET-5906]
This commit is contained in:
Brezo Cordero
2024-04-02 09:34:07 -05:00
committed by David Remer
parent 4a467ff678
commit 169f5958f8

View File

@ -14,7 +14,7 @@
<% else %>
<a
target="_blank"
href="<%= 'https://account.mailpoet.com/orders/upgrade/' ~ plugin_partial_key ~ '?utm_source=plugin&utm_medium=premium&utm_campaign=upgrade&ref=plugin-upgrade-page' %>"
href="<%= 'https://account.mailpoet.com/orders/upgrade/' ~ plugin_partial_key ~ '?2024=1&utm_source=plugin&utm_medium=premium&utm_campaign=upgrade&ref=plugin-upgrade-page' %>"
class="components-button <%= button_class %> mailpoet-premium-shop-link"
>
<%= label %>
@ -24,7 +24,7 @@
<% else %>
<a
target="_blank"
href="<%= "https://account.mailpoet.com/?s=" ~ subscriber_count ~ "&email=" ~ current_wp_user_email ~ '&utm_source=plugin&utm_medium=premium&utm_campaign=purchase&ref=plugin-upgrade-page' %>"
href="<%= "https://account.mailpoet.com/?s=" ~ subscriber_count ~ "&email=" ~ current_wp_user_email ~ '&2024=1&utm_source=plugin&utm_medium=premium&utm_campaign=purchase&ref=plugin-upgrade-page' %>"
class="components-button <%= button_class %> mailpoet-premium-shop-link"
>
<%= label %>