Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

69
Views
get exact location with tag manager

Is it possible to get exact location(latitude/longitude) from Google Tag Manager, when user from android device view web page?

Ideally, I would be able to set-up this up in GTM. If it is possible, can someone please explain how to do it?

Thanks so much!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In GTM, you can deploy a custom HTML tag with a <script> in it and make it fire on every pageview. Now your question completely removes the GTM factor from it. Alternatively, you can use a Custm JS variable to get your long/lat.

Now it's about tracking user location with JS, which there are many solutions to, one of which Eike referenced in the comment.

Keep in mind that ad blockers block GTM, so your geolocation script will not work for users with ad blockers. On the other hand, if you deploy the geolocation script directly, it will not be dependent on ad blockers unless they block the geolocation script directly, which they don't tend to do.

In short, unless you only need long/lat for tracking purposes, don't use GTM for it. Otherwise -

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!