Skip Navigation

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 1 reply, has 0 voices.

Last updated by Andrey 2 months, 1 week ago.

Assisted by: Andrey.

Author Posts
November 21, 2024 at 3:03 pm #16429891

emileK-2

Background of the issue:
I would like to know how to connect two different GA4 accounts to my two domains (younify.nl & younify.eu), because I want to have different tracking for the two domains I have. I'm using the Google Site Kit plugin to connect my Google account, where all of the services are that I want to connect.

Symptoms:
No specific issue or error message was mentioned.

Questions:
How can I connect two different GA4 accounts to my two domains using the Google Site Kit plugin?

November 21, 2024 at 10:19 pm #16431255

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

One of my colleagues is going to take on your ticket. In the meantime, I would like to provide some helpful information.

WPML does not currently offer a feature for adding GA4 properties directly within its interface.

However, you can accomplish this through custom coding. For guidance, please refer to the following support ticket: https://wpml.org/forums/topic/how-to-setup-ga4-analytics-using-different-domain-per-language/#post-15228750.

For more information about the "wpml_current_language" hook, please visit https://wpml.org/faq/how-to-get-current-language-with-wpml/.