Google Tag Manager and Google Analytics on Simo Ahava's blog Follow IP Geolocation API - Custom Tag Template This is an unofficial template for the IP Geolocation API. With this API, you can query for geolocation data using the user’s (or a custom) IP address. This information is then written into dataLayer. https://www.simoahava.com/custom-templates/ip-geolocation-api/ simoahava.com