Google Embed API Demo window.google.load is not a function error

I’m following the tutorial here:https://developers.google.com/analytics/devguides/reporting/embed/v1/devguide

I’m sure I’ve added the Client Id and Javascript Origin correctly.

But the chart doesn’t appear and I get this error:

Uncaught TypeError: window.google.load is not a function

It seems to appear every time I run the execute() function

Anyone else run into this problem?

Answer:

After much tossing and turning, I finally got the answer, all I had to do was add

    http://a%20href=

to the application.html.erb file

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: