Implementing Google maps to marketo form

Anonymous
Not applicable

Implementing Google maps to marketo form

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

9 REPLIES 9
Grégoire_Miche2
Level 10

Re: Implementing Google maps to marketo form

Hi Vinod,

IMHO, you need to implement this using the Forms 2.0 API. Forms 2.0 » Marketo Developers

-Greg

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

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

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

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

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

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

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

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

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

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

Anonymous
Not applicable

Re: Implementing Google maps to marketo form

Hi Rajesh,

I just checked it creating blank HTML form which wasn't on web or any domain.

Best,

Vinu

SanfordWhiteman
Level 10 - Community Moderator

Re: Implementing Google maps to marketo form

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.

Sean_McCombs
Level 4

Re: Implementing Google maps to marketo form

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.

Reduce Form Abandonment with Google MAP API