Notification

Urchin WebAnalytics Software is discontinued and is no longer supported. All Urchin documentation applies only to the Urchin product as it was at the time of discontinuation, and does not apply to any Google Analytics products or services.

Defining Custom Visitor Segments

Defining Custom Visitor Segments

In addition to segmenting users along pre-defined segments such as geographic region and language preference, Urchin 6 allows you to define custom segments and analyze the behavior of each segment. For example you might ask visitors to check mark their job category (such as Technical/Engineering, Marketing/PR, etc) on a form. You could then analyze browsing and buying behavior based upon the job category information that visitors check marked.

You can view conversion behavior for each of your custom segments in the Marketing Optimization > Visitor Segment Performance > User-Defined report. Also, many other reports allow you to cross analyze data according to visitor segment. To cross analyze, click the Analysis Options button at the far left of any entry in most reports. Select "User-Defined" to view your custom segments.

To set a visitor segment, simply call the javascript __utmSetVar function. For example, make the following call anywhere on the web page below the UTM:

    __utmSetVar("Marketing/PR");

Example: Assign visitors to this page to the "Marketing/PR" segment

In this example, anyone who visits the page will be assigned to the "Marketing/PR" segment.

    <body onLoad="javascript:__utmSetVar("Marketing/PR")">

Example: Assign visitors to the visitor-selected segment

In this example, visitors are assigned to a segment according to their selection in a form.

    <form onSubmit="__utmSetVar(this.mymenu.options[this.mymenu.selectedIndex].value);">
    <select name=mymenu>
    <option value="Technical/Engineering">Technical/Engineering</option>
    <option value="Marketing/PR">Marketing/PR</option>
    <option value="Manufacturing">Manufacturing</option>
    <option value="General Management">General Management</option>
Search
Clear search
Close search
Main menu
12707328417911117139
true
Search Help Center
true
true
true
false
false