Looking for new ways to engage potential users by showing them their commute options?
If you have a separate website where you want users to be able to initiate a trip search you can construct a link that will take users straight to our dynamic trip plan with their addresses and all of their applicable trip options.
To perform this task, you will need a form where users can input their origin and destination addresses, preferably using a service that auto-completes confirmed geolocations.
Once you have the origin and destination address it's as simple as putting them together into a single URL to send the user to upon form submission:
We will be using an example of someone going from Denver’s County Courthouse (1437 Bannock St, Denver, CO 80202) to the Coors Field (2001 Blake St, Denver, CO 80205) for a baseball game.
Base URL:
https://mywaytogo.org/#/dashboard/plan/
then you add the addresses as appropriate, beginning with the From:
1437 Bannock St, Denver, CO 80202
Then add a forward slash
/
Then add the To address:
2001 Blake St, Denver, CO 80205
Then add another forward slash
/
The final URL should look like this:
https://mywaytogo.org/#/dashboard/plan/1437 Bannock St, Denver, CO 80202/2001 Blake St, Denver, CO 80205/
Then the user can just go to this URL and get all of their appropriate travel options. This is confirmed to work in the latest versions of Chrome, Firefox, Safari, Edge, IE10, and IE11.
Also, if you would like to add a specific date or time to search, you would add it after that URL with ?date=2014-09-29&time=01:45 PM
Mailings & Application Integration:
If you have a list of users with home and work email addresses or an application that has their addresses, you can use the instructions above to generate unique URLs to link those users to custom-generated trip plans with a mail-merge tool. Or, if you have access to this user and address information in an existing application that can insert data into pre-formed URLs you can use your application to create and distribute URLs to users via your application.