Issue
- Sometimes there is a need to get rid of the following calls from Audience Targeting:
- /o/analytics-processor/track
- For example some of the browsers which attempt to send analytics events to Liferay may experience higher latency, and if not needed we can reduce the impact by ensuring that all browsers do not push analytics events to Liferay.
- But it is not posible to do so through Audience Targeting's Control Panel Options.
Environment
- Liferay DXP + Audience Targeting.
Resolution
- In this case, the specific bundle that manages those requests should be blacklisted:
com.liferay.content.targeting.analytics.processor
-
This bundle provides two components:
-
com.liferay.content.targeting.analytics.processor.internal.processor.AnalyticsProcessorImpl
: anAnalyticsProcessor
that updates the page to include a POST to/o/analytics-processor/track
-
com.liferay.content.targeting.analytics.processor.internal.servlet.AnalyticsProcessorServlet
: a servlet that processes posts to/o/analytics-processor/track
-
- Si by blacklisting the entire bundle no more track events will be sent and processed.
Additional Information