0 Replies Latest reply on Jun 13, 2012 8:45 AM by joel_triemstra

    Multiple domains for tracker.js

    joel_triemstra Level 1

      I'm using the personalization functionality of CQ 5.4, which appears to force a request for http://localhost:4502/libs/wcm/stats/tracker.js when pages load. According to the docs at http://dev.day.com/docs/en/cq/5-4/deploying/configuring_cq.html#OSGi Configuration in the Repository , I should be able to override this URL by adding some nodes to /apps/projectName. However, my tests seem to show that doing so for one project affects all sites on the server. In production, the client has a number of domains all running on one CQ instance.

       

      1) Is there a way to remove this request altogether without modifying any JSPs in the /libs folder, or inheriting/overriding them?

      2) Is there a way to support multiple domains?

       

      The best solution I've come up with so far is creating a generic domain like cq-tracking.clientName.com, and having all sites use that.