Zendesk user info gives wrong timezone and locale information

4 댓글

  • Greg Katechis
    Zendesk Developer Advocacy
    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.
    0
  • Eren Baltac

    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>

    0
  • Greg Katechis
    Zendesk Developer Advocacy
    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.
    0
  • Eren Baltac

    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.

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공