Collector Configuration - BloomReach Experience - Open Source CMS

This article covers a Hippo CMS version 12. There's an updated version available that covers our most recent release.

08-01-2018

Collector Configuration

ReferrerCollector

The ReferrerCollector allows you to collect the location of the external webpage that referred the visitor to your site.

To add this collector to your site add the following configuration at /targeting:targeting/targeting:collectors:

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

The following additional configuration properties are supported:

Property name Property type Default value Description
targeting:visitorScope Boolean true Whether to collect only the first visit or update the data on every visit.

TagsCollector

The TagsCollector allows you to collect keywords defined on properties of the documents viewed.

To add this collector to your site add the following configuration at /targeting:targeting/targeting:collectors:

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

The following additional configuration properties are supported:

Property name Property type Default value Description
targeting:termsProperty String hippostd:tags The property name of the document nodes to collect the tags from.

SiteSearchKeywordsCollector

This collector allows you to collect the keywords the visitor used to search your site if your site offers such a site search feature.

To add this collector to your site add the following node at /targeting:targeting/targeting:collectors:

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

The following additional configuration properties are supported:

Property name Property type Default value Description
targeting:queryParameter String query The name of the request parameter that passes the search terms to your site search feature.
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?