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'.
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:
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?
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.