How To Add Google Map Directions (For Customers) to Your Website
Here is a *really* simple way you can give customers directions to your business from their home, office or wherever they happen to be. This is amazing, and you can implement it almost immediately.
Honestly, It’s just a couple lines of code which adds immediate value to your contact us or find us page.
<h2>Get Directions</h2>
<form action="http://maps.google.com/maps" method="get" target="_blank">
<p>Enter your starting address:</p>
<input type="text" name="saddr" />
<input type="hidden" name="daddr" value="[Your Business Address Here]" />
<input type="submit" value="Get Directions" />
</form>
Here, try it – here’s one of my favourite places to grab food in London (if you like this tip, maybe you could take me…): The ode will look like this.
Get Directions
Go ahead get it on your site… it’ll take you two seconds to copy and paste it.
Thanks to Dave Taylor for this code and a further explanation of what’s going on here.
-
codepotato
-
http://charliesaidthat.com/digital charliesaidthat
-
-
Patrik Jäghammar

