Skip to content

Joe

My feedback

1 result found

  1. 494 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    73 comments  ·  Feedback » Integrations  ·  Flag idea as inappropriate…  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    To All Our Valued Users, Thank you for choosing tawk.to and for reaching out. We currently don't have an integration with Google Analytics. We do, however, have our 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 some other metric, please refer to our Javascript API: https://help.tawk.to/article/google-adwords-tracking If you have any other questions, require assistance, or just want to talk to someone at tawk.to, here is our calendar link: https://calendly.com/tawk-to-support/tawk-to-customer-support. We're happy to help!

    Joe supported this idea  · 
    An error occurred while saving the comment
    Joe commented  · 

    On further thought it would be better to use googles asynchronys loading conversion script, then trigger the conversion onChatStarted. (https://developers.google.com/adwords-remarketing-tag/asynchronous/#firing-the-asynchronous-adwords-remarketing-tag-programmatically)

    // trigger adwords conversion on chat start

    // this is added to all pages so script can be loaded on onChatStarted function
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion_async.js&quot; charset="utf-8"></script>

    Tawk_API = Tawk_API || {};
    Tawk_API.onChatStarted = function(data){
    window.google_trackConversion({
    google_conversion_id: 123456789,
    google_conversion_label: 123456789,
    google_conversion_value: 0
    });
    };

    An error occurred while saving the comment
    Joe commented  · 

    I needed this feature and was able to accomplish it using the Tawk API.

    // this redirects user to a thank you page on offline form submit
    Tawk_API = Tawk_API || {};
    Tawk_API.onOfflineSubmit = function(data){
    window.location= document.location.origin + "/thank-you/";
    };

    // this triggers an adwords conversion on chat start
    Tawk_API = Tawk_API || {};
    Tawk_API.onChatStarted = function(data){
    var google_conversion_id = <Your ID Here>;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "<Your Label here>";
    var google_conversion_value = 0;
    $jQ.getScript( "http://www.googleadservices.com/pagead/conversion.js&quot; );
    };

Feedback and Knowledge Base