diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 9ecc5243..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) with minor modifications, -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [1.0.0] - 1st October 2020 -Initial plugin release. - -### Added -* Add Plausible Analytics script to your WordPress website. -* Support for custom domains script of Plausible Analytics. diff --git a/assets/src/js/admin/main.js b/assets/src/js/admin/main.js index c8b7e6c9..db656d4d 100644 --- a/assets/src/js/admin/main.js +++ b/assets/src/js/admin/main.js @@ -14,7 +14,10 @@ document.addEventListener('DOMContentLoaded', () => { createAPITokenElems: document.getElementsByClassName('plausible-create-api-token'), buttonElems: document.getElementsByClassName('plausible-analytics-button'), stepElems: document.getElementsByClassName('plausible-analytics-wizard-next-step'), - credentialsInputs: document.querySelectorAll('.plausible-analytics-credentials input'), + /** + * Credentials (Domain Name/Plugin Token) are entered in the settings screen, as well as in the wizard's slides. + */ + credentialsInputs: document.querySelectorAll('.plausible-analytics-credentials input, .plausible-analytics-wizard-step-section input'), languageDomainPulldown: document.getElementById('language_domain'), connectButtons: document.querySelectorAll('.plausible-analytics-credentials .plausible-analytics-connect-button'), @@ -68,7 +71,11 @@ document.addEventListener('DOMContentLoaded', () => { if (this.credentialsInputs.length > 0) { for (let i = 0; i < this.credentialsInputs.length; i++) { - this.credentialsInputs[i].addEventListener('keyup', this.disableConnectButton); + /** + * We're listening for input (instead of keyup) events, because the value can be changed without + * using the keyboard, e.g. by pasting it using the mouse, or a password manager. + */ + this.credentialsInputs[i].addEventListener('input', this.disableConnectButton); } } @@ -487,7 +494,7 @@ document.addEventListener('DOMContentLoaded', () => { }, /** - * Disable the Connect button if the Domain Name or API Token field is empty. + * Disable the Connect/Next button if the Domain Name or API Token field is empty. * * @param e */ @@ -495,7 +502,6 @@ document.addEventListener('DOMContentLoaded', () => { let target = e.target; let credentials = target.closest('.plausible-analytics-credentials'); let button; - let buttonIsHref = false; if (credentials !== null) { button = credentials.querySelector('.plausible-analytics-connect-button'); @@ -516,32 +522,33 @@ document.addEventListener('DOMContentLoaded', () => { return; } - let slide_id = document.location.hash; - button = document.querySelector(slide_id + ' .plausible-analytics-wizard-next-step'); - buttonIsHref = true; + /** + * The wizard's Next button is an anchor, which can't be disabled, so we're toggling its pointer-events and + * background color instead. + */ + let step = target.closest('.plausible-analytics-wizard-step-section'); - if (button === null) { + if (step === null) { return; } - if (target.value !== '') { - if (!buttonIsHref) { - button.disabled = false; - } else { - button.classList.remove('pointer-events-none'); - button.classList.replace('bg-gray-200', 'bg-indigo-600'); - } + button = step.querySelector('.plausible-analytics-wizard-next-step'); + if (button === null) { return; } - if (!buttonIsHref) { - button.disabled = true; - button.textContent = button.textContent.replace('Connected', 'Connect'); - } else { - button.classList += ' pointer-events-none'; - button.classList.replace('bg-indigo-600', 'bg-gray-200'); + let allFilled = Array.from(step.querySelectorAll('input')).every(input => input.value.trim() !== ''); + + if (allFilled) { + button.classList.remove('pointer-events-none'); + button.classList.replace('bg-gray-200', 'bg-indigo-600'); + + return; } + + button.classList.add('pointer-events-none'); + button.classList.replace('bg-indigo-600', 'bg-gray-200'); }, /** diff --git a/languages/plausible-analytics.pot b/languages/plausible-analytics.pot index 69e810b5..710a4892 100644 --- a/languages/plausible-analytics.pot +++ b/languages/plausible-analytics.pot @@ -7,7 +7,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language-Team: Plausible Analytics Team \n" -"POT-Creation-Date: 2026-01-19 15:43+0000\n" +"POT-Creation-Date: 2026-08-10 14:04+0000\n" "Report-Msgid-Bugs-To: https://github.com/plausible/wordpress/issues/new\n" "X-Poedit-Basepath: ..\n" "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" @@ -16,86 +16,111 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/AdminBar.php:72 -msgid "View Analytics" +#: src/AdminBar.php:104 +msgid "View analytics for %s" msgstr "" -#: src/AdminBar.php:84 -msgid "View Page Analytics" +#: src/AdminBar.php:118 +msgid "View page analytics" msgstr "" -#: src/AdminBar.php:99, src/Admin/Filters.php:63, src/Admin/Settings/API.php:462 +#: src/AdminBar.php:154, src/Admin/Filters.php:63, src/Admin/Settings/API.php:906 msgid "Settings" msgstr "" -#: src/Ajax.php:80 -msgid "Not allowed" +#: src/Ajax.php:49, src/Ajax.php:143, src/Ajax.php:240, src/Ajax.php:412, src/Ajax.php:436 +msgid "Not allowed." msgstr "" -#: src/Ajax.php:161, src/Ajax.php:185, src/Ajax.php:275 -msgid "Not allowed." +#: src/Ajax.php:55 +msgid "No options found." msgstr "" -#: src/Ajax.php:219 -msgid "enabled" +#: src/Ajax.php:80, src/Ajax.php:331 +msgid "Settings saved." msgstr "" -#: src/Ajax.php:219 -msgid "disabled" +#: src/Ajax.php:190 +msgid "Not allowed" msgstr "" -#: src/Ajax.php:283 +#: src/Ajax.php:248 msgid "No options found to save." msgstr "" -#: src/Ajax.php:333 -msgid "Settings saved." +#. translators: 1: URL to create a new plugin token, 2: URL to read more. +#: src/Ajax.php:363 +msgid "Oops! The Plugin Token you used is invalid. Please create a new token. Read more" msgstr "" -#: src/Ajax.php:356 -msgid "Oops! The Plugin Token you used is invalid. Please create a new token. Read more" +#: src/Ajax.php:470 +msgid "enabled" msgstr "" -#: src/Client.php:227 -msgid "Something went wrong while updating tracker script configuration: %s" +#: src/Ajax.php:470 +msgid "disabled" msgstr "" -#: src/Client.php:252 -msgid "Something went wrong, try again later." +#: src/Assets.php:96 +msgid "Please enter your plugin token to start using Plausible Analytics." msgstr "" -#: src/Client.php:298 -msgid "Something went wrong while creating Shared Link: %s" +#. translators: %s: Error message. +#: src/Client.php:69 +msgid "Something went wrong while creating Funnel: %s" +msgstr "" + +#: src/Client.php:90 +msgid "Something went wrong, try again later." msgstr "" -#: src/Client.php:336 +#. translators: %s: Error message. +#: src/Client.php:221 msgid "Something went wrong while creating Custom Event Goal: %s" msgstr "" -#: src/Client.php:353 -msgid "Something went wrong while creating Funnel: %s" +#. translators: %s: Error message. +#: src/Client.php:239 +msgid "Something went wrong while creating Shared Link: %s" msgstr "" -#: src/Client.php:370 +#. translators: %s: Error message. +#: src/Client.php:278 msgid "Something went wrong while deleting a Custom Event Goal: %s" msgstr "" -#: src/Client.php:393 +#. translators: %s: Error message. +#: src/Client.php:302 msgid "Something went wrong while enabling Pageview Properties: %s" msgstr "" -#: src/ClientFactory.php:57 +#. translators: %s: Error message. +#: src/Client.php:373 +msgid "Something went wrong while updating tracker script configuration: %s" +msgstr "" + +#: src/ClientFactory.php:38 msgid "cURL is not enabled on this server, which means API provisioning will not work. Please contact your hosting provider to enable the cURL module or allow_url_fopen." msgstr "" -#: src/InitOptions.php:178 +#: src/InitOptions.php:180 +msgctxt "Value when user is not logged in." msgid "no" msgstr "" -#: src/Admin/Actions.php:54, src/Admin/Settings/Page.php:123 +#: src/Admin/Actions.php:104, src/Admin/Settings/API.php:310, src/Admin/Settings/Page.php:489 msgid "Connected" msgstr "" +#: src/Admin/Actions.php:105, src/Admin/Settings/API.php:310, src/Admin/Settings/Page.php:488 +msgid "Connect" +msgstr "" + +#. translators: 1: Multilang plugin name (e.g. WPML), 2: URL to settings page. +#: src/Admin/Actions.php:144 +msgid "Plausible Analytics now supports %1$s! Connect each domain in %1$s to its own Plausible Analytics dashboard on the settings screen." +msgstr "" + #. translators: %s: Link to 5 star rating #: src/Admin/Filters.php:36 msgid "If you like Plausible Analytics please leave us a %s rating. It takes a minute and helps a lot. Thanks in advance!" @@ -109,415 +134,467 @@ msgstr "" msgid "Support" msgstr "" -#: src/Admin/Module.php:97 +#. translators: %s: URL to manual proxy speed module installation instructions. +#: src/Admin/Module.php:101 msgid "The proxy is enabled, but the proxy's speed module failed to install. Try installing it manually." msgstr "" -#: src/Admin/Module.php:208 +#. translators: %s: URL to list of potential proxy solutions. +#: src/Admin/Module.php:216 msgid "Please check that your proxy is functioning correctly. If you encounter any issues with tracking, click here for a list of potential solutions" msgstr "" -#: src/Admin/Module.php:224 +#. translators: 1: Proxy endpoint URL, 2: URL to Plausible support. +#: src/Admin/Module.php:233 msgid "Plausible's proxy couldn't be enabled, because the WordPress API is inaccessible. This might be due to a conflicting setting in a (security) plugin or server firewall. Make sure you whitelist requests to the Proxy's endpoint: %1$s. Contact support if you need help locating the issue." msgstr "" -#: src/Admin/Provisioning.php:91 -msgid "404" +#: src/Admin/PrivacyPolicy.php:41, src/Admin/Settings/Page.php:601, src/Admin/Settings/Page.php:602 +msgid "Analytics" +msgstr "" + +#: src/Admin/PrivacyPolicy.php:42 +msgid "Suggested text:" +msgstr "" + +#. translators: %s: URL to Plausible's data policy page. +#: src/Admin/PrivacyPolicy.php:45 +msgid "" +"We use Plausible Analytics to collect usage statistics about our website. Plausible is a privacy-focused analytics provider that does not use cookies or other persistent identifiers. \n" +" \n" +"The data collected includes information such as page URLs, referrer, device type, browser and country. The data is processed by Plausible Analytics on servers located in the European Union. \n" +" \n" +"For more details, see Plausible's data policy: %s" msgstr "" #: src/Admin/Provisioning.php:92 +msgid "404" +msgstr "" + +#: src/Admin/Provisioning.php:93 msgid "Cloaked Link: Click" msgstr "" -#: src/Admin/Provisioning.php:93, src/Integrations/FormSubmit.php:62, src/Integrations/FormSubmit.php:106 +#: src/Admin/Provisioning.php:94, src/Integrations/FormSubmit.php:68, src/Integrations/FormSubmit.php:112 msgid "WP Form Completions" msgstr "" -#: src/Admin/Provisioning.php:94 +#: src/Admin/Provisioning.php:95 msgid "WP Query Parameters" msgstr "" -#: src/Admin/Provisioning.php:95 +#: src/Admin/Provisioning.php:96 msgid "WP Search Queries" msgstr "" -#: src/Integrations/EDD.php:37, src/Integrations/WooCommerce.php:40 +#. translators: %s: URL to Plausible Analytics settings page. +#: src/Admin/Upgrades.php:443 +msgid "A plugin token for Plausible is required. Please create one from the Settings screen and upgrade Plausible CE if necessary." +msgstr "" + +#. translators: %s: URL to Plausible Analytics settings page. +#: src/Admin/Upgrades.php:461 +msgid "Almost there! Stats tracking requires a Plausible plugin token. Create one on the Settings screen, and press Connect to complete setup." +msgstr "" + +#. translators: %s: Product page URI pattern. +#: src/Integrations/EDD.php:38, src/Integrations/WooCommerce.php:41 msgid "Visit %s*" msgstr "" -#: src/Integrations/EDD.php:38 +#: src/Integrations/EDD.php:39 msgid "EDD Add to Cart" msgstr "" -#: src/Integrations/EDD.php:39 +#: src/Integrations/EDD.php:40 msgid "EDD Remove from Cart" msgstr "" -#: src/Integrations/EDD.php:40 +#: src/Integrations/EDD.php:41 msgid "EDD Start Checkout" msgstr "" -#: src/Integrations/EDD.php:41 +#: src/Integrations/EDD.php:42 msgid "EDD Complete Purchase" msgstr "" -#: src/Integrations/WooCommerce.php:41 +#: src/Integrations/WooCommerce.php:42 msgid "Woo Add to Cart" msgstr "" -#: src/Integrations/WooCommerce.php:42 +#: src/Integrations/WooCommerce.php:43 msgid "Woo Remove from Cart" msgstr "" -#: src/Integrations/WooCommerce.php:43 +#: src/Integrations/WooCommerce.php:44 msgid "Woo Start Checkout" msgstr "" -#: src/Integrations/WooCommerce.php:44 +#: src/Integrations/WooCommerce.php:45 msgid "Woo Complete Purchase" msgstr "" -#: src/Admin/Settings/API.php:63 +#: src/Admin/Settings/API.php:185, src/Admin/Settings/Page.php:316, src/Admin/Settings/Page.php:390, src/Admin/Settings/Page.php:427 +msgid "Save" +msgstr "" + +#: src/Admin/Settings/API.php:188 +msgid "Add More" +msgstr "" + +#: src/Admin/Settings/API.php:292 +msgid "Domain Name" +msgstr "" + +#: src/Admin/Settings/API.php:302, src/Admin/Settings/Page.php:479 +msgid "Plugin Token" +msgstr "" + +#: src/Admin/Settings/API.php:303, src/Admin/Settings/Page.php:480 +msgid "Create Token" +msgstr "" + +#: src/Admin/Settings/API.php:443 +msgid "Select all" +msgstr "" + +#: src/Admin/Settings/API.php:490 msgid "Welcome to Plausible Analytics" msgstr "" -#: src/Admin/Settings/API.php:64 +#: src/Admin/Settings/API.php:491 msgid "Confirm domain" msgstr "" -#: src/Admin/Settings/API.php:65 +#: src/Admin/Settings/API.php:492 msgid "Create Plugin Token" msgstr "" -#: src/Admin/Settings/API.php:66 +#: src/Admin/Settings/API.php:493 msgid "View the stats in your WP dashboard" msgstr "" -#: src/Admin/Settings/API.php:67, src/Admin/Settings/Page.php:131 +#: src/Admin/Settings/API.php:494, src/Admin/Settings/Page.php:106 msgid "Enhanced measurements" msgstr "" -#: src/Admin/Settings/API.php:68, src/Admin/Settings/Page.php:287 +#: src/Admin/Settings/API.php:495, src/Admin/Settings/Page.php:262 msgid "Enable proxy" msgstr "" -#: src/Admin/Settings/API.php:69 +#: src/Admin/Settings/API.php:496 msgid "Success!" msgstr "" -#: src/Admin/Settings/API.php:73 -msgid "

