Collector Configuration

This page describes how to configure visitor data collectors for Bloomreach Content Targeting. Collectors gather specific information about site visitors, which can be used for segmentation and personalization.

ReferrerCollector

The ReferrerCollector records the URL of the external page that directed a visitor to your site.

To enable the ReferrerCollector, add the following configuration under /targeting:targeting/targeting:collectors:

/targeting:targeting/targeting:collectors: /referrer: jcr:primaryType: targeting:collector targeting:className: "com.onehippo.cms7.targeting.collectors.ReferrerCollector"

You can configure the following property:

Property nameProperty typeDefault valueDescription
targeting:visitorScopeBooleantrueIf true, collects the referrer only on the first visit. If false, updates the data on every visit.

TagsCollector

The TagsCollector captures keywords from specified properties of viewed documents.

To enable the TagsCollector, add the following configuration under /targeting:targeting/targeting:collectors:

/targeting:targeting/targeting:collectors: /tags: jcr:primaryType: targeting:collector targeting:className: "com.onehippo.cms7.targeting.collectors.TagsCollector"

You can configure the following property:

Property nameProperty typeDefault valueDescription
targeting:termsPropertyStringhippostd:tagsSpecifies the property name on document nodes from which to collect tags.

SiteSearchKeywordsCollector

The SiteSearchKeywordsCollector records the search terms visitors use on your site’s search feature.

To enable this collector, add the following configuration under /targeting:targeting/targeting:collectors:

/targeting:targeting/targeting:collectors: /site-search-keywords: jcr:primaryType: targeting:collector targeting:className: com.onehippo.cms7.targeting.collectors.SiteSearchKeywordsCollector

You can configure the following property:

Property nameProperty typeDefault valueDescription
targeting:queryParameterStringqueryDefines the name of the request parameter that contains the search terms.
Share Feedback
Page: /build/enterprise-plugins/targeting-relevance/collector-configurations
Section: Build
Category *
Collector Configuration | Bloomreach Content Documentation