plausible / wordpress

Plausible Analytics WordPress plugin
https://plausible.io/wordpress-analytics-plugin
MIT License
49 stars 25 forks source link

Support Multilanguage Plugins #160

Open masteradhoc opened 11 months ago

masteradhoc commented 11 months ago

There are various tools out there for multilingual. Like f.e. WPML or Polylang...

Based on the Plausible Support there is only this option to support multilingual in plausible with languages in directories: "You can set up pageviews goals using wildcards to track traffic for different languages. For example, you can set up a goal for /en/ or /es/ so on and so forth so you can have a quick glance at the traffic for different languages you have set up on your sites. And then, when you click on one of these goals you will filter the dashboard to only show the traffic for that particular language."

For Parameters this could be used There's a way to track custom query parameters such as "?lang=en" and you can learn how to do that here: https://plausible.io/docs/custom-query-params

For different domains under the same wordpress setup there is no solution currently.

Might be a good option to show that inside the plugin in case multilingual plugins are active or right away set them up for the user.

Should support the most used ways to translate sites:

Dan0sz commented 11 months ago

In an upcoming release we're going to be working on provisioning tools to automate (currently) manual tasks.

We'll be expanding this in the future, as there are plenty more scenarios (such as the one you mentioned) where this can be applied.