How to turn off location tracker feature in CQ5

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?

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

참고:

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

 Adobe

쉽고 빠르게 지원 받기

신규 사용자이신가요?

Adobe MAX 2024

Adobe MAX
크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX

크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX 2024

Adobe MAX
크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX

크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인