MARKETPLACE
PLUGINS
GEOLOCATION (GPS) TRACKER ELEMENT
Geolocation (GPS) tracker element logo

Geolocation (GPS) tracker element

Published May 2019
   •    Updated this week

Plugin details

Use geolocation (GPS) capabilities like getting current position and continuous tracking.

Free

For everyone

3.1 stars   •   8 ratings
17.0K installs
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Panumathan logo
Panumathan
Joined 2019   •   1 Plugin
View contributor profile

Instructions

Place the element on the page and start using the element actions for tracking GPS sensor information. Use the element events to listen for errors or updates to GPS sensor information which are exposed as the element's states.

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Location   •   Technical   •   Small Business   •   Mobile   •   Visual Elements

Resources

Support contact
Documentation

Rating and reviews

Average rating (3.1)

not working suddenly
August 10th, 2025
WARNING: Error parsing plugin code for element_action (GPS tracker-Start tracking). Please check function(a,c,f){function d(b){a.publishState("tracking_status","yes");null!=a.data.watchID&&(a.publishState("latitude",b.coords.latitude),a.publishState("longitude",b.coords.longitude),a.publishState("accuracy",b.coords.accuracy),a.publishState("altitude",b.coords.altitude),a.publishState("altitude_accuracy",b.coords.altitude_accuracy),a.publishState("heading",b.coords.heading),a.publishState("speed",b.coords.speed),a.publishState("timestamp",b.timestamp),a.triggerEvent("gps_data_updated", function(a){console.log(a)}))}function e(b){switch(b.code){case b.PERMISSION_DENIED:a.publishState("error_text","User denied the request for Geolocation.");c.show_error_alert&&alert("User denied the request for Geolocation.");break;case b.POSITION_UNAVAILABLE:a.publishState("error_text","Location information is unavailable.");c.show_error_alert&&alert("Location information is unavailable.");break;case b.TIMEOUT:a.publishState("error_text","The request to get user location timed out.");c.show_error_alert&& alert("The request to get user location timed out.");break;case b.UNKNOWN_ERROR:a.publishState("error_text","An unknown error occurred."),c.show_error_alert&&alert("An unknown error occurred.")}a.triggerEvent("gps_data_unavailable",function(a){console.log(a)})}a.data.geolocation=navigator.geolocation;"geolocation"in navigator?a.data.watchID=c.pass_options?a.data.geolocation.watchPosition(d,e,{enableHighAccuracy:c.enable_high_accuracy,maximumAge:c.maximum_age,timeout:c.timeout}):a.data.geolocation.watchPosition(d, e):(a.publishState("error_text","Geolocation is not supported by this browser."),c.show_error_alert&&alert("Geolocation is not supported by this browser."),a.triggerEvent("gps_data_unavailable",function(a){console.log(a)}))};
there is a new recent bug
July 3rd, 2025
Error parsing plugin code for element_action (GPS tracker-Start tracking). Please check function(instance,properties,context){if(instance.data.geolocation=navigator.geolocation,"geolocation"in navigator)if(properties.pass_options){var geo_options={enableHighAccuracy:properties.enable_high_accuracy,maximumAge:properties.maximum_age,timeout:properties.timeout};instance.data.watchID=instance.data.geolocation.watchPosition(setPosition,showError,geo_options)}else instance.data.watchID=instance.data.geolocation.watchPosition(setPosition,showError);else instance.publishState("error_text","Geolocation is not supported by this browser."),properties.show_error_alert&&alert("Geolocation is not supported by this browser."),instance.triggerEvent("gps_data_unavailable",(function logError(err){console.log(err)}));function setPosition(position){instance.publishState("tracking_status","yes"),null!=instance.data.watchID&&(instance.publishState("latitude",position.coords.latitude),instance.publishState("longitude",position.coords.longitude),instance.publishState("accuracy",position.coords.accuracy),instance.publishState("altitude",position.coords.altitude),instance.publishState("altitude_accuracy",position.coords.altitude_accuracy),instance.publishState("heading",position.coords.heading),instance.publishState("speed",position.coords.speed),instance.publishState("timestamp",position.timestamp),instance.triggerEvent("gps_data_updated",(function logError(err){console.log(err)})))}function showError(error){switch(error.code){case error.PERMISSION_DENIED:instance.publishState("error_text","User denied the request for Geolocation."),properties.show_error_alert&&alert("User denied the request for Geolocation.");break;case error.POSITION_UNAVAILABLE:instance.publishState("error_text","Location information is unavailable."),properties.show_error_alert&&alert("Location information is unavailable.");break;case error.TIMEOUT:instance.publishState("error_text","The request to get user location timed out."),properties.show_error_alert&&alert("The request to get user location timed out.");break;case error.UNKNOWN_ERROR:instance.publishState("error_text","An unknown error occurred."),properties.show_error_alert&&alert("An unknown error occurred.")}instance.triggerEvent("gps_data_unavailable",(function logError(err){console.log(err)}))}}
Funciona
November 15th, 2024
VH  Location
February 5th, 2024
localização
Review Title
December 2nd, 2022
Review Detail
Bubble
CoAlias Logo Powered by CoAlias