Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1291543

    Dear Kriesi Team!

    I’ve created a new website in 3 different languages using the WPML plugin and Enfold Theme.
    I’m not sure how to insert the google analytics when having a multilingual site. Searched the internet but nothing clear when it comes to the Enfold theme.

    What I’ve done is this:

    In the wordpress dashboard under the “Enfold” menu the “Google Services” can include different tracking codes depending on which language version I click on inside the Enfold dashboard. So therefore I created in google analytics three different properties with each one directing to either the default language (www.lamola.dk), the english version (lamola.dk/?lang=en) or the german version (lamola.dk/?lang=de). So one property for each language. I did not create a subdomain/subfolder for the languages in wpml.

    In the Enfold menu of the dashboard, I choose a language and insert the corresponding google analytics code for each language. See screenshot: https://ibb.co/ThhLHDn

    My question is:
    is this correct way of doing it in Enfold? Or should I use the same google analytics tracking code on the whole website and copy paste the same code in all 3 language versions of the Enfold dashboard?

    And does this disrupt that I also have the MonsterInsigts pluding installed with a UA code connected from the Danish google analytics property (the UA used in MonsterInsights and the G copied into Enfold, the two other languages only have G codes).

    Please bear in mind I have no knowledge of coding or programming. Just using wordpress/enfold and copy pasting code :)

    Thanks in advance!
    Best
    Toni

    • This topic was modified 3 years, 7 months ago by SoundComposer.
    #1292057

    Hi Toni,

    If you need different tracking codes for each language, then what you have done is correct. If you don’t need different codes for each language, then you can paste the same code in all languages.

    I’m not if the theme code will clash with your plugin, but it’s likely better to only have the tracking code in one place.

    Best regards,
    Rikard

    #1292938

    Ok, thanks for the answer Rikard!! :)

    In you opionion what is best. As a newbie in google tracking codes I’m guessing one code for all languages would be the easiest and the best, right?

    #1293283

    Hi,

    It is recommended to add one analytics code per domain so please use one :)

    Best regards,
    Yigit

    #1294098

    Thanks Yigit! :)

    #1294100

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Analytics on Multilingual Enfold’ is closed to new replies.