Skip to content

Commit

Permalink
Merge pull request #7792 from piwik/add_piwikpro_campaign_tags
Browse files Browse the repository at this point in the history
Add campaign tracking parameters in links to Piwik.pro domain
  • Loading branch information
Matthieu Aubry committed Apr 30, 2015
2 parents aad7b1f + 79e4ef4 commit 5b95766
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/CoreUpdater/templates/updateSuccess.twig
Expand Up @@ -24,10 +24,10 @@

<div class="row">
<div class="col-sm-4 col-sm-offset-2">
<a href="https://piwik.pro/enterprise" class="btn btn-lg btn-block">{{ 'CoreUpdater_EnterpriseSolutions'|translate }}</a>
<a href="https://piwik.pro/enterprise?pk_medium=App_Enterprise_button&pk_source=Piwik_App&pk_campaign=App_Updated" class="btn btn-lg btn-block">{{ 'CoreUpdater_EnterpriseSolutions'|translate }}</a>
</div>
<div class="col-sm-4">
<a href="https://piwik.pro/cloud" class="btn btn-lg btn-block">{{ 'CoreUpdater_CloudHosting'|translate }}</a>
<a href="https://piwik.pro/cloud?pk_medium=App_Cloud_button&pk_source=Piwik_App&pk_campaign=App_Updated" class="btn btn-lg btn-block">{{ 'CoreUpdater_CloudHosting'|translate }}</a>
</div>
</div>

Expand Down
5 changes: 3 additions & 2 deletions plugins/Feedback/templates/index.twig
Expand Up @@ -51,8 +51,9 @@
</div>

<form target="_blank" action="https://piwik.pro/contact#contact-form">
<input type="hidden" name="pk_campaign" value="piwikui-help">
<input type="hidden" name="pk_source" value="selfhosted">
<input type="hidden" name="pk_campaign" value="App_Help">
<input type="hidden" name="pk_source" value="Piwik_App">
<input type="hidden" name="pk_medium" value="App_ContactUs_button">
<input type="submit" value="{{ 'Feedback_ContactUs'|translate }}">
</form>

Expand Down
2 changes: 1 addition & 1 deletion plugins/Installation/FormSuperUser.php
Expand Up @@ -61,7 +61,7 @@ function init()
$this->addElement('checkbox', 'subscribe_newsletter_piwikpro', null,
array(
'content' => '&nbsp;&nbsp;' . Piwik::translate('Installation_PiwikProNewsletter',
array("<a href='http://piwik.pro' style='color:#444;' rel='noreferrer' target='_blank'>", "</a>")
array("<a href='http://piwik.pro?pk_medium=App_Newsletter_link&pk_source=Piwik_App&pk_campaign=App_Installation' style='color:#444;' rel='noreferrer' target='_blank'>", "</a>")
),
));

Expand Down

0 comments on commit 5b95766

Please sign in to comment.