Plausible Analytics is an easy to use, open source, lightweight and privacy-friendly alternative to Google Analytics. We're super excited to have you on board!

To use our plugin, you need to register an account. To explore the product, we offer you a free 30-day trial. No credit card is required to sign up for the trial.

Already have an account? Please do follow the following steps to get the most out of your Plausible experience.

" +#. translators: 1: URL to Plausible website, 2: URL to Plausible registration page. +#: src/Admin/Settings/API.php:501 +msgid "

Plausible Analytics is an easy to use, open source, lightweight and privacy-friendly alternative to Google Analytics. We're super excited to have you on board!

To use our plugin, you need to register an account. To explore the product, we offer you a free 30-day trial. No credit card is required to sign up for the trial.

Already have an account? Please do follow the following steps to get the most out of your Plausible experience.

" msgstr "" -#: src/Admin/Settings/API.php:80 +#: src/Admin/Settings/API.php:508 msgid "Confirm your domain name as you've added it to your Plausible account." msgstr "" -#: src/Admin/Settings/API.php:84 +#: src/Admin/Settings/API.php:512 msgid "Create a Plugin Token (link opens in a new window) that we'll use to automate your setup process. Paste the Plugin Token in the field below and click \"Next\"." msgstr "" -#: src/Admin/Settings/API.php:88 +#: src/Admin/Settings/API.php:516 msgid "Would you like to view your site's stats in your WordPress dashboard?" msgstr "" -#: src/Admin/Settings/API.php:92 +#: src/Admin/Settings/API.php:520 msgid "Enable enhanced measurements to automatically track actions that visitors take on your site." msgstr "" -#: src/Admin/Settings/API.php:93 +#: src/Admin/Settings/API.php:521 msgid "Run our script as a first party connection from your domain name to count visitors who use ad blockers" msgstr "" -#: src/Admin/Settings/API.php:98 -msgid "

