I follow the tutorial here: https://developers.google.com/analytics/devguides/reporting/embed/v1/devguide
I am sure I added Client Id and Javascript Origin correctly.
Client Id
Javascript Origin
But the chart does not appear, and I get this error:
Uncaught TypeError: window.google.load is not a function
It seems like every time I run the execute() function
execute()
Anyone else run into this issue?
After long throws and a turn, I finally got an answer, all I had to do was add
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
to application.html.erb file