From b37add2e994df1b10202731f5cfbe71c228fb63b Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Tue, 14 Mar 2017 00:52:44 +0100 Subject: [PATCH] Use trackable URLs for clicks to Marketplace --- plugins/CoreHome/templates/_donate.twig | 2 +- plugins/Marketplace/API.php | 2 +- plugins/Marketplace/templates/licenseform.twig | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/CoreHome/templates/_donate.twig b/plugins/CoreHome/templates/_donate.twig index c4de056774..fff06f2cc1 100755 --- a/plugins/CoreHome/templates/_donate.twig +++ b/plugins/CoreHome/templates/_donate.twig @@ -5,7 +5,7 @@ {% else %} <p>{{ 'CoreHome_DonateCall1'|translate }}</p> <p><strong>{{ 'CoreHome_DonateCall2'|translate }}</strong></p> - <p>{{ 'CoreHome_DonateCall3'|translate('<strong>','</strong>', '<a target="_blank" rel="nofollow" href="https://plugins.piwik.org/premium"><strong>', '</strong></a>')|raw }}</p> + <p>{{ 'CoreHome_DonateCall3'|translate('<strong>','</strong>', '<a target="_blank" rel="nofollow" href="https://piwik.org/recommends/premium-plugins/"><strong>', '</strong></a>')|raw }}</p> {% endif %} </div> diff --git a/plugins/Marketplace/API.php b/plugins/Marketplace/API.php index 0ebdaec905..b8a817e5ab 100644 --- a/plugins/Marketplace/API.php +++ b/plugins/Marketplace/API.php @@ -15,7 +15,7 @@ use Piwik\Plugins\Marketplace\Api\Service; use Piwik\Plugins\Marketplace\Plugins\InvalidLicenses; /** - * The Marketplace API lets you manage your license key so you can download & install in one-click <a target="_blank" rel="noreferrer" href="https://plugins.piwik.org/premium">paid premium plugins</a> you have subscribed to. + * The Marketplace API lets you manage your license key so you can download & install in one-click <a target="_blank" rel="noreferrer" href="https://piwik.org/recommends/premium-plugins/">paid premium plugins</a> you have subscribed to. * * @method static \Piwik\Plugins\Marketplace\API getInstance() */ diff --git a/plugins/Marketplace/templates/licenseform.twig b/plugins/Marketplace/templates/licenseform.twig index c43a4fd4df..17cc2d2a52 100644 --- a/plugins/Marketplace/templates/licenseform.twig +++ b/plugins/Marketplace/templates/licenseform.twig @@ -49,7 +49,7 @@ {% else %} {% if isSuperUser %} - {{ 'Marketplace_PaidPluginsNoLicenseKeyIntro'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=https://plugins.piwik.org/premium'>", "</a>")|raw }} + {{ 'Marketplace_PaidPluginsNoLicenseKeyIntro'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=https://piwik.org/recommends/premium-plugins/'>", "</a>")|raw }} <br/> @@ -60,7 +60,7 @@ <div piwik-activity-indicator loading="licenseController.isUpdating"></div> {% else %} - {{ 'Marketplace_PaidPluginsNoLicenseKeyIntroNoSuperUserAccess'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=https://plugins.piwik.org/premium'>", "</a>")|raw }} + {{ 'Marketplace_PaidPluginsNoLicenseKeyIntroNoSuperUserAccess'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=https://piwik.org/recommends/premium-plugins/'>", "</a>")|raw }} {% endif %} {% endif %} -- GitLab