Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

    English (US)
    US English (US)
    FR French
    DE German
    ES Spanish
    IT Italian
    JP Japanese
    • Home
    • User Guides
    • Locator + Pages

    How to set up a consent management for Locator & Pages

    Written by Sven Pierschalla

    Updated at September 2nd, 2025

    Contact Us

    If you still have questions or prefer to get help directly from an agent, please submit a request.
    We’ll get back to you as soon as possible.

    Please fill out the contact form below and we will reply as soon as possible.

    • Getting Started
      API Guides 'Near Me' 360 Product descriptions New here Configuration and Connection Guides
    • Uberall Academy and Learning Resources
      Learning Resources - Best Practices Uberall Academy
    • User Guides
      AI What's New Platform Status and General FAQs Homepage The Dashboard Location Hub Review Management Messages Social Locator + Pages Analytics Directories Mobile App Directories
    • Connecting Tools
      Connection Troubleshooting API
    • Org Settings
      Users Billing API Keys Webhooks Legal Documentation Product Descriptions
    + More

    Table of Contents

    Disclaimer Prevent loading of Locator map Consent

    In order to be able to position the user on the Locator map, the Uberall Locator has to send the user's IP address to Google. In order to respect the end-user's privacy, the map will not be displayed before receiving consent from the end-user. This end-user consent handling needs to be considered when implementing the Uberall Locator & Pages.

    Delete

    Disclaimer

    Please see the following steps as an example on how to set up the consent management logic. The provided code might not work with any consent management tool.

    Prevent loading of Locator map

    First of all, the map of the locator should not load right away when entering the website. This can be realized by setting:

    data-showbacklink=“false”

    This prevents the map from loading in the first place and makes sure, that no data is submitted towards Google.

    Consent

    Next, users should be asked to accept Cookies and consent to the submission of their IP address to Google for positioning. Implement the following:

    // Handle consent status
          // Change category here, always in the format ',<categoryID>,'
          if (OptanonActiveGroups.indexOf(",3,") > -1) {
            locatorSrc = "static-prod.uberall.com/assets/storeFinderWidget-v2.js";
            window.dataLayer.push({ event: "OneTrustGroupsUpdated" }); // shouldn't be needed if not using GTM
            var storeFinder = document.getElementById("store-finder-widget");
            storeFinder.setAttribute("data-showbacklink", true);
          } else {
            locatorSrc =
              "https://static-prod.uberall.com/assets/storeFinderWidget-v2-withoutMap.js";
          }

    In case the user does not consent, they will be directed to the "All locations" page, where no map is loaded, but all location pages are listed

    This locatorSrc is being used:

    else {
            locatorSrc =
              "https://static-prod.uberall.com/assets/storeFinderWidget-v2-withoutMap.js";
          }


    In case users consent, the regular source should be used and the map should load.

    This locatorSrc is being used:

    {
            locatorSrc = "https://static-prod.uberall.com/assets/storeFinderWidget-v2.js";
            window.dataLayer.push({ event: "OneTrustGroupsUpdated" }); // shouldn't be needed if not using GTM
            var storeFinder = document.getElementById("store-finder-widget");
            storeFinder.setAttribute("data-showbacklink", true);
          }



    Also read: Does a Locator add cookies to the website it has been implemented in?


    locator consent setup

    Was this article helpful?

    Yes
    No
    Give feedback about this article

    Related Articles

    • FAQ about Self Serve Locator & Pages
    • What is embedded Locator + Pages (Self Serve)?
    • Customizations of Locator + Pages via CSS
    • Locator and Pages attributes
    • Filters for Locator & Pages

    Copyright 2025 – uberall.

    Expand