Hello,
We have a blog site that that uses some personalization feature on the site. It allows the user to post comments. The username extracted from the cookie is displayed next to the comments posted by the user on the publish servers (we have two publish servers). However the same functionality is not working on the dispatcher web server. (Apache)
We noticed that on dispatcher, when the page loads it gives errors in firebug console for CQ_Analytics
SyntaxError: syntax error
http://myserver/etc/segmentation.segment.js
Line 1
ReferenceError: CQ_Analytics is not defined
http://myserver/etc/segmentation.segment.js
Line 1
ReferenceError: CQ_Analytics is not defined
http://myserver/2013/may/commenting.html?cq_ck=1372431229981
Line 566...
and so on...
Due to the above error the username is not posted properly when a comment is posted by the user to the server and hence it is reported as "Anonymus". Although the view source of the page shows that user id is availble on the dispatcher.
Can someone help me to resolve this issue- Why this is working fine on publish instance, but not on dispatcher ?