Viewing 2 replies - 1 through 2 (of 2 total)
  • <script type=”text/javascript”>

    Tawk_API.onChatStarted = function(){
    if(Tawk_API.isVisitorEngaged()){
    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push({‘event’: ‘Chat Started’});
    }
    };
    </script>

    use this in tag manager to record a conversion when customer send message but make sure it will only work when customer initiate the chat.

    Hi @chefnelone ,

    Thank you for choosing tawk.to and for sharing your challenge here.

    To install the widget using Google Tag Manager, follow these steps:

    1. From your Google Tag Manager panel, click on New Tag

    2. Choose the Custom HTML Tag option.

    3. Paste the tawk.to widget code inside the HTML container. Click on the Continue button to proceed.

    4. Add a rule that will fire the tag on All Pages. Click on the Create Tag button when you are done. You will need to name the tag (e.g tawk.to) and then Save the name.

    5. To finalize adding tawk.to to your site, you need to publish your container. Click on Publish button in the top right portion of the screen to proceed.

    6. Finally, click on the Publish Now button.

    Here is a great video one of our users posted regarding installing tawk.to using Google Tag Manager: https://www.youtube.com/watch?v=1D6MGrZqfVQ

    We also support Google Adwords tracking integration.

    Google conversion tracking can help you see how effectively your ad clicks lead to valuable customer interaction with tawk.to.

    This article explains how to create a conversion action to track visitor engagement with the widget. You can find the sample code and tutorial here: https://docs.tawk.help/article/google-adwords-tracking

    Note: this code example tracks a new chat as a conversion. If you would like the conversion to occur on another metric, please refer to our Javascript API: https://help.tawk.to/article/google-adwords-tracking

    Let me know if you have any other questions, require assistance, or just want to talk to someone at tawk.to. Here is a link to my calendar: https://calendly.com/siennarubio/30min. I’d be happy to help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Did anyone get to track the Chat with Google Tag Manager?’ is closed to new replies.