Hi,
Anyone implemented Google maps into Marketo form? Am looking to achieve this in the below web-page where once the customer start entering the Pincode it should auto complete the country, state/province and address for me, so I can avoid junk values entering database.
Web page: http://qliktest.qlik.com/Vinu-Test1_Reg_Form.html
I have added the GeoLocation script to the LP where it works fine with external forms or when used out of marketo, but here when page loads it gives some error message asking to contact the Marketo administrator or to visit the google page (http://g.co/mapsJSApiErrors). So it's urgent for me to resolve this and make it work for my form. Please advise and help me with this.
Best,
Vinu
Hi Vinod,
IMHO, you need to implement this using the Forms 2.0 API. Forms 2.0 » Marketo Developers
-Greg
Hi Gregoire,
Thanks for your quick response and time, yes am using the form 2.0 here but copied the Geolocation script into LP template. Should I have them in Form Embed code section ?
Best,
Vinu
Hi Vinod,
Is the domain qliktest.qlik.com authorized for that Google API key?
Most likely this domain might not be authorized to use that API key.
Are you within the quota limits (I guess so as you are testing)
How about Google payment information. Is it correct?
Rajesh
Hi Rajesh,
Thanks for your time help me here, yes qliktest.qlik.com is been authorized and am not sure what you meant by quota limits.. Can you please help me understand what quota limit is all about and how does it impact this functionality implementation on Marketo forms ?
Best,
Vinu
There is a limit of 2500 calls per day and 10 calls per minute for standard API usage.
Google Maps Geocoding API Usage Limits | Google Maps Geocoding API | Google Developers
I think you might be ok but wanted to check that possibility too.
That is not specific to Marketo pages though.
Do you have the same code working on any non-Marketo static web page on that same domain?
Rajesh Talele
Hi Vinod,
When I tried your webpage, I get these errors from Google.
Invalid Date Vinu-Test1_Reg_Form.html:1003:11
"Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key" util.js:220:12
"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required" util.js:220:12
"Google Maps API error: RefererDeniedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-denied-map-error" js:32:393
Does the same exact call working on a static non-Marketo page on that domain?
Rajesh
Hi Rajesh,
I just checked it creating blank HTML form which wasn't on web or any domain.
Best,
Vinu
asking to contact the Marketo administrator or to visit the google page (http://g.co/mapsJSApiErrors).
It never says "Marketo," it says "site administrator."
The error is from Google Maps: "refererDeniedMapError." Please recheck your authorized referrers for API key qliktechsandbox41_559250674F352F7607C090.
Further to Sanford's reply; Vinod, I would recommend to review the following Blog which provides an outline on how to set this up. Your authentication key seems to be pointing to Marketo, when it needs to specific to the Google APIs.