• Resolved ihage

    (@ihage)


    Hi
    After installing the plugin, I can see the opt-in after creating a new order. The badge is invisible, but I don’t have reviews yet, so I guess this is to be expected.

    There is a problem with the language setting though. I am using a multilingual website with WPML. Whatever language I use in the plugin settings (Language = Auto-detect, or English, or whatever), the source code of all pages in all languages always displays the Merchant ID as value for the language… I guess this is a bug? It looks like this:

    Merchant ID = 111111111
    <script type=’text/javascript’ id=’se_wc_google_reviews_language_script-js-after’>
    window.___gcfg = {lang: “111111111”};
    </script>

    As a result, my opt-in message is always in English.

    Can somebody help on this?
    Thanks!
    isa

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author storessential

    (@storessential)

    Hi @ihage

    Thank you for getting in touch with us via the support forum. I’ve checked and it seems that this is a bug in the plugin. I have just released an update that should fix the bug.

    Thanks again for pointing this out, and apologies for any inconvenience the bug may have caused!

    Thread Starter ihage

    (@ihage)

    Hello

    Thank you for your prompt reply and the fix! Now the Merchant ID has disappeared from the language settings, that’s great.

    There is one more thing about the language: the plugin works only if I specify a language (for example English or German). It doesn’t seem to be able to fetch the information in the Auto-detect mode. In such a case, the script on the pages just remains empty:

    language = Auto Detect
    <script type=’text/javascript’ id=’se_wc_google_reviews_language_script-js-after’>
    window.___gcfg = {lang: “ ”};
    </script>

    Would you have an idea how to fix this?
    thanks for your help!

    Plugin Author storessential

    (@storessential)

    Hi @ihage

    The empty language value indicates to Google to use the auto setting, which is the language of the users browser: https://support.google.com/merchants/answer/7106244

    From the Google documentation:

    If you do not specify a value for the lang parameter, the survey module uses a language setting based on the user’s browsers settings.

    So the empty language value is correct if you have chosen Auto-detect.

    Thread Starter ihage

    (@ihage)

    Hi,
    Ok thanks, then all works fine now!
    Thank you for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Merchant ID used as customer language’ is closed to new replies.