Expand my Community achievements bar.

SOLVED

Search Results POST to /bin/statistics/tracker/result

Avatar

Level 3

Our search page is based off /libs/foundation/components/search/search.jsp. When a search is executed, there is a POST to /bin/statistics/tracker/query.  When a search result is clicked on, there is another POST to /bin/statistics/tracker/result.  Both result in a HTTP 403.

 

It appears there was a setting for this in prior AEM versions. http://www.aemstuff.com/osgi/aem62.html, search for TrackerServlet.  But that OSGi config no longer exists in 6.4 or 6.5.

 

Does anyone know what that was doing?  Is there a replacement for that in 6.5?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hello @AEM_Dan -

 

  • The TrackerServlet mentioned in the AEM 6.2 documentation you referred to is responsible for handling the tracking of search queries and results. It captures and processes the search analytics data, such as query terms, clicked results, and other related information.
  • In AEM 6.4 and 6.5, the tracking functionality has been refactored and integrated into the Adobe Experience Platform (AEP) services. The TrackerServlet OSGi configuration no longer exists in these versions because the tracking and analytics capabilities are now managed through AEP services, such as Adobe Analytics.
  • To configure and enable search tracking in AEM 6.4 and 6.5, you will need to integrate AEM with Adobe Analytics or other relevant Adobe Experience Cloud services. This involves setting up the necessary configurations and integrating the required libraries and tags provided by Adobe Analytics or the Experience Cloud.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

Hello @AEM_Dan -

 

  • The TrackerServlet mentioned in the AEM 6.2 documentation you referred to is responsible for handling the tracking of search queries and results. It captures and processes the search analytics data, such as query terms, clicked results, and other related information.
  • In AEM 6.4 and 6.5, the tracking functionality has been refactored and integrated into the Adobe Experience Platform (AEP) services. The TrackerServlet OSGi configuration no longer exists in these versions because the tracking and analytics capabilities are now managed through AEP services, such as Adobe Analytics.
  • To configure and enable search tracking in AEM 6.4 and 6.5, you will need to integrate AEM with Adobe Analytics or other relevant Adobe Experience Cloud services. This involves setting up the necessary configurations and integrating the required libraries and tags provided by Adobe Analytics or the Experience Cloud.

Avatar

Level 3

Thanks for the detailed explanation.  That was helpful.  We do use Adobe Analytics so we are covered.

Avatar

Community Advisor

@AEM_Dan 

 

Often times POST requests are blocked at dispatcher and POST request paths must be explicitly allowed in dispatcher filter.any file.

 

Please check if you can make the POST call directly to the Author/Publish URL using a tool like POSTMan. If the POST call via PostMan tool doesn't end in 403, then it must be the dispatcher that is rejecting this POST request.

If you are testing this in non-prod environment, enable dispatcher log at debug level to see the information POST call.

Avatar

Level 3

You are correct.  The POST was initially blocked but even when I allowed it, it was still returning 404 from the publisher.