Congrats! Your traffic is now being counted without compromising the user experience and privacy of your visitors. You can now check out your intuitive, fast-loading and privacy-friendly dashboard.

Note that visits from logged in users aren't tracked. If you want to track visits for certain user roles, then please specify them in the plugin's settings.

Need help? Our documentation is the best place to find most answers right away.

Still haven't found the answer you're looking for? We're here to help. Please contact our support.

" +#. translators: 1: URL to Plausible statistics dashboard, 2: URL to plugin settings, 3: URL to Plausible documentation, 4: URL to Plausible contact. +#: src/Admin/Settings/API.php:527 +msgid "

Congrats! Your traffic is now being counted without compromising the user experience and privacy of your visitors. You can now check out your intuitive, fast-loading and privacy-friendly dashboard.

Note that visits from logged in users aren't tracked. If you want to track visits for certain user roles, then please specify them in the plugin's settings.

Need help? Our documentation is the best place to find most answers right away.

Still haven't found the answer you're looking for? We're here to help. Please contact our support.

" msgstr "" -#: src/Admin/Settings/API.php:111 -msgid "

Congrats! Your traffic is now being counted without compromising the user experience and privacy of your visitors.

Note that visits from logged in users aren't tracked. If you want to track visits for certain user roles, then please specify them in the plugin's settings.

