Provide 24/7 affordable customer service with AI-powered chat.
Connect to learn more

Using Olark with AdWords

If you use Google AdWords, Olark can help you do better conversion tracking. By using our Javascript API, you can track conversions when a chat begins, when an agent sends a response, and many other events!

Track AdWords conversions when a customer starts a chat

  • Let's say you want to track a conversion only when a customer starts chatting with you. The first step is creating a helper that lets you track those AdWords conversions. Here's a Javascript function to do that:

function trackAdwordsConversion(id, label) {
    var image = new Image(1, 1);
    var base = "";
    image.src = base + "/" + id + "/?label=" + label + "&script=0";

  • Next, you will want to listen to the event in Olark. Be sure to replace YOUR_Conversion_ID and YOUR_Conversion_Label with your own information from Google AdWords:

olark("", function(){
    // Make sure to replace the ID and Label with your own ID and labels.
    trackAdwordsConversion("YOUR_Conversion_ID", "YOUR_Conversion_Label");
  • Now, you should be able to visit your website, start a chat, and see that conversion show up in your AdWords conversions. Neat!

Click here for Google's guide on Google Adwords.

Please provide the domain name where your Olark live chat is installed.
Include the relevant transcript URL, if possible. You can send us the specific URL from your Transcripts page.
If you see specific error messages, banners, warnings, notices, etc., please let us know here.
Max file size 10MB.
Upload failed. Max size for files is 10 MB.
Thank you! Your submission has been received and you'll hear from us shortly!
Oops! Something went wrong while submitting the form.