Turning addresses into GPS coordinates into delivery route? - geolocation

I'm not sure whether this question belongs to StackOverflow, SuperUser, or yet another StackExchange site.
I have a list of locations (prospects I need to meet) I have to drive to, and I'd like to use either Google Maps or Open Street View to build an optimized route.
Are there tools that can do this, eg. they take a CSV list of locations and generate a driving route?
Thank you.

If your list is short enough, you could build a custom link with all the locations which might be easier than the AutoIT approach. Look at the link that allows you to share a map with several route stops, and then use that syntax to chain your locations together. I think that would be easier than pasting them into the UI which recently changed.

Related

Passing specific delivery instructions through to ChowNow from online ordering link

I'm helping develop an online ordering process for a local business, and they are offering food delivery to their location from specific partnered restaurants. The problem we're looking to solve is making the experience as smooth as possible for the user, so we're aiming to fill out these specific data fields to make the process smoother. They have QR codes on their tables, that link directly to their websites ordering page, from there the user can select from a few local restaurants, and are linked to their online ChowNow menus.
Does anyone have any experience using ChowNow, and knows if there is any way to pass off specific delivery instructions to ChowNow, specifically an address, from the link provided to the users from the QR code on their table?
We haven't found anything too helpful on this problem from ChowNow's official documentation or support. There are alternate ways that we have in mind to solve this problem if need be, but this is the desired solution from the client, and we would like to have stick with this method if possible.

Making Google direct users to region-specific website or subdomain

