diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2021-10-28 09:26:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 09:26:26 +0300 |
commit | e6ad78bbbc92443d7b0db7223fbf124cb01c61fb (patch) | |
tree | 05cad4d821203b5b7535d5a826092e16b64d5ad3 /plugins/CoreAdminHome | |
parent | 1597c826d9ed8088dd40f353bf1bb8261d5a1f31 (diff) |
Add guide links on tracking code page and no data email (#18218)
* Added guide links to tracking code page and no data email
* Added noopener to links
* Updated UI test screenshot
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r-- | plugins/CoreAdminHome/CoreAdminHome.php | 1 | ||||
-rw-r--r-- | plugins/CoreAdminHome/templates/_jsTrackingCodeMissingEmail.twig | 9 | ||||
-rw-r--r-- | plugins/CoreAdminHome/templates/trackingCodeGenerator.twig | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/plugins/CoreAdminHome/CoreAdminHome.php b/plugins/CoreAdminHome/CoreAdminHome.php index 5a713664a1..a72b7f069e 100644 --- a/plugins/CoreAdminHome/CoreAdminHome.php +++ b/plugins/CoreAdminHome/CoreAdminHome.php @@ -115,5 +115,6 @@ class CoreAdminHome extends \Piwik\Plugin $translationKeys[] = 'CoreAdminHome_NoKnownFailures'; $translationKeys[] = 'CoreAdminHome_JSTracking_CodeNoteBeforeClosingHead'; $translationKeys[] = 'CoreAdminHome_JSTracking_CodeNoteBeforeClosingHeadEmail'; + $translationKeys[] = 'SitesManager_InstallationGuides'; } } diff --git a/plugins/CoreAdminHome/templates/_jsTrackingCodeMissingEmail.twig b/plugins/CoreAdminHome/templates/_jsTrackingCodeMissingEmail.twig index 0abbad62a0..65e3941610 100644 --- a/plugins/CoreAdminHome/templates/_jsTrackingCodeMissingEmail.twig +++ b/plugins/CoreAdminHome/templates/_jsTrackingCodeMissingEmail.twig @@ -3,3 +3,12 @@ <p>{{ 'CoreAdminHome_JsTrackingCodeMissingEmail1'|translate(siteName) }}</p> <p>{{ 'CoreAdminHome_JsTrackingCodeMissingEmail2'|translate(closingHeadTag)|raw }}</p> <p>{{ 'CoreAdminHome_JsTrackingCodeMissingEmail3'|translate('<a href="'~trackingCodeUrl~'">', '</a>', '<a href="https://developer.matomo.org/guides/tracking-javascript-guide">', '</a>')|raw }}</p> +<p>{{ 'SitesManager_InstallationGuides'|translate }} : + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-wordpress/" target="_blank" rel="noopener">WordPress</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-integrate-matomo-with-squarespace-website/" taret="_blank" rel="noopener">Squarespace</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-analytics-tracking-code-on-wix/" target="_blank" rel="noopener">Wix</a> | + <a href="https://matomo.org/faq/how-to-install/faq_19424/" target="_blank" rel="noopener">SharePoint</a> + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-analytics-tracking-code-on-joomla/" target="_blank" rel="noopener">Joomla</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-my-shopify-store/" target="_blank" rel="noopener">Shopify</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-within-gtm-google-tag-manager/" target="_blank" rel="noopener">Google Tag Manager</a> +</p>
\ No newline at end of file diff --git a/plugins/CoreAdminHome/templates/trackingCodeGenerator.twig b/plugins/CoreAdminHome/templates/trackingCodeGenerator.twig index d390b56940..5ffaa308f0 100644 --- a/plugins/CoreAdminHome/templates/trackingCodeGenerator.twig +++ b/plugins/CoreAdminHome/templates/trackingCodeGenerator.twig @@ -44,6 +44,15 @@ {{ 'CoreAdminHome_JSTrackingIntro4'|translate('<a href="#image-tracking-link">','</a>')|raw }} <br/><br/> {{ 'CoreAdminHome_JSTrackingIntro5'|translate('<a rel="noreferrer noopener" target="_blank" href="https://developer.matomo.org/guides/tracking-javascript-guide">','</a>')|raw }} + <br><br/> + {{ 'SitesManager_InstallationGuides'|translate }} : + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-wordpress/" target="_blank" rel="noopener">WordPress</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-integrate-matomo-with-squarespace-website/" taret="_blank" rel="noopener">Squarespace</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-analytics-tracking-code-on-wix/" target="_blank" rel="noopener">Wix</a> | + <a href="https://matomo.org/faq/how-to-install/faq_19424/" target="_blank" rel="noopener">SharePoint</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-analytics-tracking-code-on-joomla/" target="_blank" rel="noopener">Joomla</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-my-shopify-store/" target="_blank" rel="noopener">Shopify</a> | + <a href="https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-within-gtm-google-tag-manager/" target="_blank" rel="noopener">Google Tag Manager</a> </p> <div piwik-field uicontrol="site" name="js-tracker-website" |