This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're using WPML with the 'different domain per language' setup and notice that after switching languages, the homepage URL includes Google tracking parameters from Google Ads or Google Analytics, and you want to keep the URL clean without these extra query strings.
Solution:
First, ensure that the issue isn't related to WPML by following these steps:
1. Create a backup of your website or test on a staging version to avoid disrupting a live site.
2. Switch to the default theme, such as 'TwentyTwenty', by navigating to 'WordPress Dashboard > Appearance > Themes'.
3. Go to 'WordPress Dashboard > Plugins' and deactivate all plugins except WPML and its add-ons.
4. Check if the issue still occurs.
5. If the issue is resolved, reactivate your plugins one by one to identify the problematic plugin.
For more details on WPML's domain setup, visit WPML domain setup documentation.
Additionally, provide debug information if needed by following this guide: How to provide WPML debug information.
Since the parameters are added by Google Analytics, we recommend contacting the support service of the Google Analytics plugin to resolve this issue.
If this solution does not apply to your case, or if it seems outdated, please check related known issues at WPML known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if further assistance is needed. Visit our support forum at WPML Support Forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 3 replies, has 1 voice.
Last updated by 1 week, 2 days ago.
Assisted by: Carlos Rojas.