This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

Relevance Module FAQ

How do I fake a visitor's location on localhost?

Fake your IP address via the HTTP request header 'X-Forwarded-For'.

Adding such an HTTP header to every browser request can be done with various browser plugins, like Modify Headers for Firefox or ModHeader for Chrome:

How can I generate some visitors on localhost?

Execute the script hit-gogreen.py (part of the GoGreen Enterprise source code).Specify the URL prefix to use as a parameter.

For example, to hit the site running on localhost:

./hit-gogreen.py http://localhost:8080/site

What happens to the component configuration of a deleted segment?

When a segment is deleted, the HST configuration for this segment is deleted lazily. Segments are deleted immediately from the Relevance Module configuration, but the component configuration for deleted segments is not deleted together with the segment. That would require the parsing of all HST configuration whenever a segment is deleted, which would be too expensive. Instead, the HST simply ignores component configuration for deleted segments. Once the configuration of a component is edited in the Channel Editor and saved again, all deleted segments are removed from the configuration of that component.

As a developer, can I access a visitor's targeting data?

Yes, as a developer, you can access a visitor's targeting data directly, and use that in for instance your HST components. From the profile, you can obtain both the raw targeting data as collected by the different collectors, as well as the matching segments and their scores.

Why does the CMS not load PageViewsCharacteristicPlugin.js?

Symptoms: the CMS has the Relevance Module included, runs in Wicket development mode, and does not respond to clicks anymore after you logged in. Also, an error similar to the one below is logged in the JavaScript console of the browser:

GET http://10.10.100.149:8080/cms/wicket/resource/com.onehippo.cms7.targeting.frontend.TargetingHeaderItem/plugin/pageviews/PageViewsCharacteristicPlugin-ver-1380284824000.js
Uncaught TypeError: undefined is not a function

Solution: disable the EasyPrivacy list of the AdBlockPlus extension. That list contains the rule '/pageviews/*', which filters out the Ajax call for PageViewsCharacteristicPlugin.js.

 

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?