1 Reply Latest reply on Mar 13, 2013 7:06 PM by Sham HC

    CQ5 Search Trends in multi publisher environment




      I've got a question here from one of our team. We've used the Search component in /libs/foundation/search as a base for a search component and have used the search trends feature which writes stats via /bin/statistics/tracker/query to /var/statistics. However, in a multi-publisher environment, we'd get different results based on which publish server is hit by the user. Is there any configuration mechanism or combination of mechanisms that can easily synchronize this data? I'm wondering if we can write this data back to author (by a custom servlet or reverse replication) and then publish it back out?


      Any insights or recommendations would be greatly appreciated.

      Thank you.


        • 1. Re: CQ5 Search Trends in multi publisher environment
          Sham HC Level 7

          Hi sarwar,


             Using Adobe Marketing Cloud Integrations such as SiteCatalyst would be right approach for such usecase. In case you are looking within cq then  you might try with approach followed in "Page view Statistics" [1] of earlier cq version which is effectively deprecated now. The approach was develop a bundle  and have configurable tracking url points to author instance. So that statictics gets written to author directly & then using workflow launcher call a activate action so that publish instances are in sync.


              [1]    http://<host>:<port>/system/console/configMgr/com.day.cq.wcm.core.stats.PageViewStatistics