• Resolved Daniel Chan

    (@danielchan)


    Hello guys, I’m struggling since hours with these 2 codes:

    document.tidioIdentify = {
      distinct_id: "unique_id", // Unique user ID in your system
      email: "contact_mail", // User email
      name: "John Doe", // Visitor name
      city: "Denver", // City
      country: "US" // Country
    };
    tidioChatApi.setVisitorData({
      email: "[email protected]",
      tags: ["tag1", "tag2"]
    });

    The documentation doesn’t explain anything about how to use it in WordPress. I googled everywhere and couldn’t find a solution.

    How can I get the current user’s email address (logged in) into my Tidio chat?

    Thanks for your help!
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get current user’s email via API’ is closed to new replies.