This is my new Gps Tracker wordpress plugin. It’s 100% responsive using Twitter Bootstrap. Responsive means that it displays properly on any screen from a cell phone to a tablet up to a desktop.
It also uses leaflet. This allows you to change map providers on the fly. Try the button in the top right hand corner of the map. You can switch between OpenStreetMaps and Google. There are many other providers as well.

If you want to check out the plugin, you can download it directly from WordPress.
And from your Android phone, you can download the client from Google Play. Please note that you must use the WordPress version of Android Gps Tracker and not the open source version. The reason for this is because the WordPress version uses nonces which adds extra security.
I want to explain how Gps Tracker works. When it first loads, the most recent location of all active devices is displayed. The one in red is the most current gps location in the database. If you owned a company with several trucks out in the field, you would be looking at the location of all your trucks. Now suppose you wanted to see where a particular truck has been. The way to do that is to tap on one of the markers or select a route from the dropdown box under the map. They are just two different ways to display the history of a route.
If you tap on the “View All” button, you will once again be able to see all of your trucks. If you tap on the “AutoRefresh” button, you will be able to see all of your truck routes updated in real time every minute. I think that covers the needs of most people. If you need something custom, please feel free to contact me on my Hire Me page.
I need to package your features and benefits into event planning for our audiences.
I am computer illiterate.
I am writing in hopes that you and I can speak directly.
Hey Steve
Sorry for not responding earlier. I had a lot going on IRL. If you would like to talk further about it, could you please email me using the email on my hire me page. Thanks!
https://www.websmithing.com/hire-me/
Nick
Any chance to get exactly this to work also on iOS?
hello my website addresses are below
What is my fault wp site address http://ornek.hepsikanatli.com/ornek-sayfa/ ?
and other http://ornek.hepsikanatli.com/php/displaymap.php What is my mistake?
Thank you for your help
Hi
It looks like you have not given the correct permissions to your database user. Look here, you can see the error:
http://ornek.hepsikanatli.com/php/getroutes.php
n
I’m interested in this for iOS as well. Any plans for future development?
Hey Heather
Sorry for the delay. I already have a version for IOS.
https://github.com/nickfox/GpsTracker/tree/master/phoneClients/ios
n
Hi Nick,
I think your app would add another dimension to my site and be awesome for getting in-the-moment suggestions.
However, I downloaded the plugin and as soon as I turn it on, it messes up my navigation menu in the top bar (the menu totally disappears). This happens whether I have displayed any of the shortcode anywhere on the site or not.
This is the first site I’ve built, so I am not a pro, but am wondering if this problem has come up in the past?
And is there a simple solution (or a video tutorial you could direct me to) which might cure the problem.
I am using the latest wordpress 4.1.1, with Customizr Theme 3.3.1
Hi Baz
Could I please get the url of that page so I can have a look. thanks.
Nick
Hi Nick,
Sorry such a slow reply – I didn’t notice you had replied.
the url is http://www.whatshouldbazdo.com
I’ll be sure to check back for a response a little more quickly this time. Thanks in advance! 🙂
Baz
I follow the instructions but my Map is in blank ans doesn`t update
Any ideas?
Hey Marlo
Could I please get the url for displaymap.php.
n
Hi:
Geat, fast and easy to setup even plugin as app, great job.
Now a suggestion:
May be you can implement a new feature in the app, start/stop tracking when the cell phone connects/disconnects to a defined bluetooth device.
Luis
Thanks, I’m glad you got it working. I am actually updating GpsTracker right now but in the past ten years only a couple of people have asked for bluetooth device support. If you want to write the software for that and do a pull request in github, I’d be happy to look at it.
n
Hi
Would this work for friends and family to track our progress on a charity bike ride?
cheers
Hey Phil
Yes, that would be an excellent use case for gps tracker. A client recently did just this thing for a car show that he sponsors down in California. The android client works quite well but in order to use the iphone client, you must distribute the beta app in itunes connect using TestFlight. Apple will not allow you to put gps tracker into the app store because they do not feel it provides enough functionality. But you can distribute it up to 1000 users using TestFlight beta.
n
cool. thanks for the swift reply, too 🙂
could they follow through the ride bog, too? (if I install the plugin)
Hello Nick
I downloaded the plugin and the android client. It does not seem to work.
– The database tables wp_gps_locations and wp_gps_logger were created. After deleting the sample tracks, they are now empty.
– I can see the GET request from the android tracker in apache2/access.log.
“GET /wordpress/?date=2015-05-03%2B23%253A23%253A41&distance=0.0&latitude=-33.4444465&…..&direction=0
– I use the latest version of wordpress, V 4.2.1, and gpstracker 1.0.2
– My gut feeling tells me that the data insertion into the database fails. I have however no idea how to debug this. Is there a debug log somewhere ?
Thanks
Tilman
Hello Nick
I dag a little bit into it:
The android client seems to sent a request that is not compatible with the wordpress gps tracker plugin:
a) There is a slash to much: “GET /wordpress/?
b) looking at class-gpstracker-endpoint.php, there seems to be a parameter gpstracker expected that the android plugin does not sent.
Can you kindely comment ?
Thanks
Tilman
Hello Nick
I realized that there are 2 versions of the GPS-Tracker that can be downloaded via google’s play shop. Using gps tracker for wordpress, it works.
Regards
Tilman
Hi Nick,
I am backpacking through south america and want my followers to be able to track where i am currently. i installed the plugin and the map shows up but defaults to showing just seattle. I have installed the app and it says tracking is on but it doesnt seem to show on the site. the map never changes away from seattle. Any help?
Also it says there are no routes to view?
Hi Nick,
Thanks for your effort; Very good job. I installed both android application and plugin but could not get it worked. I can see the locations added on the database but they are not shown on the page. Could you please check my webpage?
Regards,
Serdar
Installed the plugin and app both and configured it but still showing the blank map.
Same here! First I downloaded the GPS tracker app. Then I had to download the plugin. Then it said I had to download the GPS Word because I’m using an Android. Nothing is working…
Gps Word? What is that?
Nick
I have major problem to use your plugin in my website to view my users , it shows only three default user so kindly assist me
Can you please give me the URL of your display map.
thanks
n
Hi Nick
Thanks for you Great Job, but i have the same problem the blank map. not work.
This is probably a permissions problem with the database. Can you please give me the URL of your display map.
thanks
n
Hi Nick
Everything works without problems, its works thank you for the labor.
Anyway to hide / remove / block the delete button?
Ryan
Comment out line 43 in this file
https://github.com/nickfox/GpsTracker/blob/master/servers/php/displaymap.php
n
In the wordpress plug in the file would be which ? to disable the delete button ?
pls n thnx
I have installed the plugin. Excellent, it works
but when i click ZOOM OUT the map disappear, why?
thanks for the great work!!!
Dunno, were you playing with the maps.js file?
n
Thanks!! I have reinstalled the plugin and put default map OPEN STREET MAP
I ask you another question:
Can i visualize only the final destination and not the other old route of the same user?
thanks
Hi Nick, I’d really like to use your fantastic plugin to track our charity Santa whilst he drives his sleigh around local housing estates next Sunday. Everything works great, wonderful job 🙂 but the gui zooms very far out upon refresh (I can see the whole of Europe when the map refreshed when I really need it at street level). I have a basic understanding of php however have never worked with Google maps, I’d be very grateful if could you point me in the right direction please? Thanks x
Nevermind! A bit of reading on the Leaflet website and it’s sorted (the commented out line at 188 on gpstracker-map.js got me started) thanks for the excellent plugin 😀
Nice plugin!
Is there a way to switch to kilometers instead of miles?
Yes, look for maps.js.
https://github.com/nickfox/GpsTracker/blob/master/servers/php/js/maps.js
You can change line 257 to:
speed*1.609
will give kph
To make the change on wp this would be the following file ?
/wp-content/plugins/gps-tracker/public/assets/js/gpstracker-map.js
yes, this is correct. The info window is here on line 263:
https://github.com/nickfox/GpsTracker/blob/master/servers/wordpress/gps-tracker/public/assets/js/gpstracker-map.js
n
thnx
Thank you!
(I did not get the email notification for new replies…)
@Stvn you manage to change from miles to kph?
How do I make my info window bigger ? shows up squeezed. See – http://oi64.tinypic.com/2qu6liv.jpg
as opposed to the demo one >> http://oi66.tinypic.com/34q7oqu.jpg
thanks in advance and great work!
try adding width =”200″ here to line 263
https://github.com/nickfox/GpsTracker/blob/master/servers/wordpress/gps-tracker/public/assets/js/gpstracker-map.js
var popupWindowText = “
if that doesn’t work, try this:
http://stackoverflow.com/questions/3844314/controlling-the-width-of-a-google-maps-infowindow
n
Thanks for feedback @ Nick!
The result is that it is stretched horizontally. With 2 rows and a single column as shown here. alignment is off >> http://i66.tinypic.com/15q2ij6.jpg
—————————————————————————————————–
var popupWindowText = “” +
” ” +
“” + lastMarker +
“Speed: ” + speed*1.609 + ”
kph” +
“Distance: ” + distance + ”
km ” +
“Time: ” + gpsTime +
“” +
“UserName: ” + userName +
” ” +
“Accuracy: ” + accuracy + ”
ft “;
// convert from meters to feet
accuracy = parseInt(accuracy * 3.28);
var popupWindowText = “” +
sorry for multiple posts, here is a screen cap of current code.
>> http://i64.tinypic.com/2poziuf.png
play with the number. I just threw out 200 as a starting point. Try 150 or 100 until it looks right.
n
Tried different values from 0 – 500, no difference.
How do I change map providers ?
Here in line 152-175
https://github.com/nickfox/GpsTracker/blob/master/servers/wordpress/gps-tracker/public/assets/js/gpstracker-map.js
n
Hello Nick,
Great work.
Only one question.
Can i visualize only the final destination and not the other old route of the same user?
Can I download or print gps information. ?
Thank you again
I think the easiest way is to alter the sql. select the top 1 in ascending order. I think that will do it.
n
Did we figure out how to fix the info window popup size @Nick ?
Did you go back and reread the second part of my original answer and check out the answer on stackoverflow that I suggested?
n
@Nick , Where would I implement this style override?
————————————————————–
/* Just use .gm-style-iw */
.gm-style-iw {
width: 300px;
min-height: 150px;
}
Source: https://katz.co/resizing-infowindow/
in the .css file.
n
Hello,
Super plugin bravo. I would like to make two modifications:
– Change the date format => (day, month, year)
– Integrate the pin address in infowindow
Is it possible ? Thank you for your return.
Also can we get it to draw a line, along the path (green markers to join them, so it looks like a track/line) as opposed to green marker separate. That would be wow, just awesome! Keep up the good work @ Nick!
Just posted an answer to another user a couple of days ago on how to add polylines.
n
I dont see the answer ? or am I looking in the wrong place?
http://stackoverflow.com/questions/3844314/controlling-the-width-of-a-google-maps-infowindow
also, if you are using the wordpress plugin, try deactivating all your other plugins to see if there is a conflict.
n
Can I change the halimage to something bigger, perhaps a banner?
>> https://www.websmithing.com/gpstracker/images/gpstracker-man-blue.png
Thanks
Hello.
I am very interested in using this plugin but when I activate it in my wordpress is messes up the style of the page. a couple menus get moved around and it renders it useless. I could send you a picture of the site if you wanted but as its active i cant just leave it up. Thanks in advance
Chris
I’m interested on hire you but the “hire-me” page does not exist!
Please, contact me a.s.a.y.c.
Thanks.
Hi,
Your plugin is very useful but when I activate it the main text in all my website page turn into light grey !!! Do you have an idea to avoid this ?
Thanks
Hi there,
It is a great plugin. I installed your plugin and the database tables wp_gps_locations and wp_gps_logger were created. But the map is not displayed for the tracking information from mobile phone. And wp_gps_location table has only 30 records. Is it possible to extend the number of records on wp_gps_locations table.
Thanks a lot.
Hello,
i want to use the outdoor app “locus pro” from android play store with the addon gpstrace4locus to send my position to the wp plugin.
i do a lot, but it doesn`t work. can you help?
the screenshot for configuration can be found here http://thiede.org/wp-content/uploads/2016/03/locus1.png and http://thiede.org/wp-content/uploads/2016/03/locus2.png
pleaseeeee 🙂
Hi, is this working for localhost?
Hey Sash
It will work for localhost, but it still needs to be connected to the internet to get the maps. You need to figure out the IP address of your computer. It’s been a few years since I’ve done it but it is possible.
n
Hey Nick,
I saw that someone had asked about plotting just the end destination, rather than a trail of markers, and while I saw your reply and looked through the code, I wasn’t able to locate where to change it to plot one point in ascending order. Could you point me in the right direction?
Thanks!
Hi Nick, Another WordPress user here and I’m having a problem getting the tracking going. I just did a fresh WordPress install and have only your plugin loaded. I created a page and placed the shortcode, then I downloaded the android app, set my username and url. When I view the page with the shortcode, I get just the map frame with a blank map and the message that there is no tracking data to view. Refreshing the map or reloading the page does not help.
The page url is http://www.vidivent.com/mitch
Am I missing something on the setup?
Thanks.
Hi Nick, Another WordPress user here and I’m having a problem getting the tracking going. I just did a fresh WordPress install and have only your plugin loaded. I created a page and placed the shortcode, then I downloaded the android app, set my username and url. When I view the page with the shortcode, I get just the map frame with a blank map and the message that there is no tracking data to view. Refreshing the map or reloading the page does not help.
The page url is http://www.vidivent.com/mitch
Am I missing something on the setup?
love the app. but i have this error any help please
http://jjl01.cloudapp.net/gpstracker/updatelocation.aspx
Server Error in ‘/GpsTracker’ Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 12:
Line 13: string latitude = Request.QueryString[“latitude”];
Line 14: latitude = latitude.Replace(“,”, “.”); // to handle European locale decimals
Line 15: string longitude = Request.QueryString[“longitude”];
Line 16: longitude = longitude.Replace(“,”, “.”);
Source File: c:\inetpub\wwwroot\GpsTracker\UpdateLocation.aspx.cs Line: 14
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
UpdateLocation.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\GpsTracker\UpdateLocation.aspx.cs:14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
it works if i paste the whole url but from android it does not update
http://jjl01.cloudapp.net/gpstracker/updatelocation.aspx?longitude=-122.0214996&latitude=47.4758847&extrainfo=0&username=momo1&distance=0.012262854&date=2014-09-16%2B17%253A49%253A57&direction=0&accuracy=65&phonenumber=867-5309&eventtype=android&sessionid=0a6dfd74-df4d-466e-b1b8-23234ef57512&speed=0&locationmethod=fused
hey man…first of all, thanks for this great plugin
is there any way ,we can sort users tracks by date?
we choose specific date and map show tracks of that day
can you help me on this?
Helo Nick
The WordPress version updates only every 5 minutes, instead of every minute , as I would like it to. By design or just a bug?
Hello Nick,
Another Alex here. Searching for a simple solution to post an hourly location of a group of people on a month long “demonstration” walk. I feel like this could be it, but am not savvy at navigating WordPress installation and changing code where needed. I can tell that you have a strong grasp of the interworking of GPS tracking and location reporting and might have an idea which app, if not this plug-in, would suite my needs. Visit 33daysontwin66.com to see the route map that we want to track and post our progress on.
Nick;
I se in the screenshots that there are additional duration’s in the time select. I have the app and site working but there seems to be a cutoff at 15 minutes. Is this something that can be adjusted?
BRGDS
Steve
Nick, not sure you’re still around at this point but if you are, I’d be willing to pay you for your time for a support issue pertaining to your plugin, which, if works correctly, creates a fair amount of value for my business.
Love your work and am just experiencing a few issues with it.
If you’re down for the offer I’ve made, please contact me using the information I’ve put in the box below.
Hi Nick,
Are you still developing on this?
Thanks
Ewan
Hey I am trying to build scooter rental app. can we talk?