Issue

Geolocation is a way for the browser to tell a website about user physical location in the world based on data such as computer’s IP address, mobile phone GPS capability, etc... Additionally browser never shares the location without user permissions & user will be prompted with persmissions as shown in below picture (Figure 1). Turning off this feature at browser level might impact visiting other regular websites such as Google Maps etc..  Out of the box geometrixx application uses geolocation properties such as city, state, country, country_code.  How to turn off location tracker in cq if website is not utilizing geolocation?

GeoLocation

Solution

Creating a Customized Client Context & changing the client context path in website helps to resolve this issue. The steps are

  1. Create a new client context by duplicating existing one. Ex:- Copy "/etc/clientcontext/default" & paste at "/etc/clientcontext/new"
  2. In design mode of website home page and change the path of client context to "/etc/clientcontext/new" as shown in Figure 2
  3. Open clientcontext design page and delete geolocation component. That is by going into http://<host>:<port>/etc/clientcontext/new/content.html
Change_Path

참고:

Additional details please refer http://dev.day.com/docs/en/cq/current/developing/client_context_detail.html

Video

Turn off location tracker for geometrixx website

Turn off location tracker for geometrixx website

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책