Google Analytics and Help Center - Part 3: Tracking customers' actions

Return to top
Have more questions? Submit a request

53 Comments

  • Brian Green

    Hi Andrei,

    Apologies for the wait. That code snippet is current and functional. I think we should take a look at your code together over a ticket. I'll see you there.

    0
  • Brian Green

    Hi Andrei,

    I'm seeing that the account aword.zendesk.com is no longer active. Is there another Zendesk account you're using this code on? The code snippet is correct so we should look at the implementation together.

    Thank you,

    Brian Green | Tier 3, Technical Support Architect | support@zendesk.com

    0
  • Melody Wong

    Hello there,

    Seems like only chats are registering as first events in my events workflow. I have enabled the ticket deflection code snippet and it has tracked 3 unique events (and so I know it has actually it works), but it seems to not register as a first time event. How can I fix this?

    (Please see screenshot)

    Thanks,

    Melody W

    0
  • Andrei Kamarouski

    Hi Brian. 
    I have submitted a ticket for you. :) 

    0
  • Yulia

    Hi guys. 
    Our helpcenter is in Russian so when i see links in Events it looks like /hc/ru/articles/115002104525-%D0%9A%D0%B0%D0%BA-%D0%BD%D0%B0%. How can I decode all these %D0%9A%D0%B0% into cyrillic symbols?

    0
  • Christy Lutz

    For anyone who is tracking ticket deflection through the auto-suggested articles in the chat widget:

    Does anyone have an average of what percent of tickets are deflected through the auto-suggested articles?

    0
  • Stephen

    I've learned, with the recent GDPR in Europe, the visits and actions on ZD Guide are not reliable - using Google Analytics (because Europeans can opt out of being tracked while on your site). We noticed this recently with a decline of views and posts on Community. We painfully checked it natively and it was indeed inaccurate.

    Can you please confirm that this is the case? Right now we're relegated to the very light community analytics on Zendesk reports.

    For those ZD reports:

    • I don't know if stats exclude internal posts, comment, votes and views.
    • I don't know what parameters determine the 'top' posts you list.

    Can someone shed some light on this?

    0
  • Raymond Brookes

    Hi - is there any way to track an individuals engagement with Guide articles? I am investigating whether we can report on the total number of articles a given user has accessed over a period of time. Is there a way of incorporating the Zendesk user id so that Google Analytics can provide this type of data?

    Is this possible? Thanks!

    0
  • Yulia

    Hi Raymond. I don't know if there is a way to track an individual path but there is a way to track different kind of users. All you need is to tag your users as described here: https://support.zendesk.com/hc/en-us/community/posts/203460006 Users must be logged in, otherwise you won't be able to see their tags in GA.
    If you have few users, perhaps, you could give every of them an individual tag or something.
    Btw, Zendesk has Pathfinder for Enterprise (and it's available as add-on for Professional plan), this one allows you to see the path of your users before they reached out your support team.

    0
  • Heather Rommel
    Community Moderator

    I was going to suggest Pathfinder also!

    0
  • Dan Cooper
    Community Moderator

    Pathfinder is great, but I got the email this week that it will not function after October 14.  It sounds like similar functionality will be added to the interaction history using Sunshine but a date was not provided. 

    You could take a look at the Sunshine Event APIs to generate the event data yourself.  Adding code into your help center article templates could allow you to write views to the user's event log and capture these.  

    0
  • Thomas Hargreaves

    Hi There,

    Do you have any feedback or case about modification of the events tracking code you provide to make dataLayer pushes instead of sending data to GA directly?

    This way it could work perfectly with GTM: https://support.zendesk.com/hc/en-us/articles/115010634068-Using-Google-Tag-Manager-with-your-Help-Center

    Thanks

    0
  • Clotilde Hovine

    Hi,

    Sorry if it's not in the correct thread or article but, at the beginning of the article, it is mentioned :

    There is a built-in ticket deflection feature that automatically suggests related articles from your Help Center when a customer attempts to submit a ticket.

    I wasn't able to find an explanation on how to implement that. Is there an article about this configuration, please?

    Thank you very much in advance!

     

     

     

     

    1
  • Dan Cooper
    Community Moderator

    Hello Clotilde, 

    This functionality is built into the Zendesk Guide product.  When a customer fills in the subject line of a ticket, it works like a search field to auto-suggest potential articles in your help center that may resolve the issue they are about to submit.  This works out of the box without any configuration other than adding articles into the Help Center and retaining the subject field on your ticket form. 

    1
  • Karlina Hendra

    Hi,

    Hoping someone can help me with the issue below.

    I'm trying to track the search events on a search box with instant search. I tried the suggestions on this comment https://support.zendesk.com/hc/en-us/articles/203664156/comments/360000209187

    However:

    1. Setting submit=true is not an option because I want to enforce submitting a query by pressing Enter instead of the Submit button
    2. Capturing the keydown, keyup, or keypress events on pressing Enter did not work for me

    Is there another workaround I can do to track the search?

    0
  • Brett Bowser
    Zendesk Community Team

    Hey Karlina,

    Have you gone through this article for measuring the effectiveness of search? It may also be worth taking a look at Googles documentation for setting up site search tracking which I've linked for you.

    Hopefully others can jump in here and offer up some additional guidance for you as well :)

    Cheers!

    0
  • Kate Valk

    Hi,

    I am having the same issue that Andrei Kamarouski was 1 year ago - I've attempted to implement the tracking of pages where requests are initiated, but I am not seeing any Events registered in Google Analytics (despite seeing the real-time traffic when I am on the site).

    The code was valid 1 year ago, but is it valid today? I'm using the pre-built Copenhagen theme for example, and see no instance of 

    $(document).ready(function() {

    in the script.js file. Only

    document.addEventListener('DOMContentLoaded', function() {

    has there been an update to the snippet required to track clicks on that Submit a request link?

    2
  • 4C Insights

    I'm having the same issue as Kate above. I'm using the Copenhagen theme and I'm unable to find the instance of:

    $(document).ready(function() {

    Can you please assist? Thanks!

    0
  • Charles Nadeau
    Zendesk Documentation Team

    Hi Kate and Joey,

    You can replace the following jQuery opening:

    $(document).ready(function() {

    with the JavaScript equivalent:

    document.addEventListener('DOMContentLoaded', function() { 
    

    1
  • 4C Insights

    Thank you, Charles -- this worked!

    0
  • Kate Valk

    Hi Charles,

    Thank you for the response - just want to make sure I'm following correctly as I'm not seeing any Events triggered on our GA still. Apologies if I'm being dense, but do you mean the code should be set up as follows? I have had it like this since I began working on this issue but still see no events registered, despite triggering them myself for a test.

    Thanks,
    Kate

     

    0
  • Charles Nadeau
    Zendesk Documentation Team

    It turns out the Google Analytics code uses jQuery extensively (anything with a $ is jQuery) and needs to be rewritten for Copenhagen v2 using standard JavaScript. The simplest solution would be to import the jQuery library in your v2 theme. Here's an article that explains how:

    https://support.zendesk.com/hc/en-us/articles/360037983854-Importing-or-upgrading-jQuery

    Hope this helps.

    0
  • Tom

    Hi there, 

    I have imported jQuery and added the code block to capture submitted request events. Unfortunately, it doesn't work for me, GA doesn't show events.

    Is there something I'm doing wrong? 

    0

Please sign in to leave a comment.

Powered by Zendesk