I have a good, short website name like mysite.fr.
It's a website for my real shop (not an online shop).
I have 2 shops. These shops are located in 2 different cities, relatively far away from each other.
I could
1) make one website with 2 subdomains like
paris.mysite.fr
marseille.mysite.fr
2) make 2 new domains like
mysite-paris.fr
mysite-marseille.fr
But that would mean that I can't use my great, short URL anymore.
If option 1 is preferred, I would like to ask how I could properly teach Google what to show each Google Search user. I think it's contraproductive if I have to ask the user to choose the correct city to get to the appropriate shop.
I know that this is possible when using Google Ad campaigns, but I don't know of a way to do that for the common Google search.
Or is option 2 preferred anyways because option 1 is too error-prone?
Thank you.
There are many solutions you could use from the top of my mind I'm thinking about this flow.
First you need the user address:
Could be based on user input (asking for his address) in a text box like the typical food delivery landing page
Could be based on some "plugin" like google maps geolocation that tells you which is the place he is connecting from (usually it tells you street and such)
Then you need to basically locate to which store he is closer to
Then you need to decide which URL solution to use.
[Proposal] You could also move it to mysite.fr/paris or mysite.fr/marseille (sometimes this is better seo speaking, and also simpler when it comes to management) and you keep that amazing site name as the main protagonist as you were stating
Then you need to basically redirect him to the page to the store he was closer to.
In any case, I've been working in several sites that had that "change items based on address logic" and you can PM me for more info :)
Also there are ways in google Adwords in which you can basically put an advertisement only for certain keywords, regions and such, and in that case that is the option you are looking for. You should just create 2 rules, (one per region) and basically just display the adds to the people that are inside the area. This is an example of how the configuration you should put looks like in google Adwords. (It's really simple)
And this is how the add would look like in the google search or other channels depending on the target you select
See my LinkedIn if you want to contact me https://www.linkedin.com/in/alejandro-vales/
I would suggest the first way you mentioned and I guess you could use Radius around a location in Google Ads:
Radius targeting (also known as proximity targeting or "Target a radius") allows you to choose to show your ads to customers within a certain distance from your business, rather than choosing individual cities, regions, or countries.
Selecting a radius
When you target a radius, it's worth keeping in mind that selecting a small radius could mean that your ads might only show intermittently or not at all. That’s because small targets might not meet our targeting criteria.
From the page menu on the left, click Locations.
Click the name of the campaign you wish to edit.
Click the blue pencil icon, then select Radius.
In the search box, enter the address of the location you'd like to use for the center of the radius. Enter the radius that you'd like to target and select a unit of measurement from the drop-down menu.
Check the map to make sure you're targeting the correct area. When you're ready, click Save to add the radius target.
Click Save.
The documentation can be found here.
A Complete tutorial :The Complete Guide to AdWords Location Targeting.

Should I be using clean URLs or URL parameter in my Web App?

Which URL structure should I use for my Web-app?
Clean URLs like this
http://dashboard.company.com/sales/john-doe/2017/32
or with URL parameters?
http://dashboard.company.com/sales?person=john.doe&year=2017&week=32
Are there any guidelines for this?
Edit to explain my question better From the user perspective, the two ways are identical in ways of sharing the url. For the programming part they are not, I use Flask. I want know if there's a standard way of handling it, what is the better way?
Background
I am developing a Sales Dashboard for internal use at my company. It display the sales of every sales person. I want to make the reports shareable so that my colleagues can send their own page for a certain weeknumber with each other, or whatever. Or the boss can easily get the page for a meeting with the sales person.
No SEO
Just to stress this point. I don't need clean URLs for SEO.
It doesn't matter at all, by adding the parameters as GET or POST they will be visible but if you use a framework for your app, you should use clean as possible because the parameters to the controllers must be specific and not by data. Otherwise if is not a big project you can use like that but you need to make sure that soon you wont have something like lang?en or something which will be as main parameter. It's up to you, read GET x POST differences and you'll figure it out better.

ios google api issue

I need to add a very common Google functionality to an iPhone app I am developing. The idea is that the user is presented with a TextBox where he can write an address (i.e.: "Amsterdam av)". The thing is that I want to add some "help" for him, se when he writes a street name, the app will show him a list of partial matches, like google Maps does here:
sample http://www.timotteo.com.ar/google.png
I can´t find the exact class in the google API. It doesn't need to be as fast as google's own search, maybe the user can write "amst" and press a search button, to be presented with a list of partial matches. The API I'm looking for show return in some way a list with posibilities. All I could find for now where method that gives you the lat/long when you feed it with a specific address. Does somebody know what combination of methods/classes I should use? Maybe some example?
Txs in advance!
Perhaps you are looking for the autocomplete feature of the Places API:
https://developers.google.com/maps/documentation/javascript/places#places_autocomplete
This won't autocomplete for all addresses or streets, but rather for businesses, notable landmarks, etc.
If you want autocomplete for street addresses, I do not believe that is available through any documented APIs. That doesn't mean workarounds don't exist, but they may depend on more details about your use case. (For example, if you only care about a narrow geographic area, it may be possible to simply have a list of all the streets in your own database and handle the AJAX call yourself.)
Actully what I was looking for is this:
http://maps.google.com/maps/geo?q=amsterdam%201543&output=xml&oe=utf8&sensor=true&hl=es&gl=ar
That URL returns and XML with all the autocomplete options. All I have to do is parse that XML and voila! There I have my list.

Track pageviews in Google Analytics on partial url of Grails application

For my Grails application I want to set up Google Analytics to track only "partial" url's. I 'll explain:
a typical Grails url consists of the following parts: domain + application-name + controller + action + id
e.g. www.mydomain.com/myapp/controller/action/12345
As far as I understand for Google Analytics the page to be tracked is identified by the entire url. For my purpose I'm not interested in the id part of the url: I want to know which actions have been performed, but I need not know for which id the action was executed.
And of course I would like a generic solution, because I have multiple controllers and multiple actions... Maybe some kind of filter stating "I want to track pages 3 levels deep (/myapp/controller/action)" would do? Or a filter stating "exclude everything from url after the last /"?
Any help would be much appreciated.
Kind regards,
Pieter
I think this issue is best solved within the realm of Google Analytics, where you can create a specific report that ignores the id-part of the url.
That way you can just use Google Analytics at its easiest and need not make any code changes to your project
There can be several approaches. First thing comes to my mind is taking one of these steps:
Using profile filters (more info)
Generating the same virtual pageviews on each action id (more info)
Using advanced segments tool with a proper condition (page url pattern match) (more info)
Each approach has its pros and cons, choosing proper one depends on the goal you are trying to achieve.
I think this question is best answered by this article.
As the other contributors suggested, I too thought the issue should be resolved in Google Analytics. I clicked around a bit and got hopelessly confused.
Solving the issue within Grails is much much easier. In short the answer is:
in the Google Analytics tracking javascript there is a
"_trackpageview" action
this action can take as parameter the url you want to track
in Grails I can simply add the stuff I want to track:
application/controller/action
my Google Analytics script is in my main template
I just use: _gaq.push(['_trackPageview','myapp/${controllerName}/${actionName}']);
("myapp" should be the name of your application)
(${controllerName} and ${actionName} are generically available
variables in the Grails views)
Hope this will help others.
Thnx for the other answers.

Resources