Problem with Tracking Code
I am trying to put a tracking code into the google pro maps and I am getting errors. I need some help.
Here is the current code:
<code>
infowindow: 'custom',
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><?php echo str_replace("'", "\'", "<strong>Crenshaw Hyundai</strong><br /><strong>Address:</strong><br />330 Huffman Mill Road<br />Burlington, NC 27215-5177 USA "); ?></span>',
full: '330 Huffman Mill Road, Burlington, NC, 27215-5177, USA',
isdefault: false,
</code>
This is the old code that works:
<code>
infowindow: 'custom',
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Crenshaw Hyundai</strong><br />330 Huffman Mill Road<br />Burlington, NC 27215-5177 USA<br /><a href=http://www.crenshawhyundai.net onclick="javascript: pageTracker._trackPageview(\'/outgoing/crenshawmap\');">Visit our website</a></span>',
full: '330 Huffman Mill Road, Burlington, NC, 27215-5177, USA',
isdefault: false,
</code>
So I am trying to put the website tracking code in the new map, but it is getting errors.
<a href=http://www.crenshawhyundai.net onclick="javascript: pageTracker._trackPageview(\'/outgoing/crenshawmap\');">Visit our website</a>
Please help.
I thought I fixed it with this code:
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><?php echo str_replace("'", "\'", "<strong>Bob King Hyundai</strong><br /><strong>Address:</strong><br />1545 Silas Creek Parkway<br />Winston Salem, NC 27127-3757 USA"); ?><br /><a href=http://www.bobdunnhyundai.com onclick="javascript: pageTracker._trackPageview(\'/outgoing/bobdunnmapmap\');">Visit our website</a></span>',
But now the map doesn't show at all.
specialoffers/