Search…
VoiceTrends
VoiceTrends is an analytics toolkit built into Plum DEV. Setting up voice applications with VoiceTrends on the DEV platform provides users with a broad range of actionable data. VoiceTrends data allows users to easily track application performance, obtain granular and data about how end-users interact with an application, and helps to identify trouble areas or bottlenecks that cause customer frustration.

Enabling VoiceTrends

In order to application use data, it is necessary to enable VoiceTrends in DEV applications. The process for doing so is straightforward.
In standard VXML, most voice applications have multiple pages. Depending on what a user is trying to accomplish, each page can include form, field, block, transfer, and record tags.
1
### main.php
2
<?php
3
header('Content-type: text/xml');
4
echo('<?xml version"1.0"?>');
5
?>
6
<vxml version="2.0">
7
<form id="main_menu">
8
<field name="selection" type="digits">
9
<prompt>If you're a customer, press 1. For Sales, press 2. </prompt>
10
<filled>
11
<if cond="selection==1">
12
<goto next="customer.php"/>
13
<else/>
14
<goto next="sales.php"/>
15
</if>
16
</filled>
17
</field>
18
</form>
19
</vxml>
Copied!
1
### customer.php
2
<?php
3
header('Content-type: text/xml');
4
echo('<?xml version"1.0"?>');
5
?>
6
<vxml version="2.0">
7
<form id="enter_customer_number">
8
<field name="customer_number" type="digits">
9
<prompt>Please enter your customer number.</prompt>
10
<filled>
11
<goto next="#confirm_customer_number"/>
12
</filled>
13
</field>
14
</form>
15
<form id="confirm_customer_number">
16
<field name="confirmation" type="digits">
17
<prompt>Please re-enter your customer number, or press 1 if you don't know your customer number.</prompt>
18
<filled>
19
<if cond="confirmation==1">
20
<goto next="support.php"/>
21
</if>
22
</filled<
23
</field>
24
</form>
25
</vxml>
Copied!
In the sample code above there are two pages in a simple voice application. The first page is main.php. That page also has one form tag and one field tag. The second page is customer.php. This branch has two form tags and two field tags.
To enable VoiceTrends for each page, these tags need to be modified. The form tag can be modified using id, while the field, block, record, and transfer tags can be modified using name.
Referencing the sample code once again, the tag modifiers for each page appear as:
1
### main.php
2
<form id="main_menu">
3
<field name="selection" type="digits">
Copied!
1
### customer.php
2
<form id="enter_customer_number">
3
<field name="customer_number" type="digits">
Copied!
and
1
<form id="confirm_customer_number">
2
<field name="confirmation" type="digits">
Copied!
Note, that the ‘name’ modifier for the field tag can include additional modifiers. These tell VoiceTrends what type of input to expect from end-users. Here, the code type="digits" tells VoiceTrends to expects input as a whole number digits.

Modifier Naming Conventions

When writing tags to enable VoiceTrends it is important to remember that these labels do not accept white space or special characters. As the sample code shows, letters, numbers, and underscores are all valid.
Tag modifiers must be unique in each page of an application. For example, both the main and customer pages could have a main_menu form id, but a page cannot have two main_menu tag modifiers.

Using VoiceTrends

After applying VoiceTrends tag modifiers to an application, that application will begin to generate VoiceTrends data.
When tagged properly, VoiceTrends requires no additional coding from users. The toolkit automatically pulls data in as end-users call into the application.
User can login to the VoiceTrends interface with their DEV credentials. Once logged in, users can quickly and easily see all the data and analytics from their voice application.
Diagnostic Flow view
Using the Diagnostic Flow feature, users get a visual representation of how end-users interact with their voice application. Each page from your application displays as a node in the Diagnostic Flow. Hovering over a node generates a window for that form. In that window, users can see the data that correlates to that page
For more information about using the VoiceTrends interface, please login to VoiceTrends and reference the available documentation.
Last modified 6mo ago