I want to pass related marker id by clicking marker on google map. I am using marker.getId() function to retrieve marker id. But the marker id is not passing along with url.
you can try directly to access the id:
google.maps.event.addListener(marker, 'click', function() { window.location = "www.cickstart.com/" + marker.id; });