Show Developer Menu

Reamaze Analytics & Events

Introduction

Reamaze.js seamlessly integrates with Google Analytics and automatically tracks and sends over events to Google Analytics. Just ensure you have Google Analytics set up on your site and you're good to go.

Analytics

List of Events

Below are a list of events that are supported. All events have the Event Category set to Reamaze. If you'd like to see more events, feel free to send us your suggestions.

Event Name Additional Parameters Description
Conversation Started label - Contains Cue information if conversation was started from a Cue When a Conversation is started by the user
Chat Started label - Contains Cue information if chat was started from a Cue When a Chat is started by the user
Conversation Staff First Response Received When the staff responds to the user for the first time in the conversation
Chat Staff First Response Received When the staff responds to the user for the first time in the chat
Message Appreciated When the user appreciates a staff response
Shoutbox Trigger Clicked When the user clicks on the Shoutbox trigger
Shoutbox Prompt Shown label - Contains the text of the prompt that was shown When the Shoutbox Prompt is shown to the user
Shoutbox Prompt Clicked label - Contains the text of the prompt that was clicked When the user clicks on the Shoutbox Prompt
Shoutbox Closed When the user closes the Shoutbox
New Conversation Form Shown When the new conversation or chat form is shown to the user in the Shoutbox
KB Shown When the Knowledge Base is shown to the user in the Shoutbox
Cue Shown label - Contains the Cue id When a Cue is displayed to the user
Cue Clicked label - Contains the Cue id When the user clicks on a Cue
Cue Button Clicked label - Contains the Cue id When the user clicks on a button in the Cue
Cue Closed label - Contains the Cue id When the user dismisses the Cue

Custom Tracking Callback

If you'd like to handle event tracking yourself instead of using Google Analytics, you can implement a custom callback function that will be called whenever an event is fired. Make sure you have the Reamaze.js snippet installed from the Installation Step.

<script type="text/javascript">
  _support['analytics_track_callback'] = function(data) {
    // your code here.
  }
</script>

data is an object containing the following parameters:

  • name - The event's name.
  • label - The event's label.
  • value - Numeric value associated with the event.
  • nonInteraction - Boolean value, defaults to false. If true, that means that the event was NOT triggered by user interaction.