Zendesk user info gives wrong timezone and locale information | Community
Skip to main content

Zendesk user info gives wrong timezone and locale information

  • March 30, 2023
  • 4 replies
  • 0 views

Eren

There are about 600 tickets. And the userinfo timezone value of all users in these tickets: Istanbul and the userinfo locale value: English(United State). I tried to fix this version many times using Zendesk API, but it didn't work. I connect to the customer representative, but they either don't respond or they can't find a solution.

4 replies

Greg29
  • March 31, 2023
Hi Eren! I saw the ticket that you have open and the reason it's not working is because you're using the wrong APIs. The APIs that you're using are for the classic widget, however your account is set up for messaging, which means you need these APIs. Let us know if you run into any more issues.

Eren
  • Author
  • April 3, 2023

Hi Greg! First of all many thanks for your reply.But in this code, I couldn't see anything about the dynamic location or timezone information of the users. What I want is to be able to see which location my customers are from and now I see the timezone value of all my customers as istanbul and the locale value as English (United State).I am placing my code below please let me know if there is something I am doing wrong.

my code:

<script
      id="ze-snippet"
      src="https://static.zdassets.com/ekr/snippet.js?key="
    ></script>

    <script>
      zE('messenger:set', 'zIndex', -999);
      zE(function() {
        user_timezone = zE('webWidget:get', 'timeZone');
        user_locale = zE('webWidget:get', 'locale');
        zE('webWidget', 'updateSettings', {
          webWidget: { timeZone: user_timezone, locale: user_locale },
        });
      });
    </script>


Greg29
  • April 5, 2023
Hi Eren,
 
I wanted to drop you a line to let you know that I will be responding here, however you have been posting this same question numerous times across the community and it is bordering on spam. I'm going to remove those posts and if they continue to be posted, I will have to suspend your account. I will get back to you later today.

Eren
  • Author
  • April 5, 2023

Hi Greg,

I understand what you're saying about the spammy behavior, but I've been trying to get a clear answer from your customer service team for almost three weeks now. Whenever I start a conversation, I either get a delayed response or my ticket is closed before my issue is resolved. I'm doing my best to resolve this issue, but I'm not getting the support I need from your team.

Thank you for your help and support. I look forward to your response.