Need help? Our documentation is the best place to find most answers right away.

Still haven't found the answer you're looking for? We're here to help. Please contact our support.

" +#. translators: 1: URL to plugin settings, 2: URL to Plausible documentation, 3: URL to Plausible contact. +#: src/Admin/Settings/API.php:541 +msgid "

Congrats! Your traffic is now being counted without compromising the user experience and privacy of your visitors.

Note that visits from logged in users aren't tracked. If you want to track visits for certain user roles, then please specify them in the plugin's settings.

Need help? Our documentation is the best place to find most answers right away.

Still haven't found the answer you're looking for? We're here to help. Please contact our support.

" msgstr "" -#: src/Admin/Settings/API.php:195 +#: src/Admin/Settings/API.php:625 msgid "Plausible Analytics Getting Started Guide" msgstr "" -#: src/Admin/Settings/API.php:275 +#: src/Admin/Settings/API.php:652 +msgid "You're using %s with different domains per language. You can map your other language domains to Plausible after completing this wizard in the plugin settings." +msgstr "" + +#: src/Admin/Settings/API.php:715 msgid "Visit plugin settings" msgstr "" -#: src/Admin/Settings/API.php:254 +#: src/Admin/Settings/API.php:694 msgid "Next" msgstr "" -#: src/Admin/Settings/API.php:260 +#: src/Admin/Settings/API.php:700 msgid "Setup later" msgstr "" -#: src/Admin/Settings/API.php:267, src/Admin/Settings/API.php:467 +#: src/Admin/Settings/API.php:707, src/Admin/Settings/API.php:911 msgid "Community Edition" msgstr "" -#: src/Admin/Settings/API.php:525 +#: src/Admin/Settings/API.php:969 msgid "Getting Started Guide" msgstr "" -#: src/Admin/Settings/API.php:532 +#: src/Admin/Settings/API.php:976 msgid "Documentation" msgstr "" -#: src/Admin/Settings/API.php:538 +#: src/Admin/Settings/API.php:982 msgid "Contact Support" msgstr "" -#: src/Admin/Settings/API.php:642, src/Admin/Settings/Page.php:340, src/Admin/Settings/Page.php:412, src/Admin/Settings/Page.php:447 -msgid "Save" -msgstr "" - -#: src/Admin/Settings/API.php:644 -msgid "Add More" +#. translators: %s: URL to the analytics dashboard. +#: src/Admin/Settings/Hooks.php:55 +msgid "Your analytics dashboard is available here." msgstr "" -#: src/Admin/Settings/Hooks.php:59 +#: src/Admin/Settings/Hooks.php:81 msgid "Proxy disabled." msgstr "" -#: src/Admin/Settings/Hooks.php:62 +#: src/Admin/Settings/Hooks.php:84 msgid "Proxy enabled." msgstr "" -#: src/Admin/Settings/Hooks.php:77 -msgid "After enabling this option, please check your Plausible dashboard to make sure stats are being recorded. Are stats not being recorded? Do reach out to us. We're here to help!" -msgstr "" - #: src/Admin/Settings/Hooks.php:95 -msgid "This feature is not available in Plausible Community Edition." +msgid "Please create a Plugin Token and insert it into the Plugin Token field above." msgstr "" -#: src/Admin/Settings/Hooks.php:113 -msgid "Your analytics dashboard is available here." +#: src/Admin/Settings/Hooks.php:111 +msgid "Please create a Plugin Token and insert it into the Plugin Token field above to enable this option." msgstr "" -#: src/Admin/Settings/Hooks.php:133 +#: src/Admin/Settings/Hooks.php:128 msgid "This option is disabled, because the Proxy setting is enabled under Settings." msgstr "" -#: src/Admin/Settings/Hooks.php:150 -msgid "Please create a Plugin Token and insert it into the Plugin Token field above." +#: src/Admin/Settings/Hooks.php:144 +msgid "This feature is not available in Plausible Community Edition." msgstr "" -#: src/Admin/Settings/Hooks.php:166 -msgid "Please create a Plugin Token and insert it into the Plugin Token field above to enable this option." +#. translators: %s: URL to Plausible contact page. +#: src/Admin/Settings/Hooks.php:162 +msgid "After enabling this option, please check your Plausible dashboard to make sure stats are being recorded. Are stats not being recorded? Do reach out to us. We're here to help!" msgstr "" -#: src/Admin/Settings/Page.php:91 +#: src/Admin/Settings/Page.php:83 msgid "Connect your website with Plausible Analytics" msgstr "" -#: src/Admin/Settings/Page.php:96 +#. translators: %s: URL to Plausible account settings. +#: src/Admin/Settings/Page.php:89 msgid "Ensure your domain name matches the one in your Plausible account, then create a Plugin Token (link opens in a new window) and paste it into the 'Plugin Token' field." msgstr "" -#: src/Admin/Settings/Page.php:106, src/Admin/Settings/Page.php:404 -msgid "Domain name" -msgstr "" - -#: src/Admin/Settings/Page.php:112 -msgid "Plugin Token" -msgstr "" - -#: src/Admin/Settings/Page.php:115 -msgid "Create Token" -msgstr "" - -#: src/Admin/Settings/Page.php:122 -msgid "Connect" +#: src/Admin/Settings/Page.php:99 +msgid "Language Domains" msgstr "" #. translators: %1$s replaced with outbound-links. -#: src/Admin/Settings/Page.php:135 +#: src/Admin/Settings/Page.php:111 msgid "Enable enhanced measurements that you'd like to track." msgstr "" -#: src/Admin/Settings/Page.php:141 +#: src/Admin/Settings/Page.php:117 msgid "404 error pages" msgstr "" -#: src/Admin/Settings/Page.php:149 +#: src/Admin/Settings/Page.php:125 msgid "File downloads" msgstr "" -#: src/Admin/Settings/Page.php:157 +#: src/Admin/Settings/Page.php:133 msgid "Outbound links" msgstr "" -#: src/Admin/Settings/Page.php:165 +#: src/Admin/Settings/Page.php:141 msgid "Authors and categories" msgstr "" -#: src/Admin/Settings/Page.php:173 -msgid "Cloaked affiliate links" +#: src/Admin/Settings/Page.php:149 +msgid "Ecommerce revenue" msgstr "" -#: src/Admin/Settings/Page.php:184 -msgid "Enter the (partial) URLs you'd like to track. E.g. enter /recommends/ if you want to track %s." +#: src/Admin/Settings/Page.php:164 +msgid "Form completions" msgstr "" -#: src/Admin/Settings/Page.php:195 -msgid "Ecommerce revenue" +#: src/Admin/Settings/Page.php:172 +msgid "Logged-in user status" msgstr "" -#: src/Admin/Settings/Page.php:208 -msgid "Form completions" +#: src/Admin/Settings/Page.php:180 +msgid "Search queries" msgstr "" -#: src/Admin/Settings/Page.php:216 -msgid "Logged-in user status" +#: src/Admin/Settings/Page.php:188 +msgid "Hash-based routing" msgstr "" -#: src/Admin/Settings/Page.php:224 -msgid "Query parameters" +#: src/Admin/Settings/Page.php:198 +msgid "Cloaked affiliate links" msgstr "" -#: src/Admin/Settings/Page.php:235 -msgid "Enter the query parameters you'd like to track. E.g. enter lang if you want to track %s." +#. translators: %s: Example URL to affiliate product. +#: src/Admin/Settings/Page.php:203 +msgid "Enter the (partial) URLs you'd like to track. E.g. enter /recommends/ if you want to track %s." msgstr "" -#: src/Admin/Settings/Page.php:246 -msgid "Search queries" +#: src/Admin/Settings/Page.php:218 +msgid "Query parameters" msgstr "" -#: src/Admin/Settings/Page.php:254 -msgid "Hash-based routing" +#. translators: %s: Example URL with query parameter. +#: src/Admin/Settings/Page.php:223 +msgid "Enter the query parameters you'd like to track. E.g., enter lang if you want to track %s." msgstr "" -#: src/Admin/Settings/Page.php:264 +#: src/Admin/Settings/Page.php:238 msgid "Bypass ad blockers" msgstr "" -#: src/Admin/Settings/Page.php:269 +#. translators: 1: Proxy endpoint prefix, 2: Proxy endpoint details, 3: URL to learn more about proxy. +#: src/Admin/Settings/Page.php:244 msgid "Concerned about ad blockers? You can run the Plausible script as a first-party connection from your domain name to count visitors who use ad blockers. The proxy uses WordPress' API with a randomly generated endpoint, starting with %1$s and %2$s. Learn more »" msgstr "" -#: src/Admin/Settings/Page.php:296 +#: src/Admin/Settings/Page.php:272 msgid "View your stats in your WordPress dashboard" msgstr "" -#: src/Admin/Settings/Page.php:299 +#: src/Admin/Settings/Page.php:275 msgid "View your site statistics within your WordPress Dashboard." msgstr "" -#: src/Admin/Settings/Page.php:305 +#: src/Admin/Settings/Page.php:281 msgid "View stats in WordPress" msgstr "" -#: src/Admin/Settings/Page.php:314 +#: src/Admin/Settings/Page.php:290 msgid "Exclude specific pages from being tracked" msgstr "" -#: src/Admin/Settings/Page.php:319 +#: src/Admin/Settings/Page.php:295 msgid "Exclude certain pages from being tracked. You can use an asterisk (*) to match patterns in your page URLs." msgstr "" -#: src/Admin/Settings/Page.php:326 +#: src/Admin/Settings/Page.php:302 msgid "See syntax »" msgstr "" -#: src/Admin/Settings/Page.php:330 +#: src/Admin/Settings/Page.php:306 msgid "Excluded pages" msgstr "" -#: src/Admin/Settings/Page.php:334 +#: src/Admin/Settings/Page.php:310 msgid "E.g." msgstr "" -#: src/Admin/Settings/Page.php:347 +#: src/Admin/Settings/Page.php:323 msgid "Track analytics for user roles" msgstr "" -#: src/Admin/Settings/Page.php:350 +#: src/Admin/Settings/Page.php:326 msgid "By default, visits from logged in users aren't tracked. If you want to track visits for certain user roles then please specify them below." msgstr "" -#: src/Admin/Settings/Page.php:357 +#: src/Admin/Settings/Page.php:334 msgid "Show stats dashboard to additional user roles" msgstr "" -#: src/Admin/Settings/Page.php:360 +#: src/Admin/Settings/Page.php:337 msgid "By default, the stats dashboard is only available to logged in administrators. If you want the dashboard to be available for other logged in users, then please specify them below." msgstr "" -#: src/Admin/Settings/Page.php:367 +#: src/Admin/Settings/Page.php:345 msgid "Disable menu in toolbar" msgstr "" -#: src/Admin/Settings/Page.php:370 +#: src/Admin/Settings/Page.php:348 msgid "Check this option if you don't want the Plausible Analytics menu item to be added to the toolbar at the top of the screen." msgstr "" -#: src/Admin/Settings/Page.php:377 +#: src/Admin/Settings/Page.php:355 msgid "Disable toolbar menu" msgstr "" -#: src/Admin/Settings/Page.php:387 +#: src/Admin/Settings/Page.php:365 msgid "Plausible Community Edition" msgstr "" -#: src/Admin/Settings/Page.php:393 +#: src/Admin/Settings/Page.php:371 msgid "If you're using Plausible Community Edition on your own infrastructure, enter the domain name where you installed it to enable the integration with your self-hosted instance. Multisites can use the PLAUSIBLE_SELF_HOSTED_DOMAIN constant to define the URL for all subsites at once." msgstr "" -#: src/Admin/Settings/Page.php:400 +#: src/Admin/Settings/Page.php:378 msgid "Learn more about Plausible Community Edition." msgstr "" -#: src/Admin/Settings/Page.php:420 +#: src/Admin/Settings/Page.php:382, src/Admin/Settings/Page.php:471 +msgid "Domain name" +msgstr "" + +#: src/Admin/Settings/Page.php:398 msgid "View stats in your WordPress dashboard" msgstr "" -#: src/Admin/Settings/Page.php:424 +#. translators: %s: URL to Plausible shared link documentation. +#: src/Admin/Settings/Page.php:403 msgid "Create a secure and private shared link in your Plausible account." msgstr "" -#: src/Admin/Settings/Page.php:427 +#: src/Admin/Settings/Page.php:406 msgid "Paste the shared link in the text box to view your stats in your WordPress dashboard." msgstr "" -#: src/Admin/Settings/Page.php:435 +#: src/Admin/Settings/Page.php:414 msgid "Shared link" msgstr "" -#: src/Admin/Settings/Page.php:440 -msgid "E.g. %s/share/%s?auth=XXXXXXXXXXXX" -msgstr "" - -#: src/Admin/Settings/Page.php:594, src/Admin/Settings/Page.php:595 -msgid "Analytics" +#. translators: 1: Plausible hosted domain URL, 2: Site domain name. +#: src/Admin/Settings/Page.php:420 +msgid "E.g. %1$s/share/%2$s?auth=XXXXXXXXXXXX" msgstr "" -#: src/Admin/Settings/Page.php:607, src/Admin/Settings/Page.php:608 +#: src/Admin/Settings/Page.php:614, src/Admin/Settings/Page.php:615 msgid "Plausible Analytics" msgstr "" -#: src/Admin/Settings/Page.php:665 +#: src/Admin/Settings/Page.php:660 msgid "You don't have sufficient privileges to access the analytics dashboard. Please contact administrator of the website to grant you the access." msgstr "" -#: src/Admin/Settings/Page.php:743 +#. translators: %s: URL to plugin settings page. +#: src/Admin/Settings/Page.php:739 msgid "Please click here to enable View Stats in WordPress." msgstr "" -#: src/Admin/Settings/Page.php:735 +#: src/Admin/Settings/Page.php:730 msgid "Please enter your Shared Link under Self-Hosted Settings." msgstr "" -#: src/Admin/Settings/Page.php:716 +#: src/Admin/Settings/Page.php:710 msgid "Plausible Analytics\' statistics couldn\'t be loaded. Please disable your ad blocker." msgstr "" -#: src/Admin/Provisioning/Integrations/EDD.php:57 +#: src/Admin/Provisioning/Integrations/EDD.php:61 msgid "EDD Purchase Funnel" msgstr "" -#: src/Admin/Provisioning/Integrations/WooCommerce.php:58 +#: src/Admin/Provisioning/Integrations/WooCommerce.php:62 msgid "Woo Purchase Funnel" msgstr "" diff --git a/readme.txt b/readme.txt index 760bebb5..a3dd7b0a 100644 --- a/readme.txt +++ b/readme.txt @@ -278,6 +278,9 @@ Please make sure you make a backup of your database before updating any version == Changelog == += 2.6.1 = +* Fixed: the Getting Started Guide's Next button would stay disabled after entering (or pasting) a Plugin Token. + = 2.6.0 = * Added: WPML "domain per language" compatibility. * Improved: Cloaked Affiliate Links and Query Params now have their own settings sections. Enhanced Measurements are now displayed in two columns.