Tuesday 11 June 2019

Disable location tracker in AEM

Location tracker popup is annoying when page is loaded. This is enabled by default when clientcontext is used. 

Steps to disable location tracker:

  • Copy clientcontext component /etc/clientcontext/default to /etc/clientcontext/custom
  • Open this new component and delete the geolocation component.
  • Map this new component path to your design path ex: /etc/designs/default/jcr:content/homepage
We can see location tracker is disabled for specific site now.