Implementing Google maps to marketo form | Community
Skip to main content
April 27, 2016
Question

Implementing Google maps to marketo form

  • April 27, 2016
  • 3 replies
  • 4319 views

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: 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Grégoire_Miche2
Level 10
April 27, 2016

Hi Vinod,

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

-Greg

April 27, 2016

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

April 27, 2016

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

April 27, 2016

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

April 27, 2016

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

SanfordWhiteman
Level 10
April 27, 2016

asking to contact the Marketo administrator or to visit the google page (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 3
April 27, 2016

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