cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roozbeh_al
Frequent Visitor

script error when connecting power bi to google analytics

I wanted to sign out from my google analytics account, and sign in to another account, so I went to: 

File -> Options and Settins -> Data Source Settings 

and then I deleted google analytics permissions.

 

Now when I want to sign in with google analytics, I get this error:

"an error has occurred in the script on this page", "Script error"

55.PNG

 

and when click on "Yes", it goes here:

56.PNG

 

I have tried these solutions and they didn't work for me:

https://community.powerbi.com/t5/Desktop/Error-connecting-Google-Analytics-and-Power-Bi/m-p/782185

https://community.powerbi.com/t5/Desktop/Connecting-PowerBI-to-Google-Analytics-error-loops/m-p/9665...

https://appuals.com/how-to-fix-an-error-has-occurred-in-the-script-on-this-page/

 

Any other ideas?

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @roozbeh_al 

I would suggest to update Power BI Desktop to the latest version, clear all permissions in Data source settings and try logging in again. 

 

Additionally, Power BI Desktop uses the default IE browser to log in, so you can open your IE browser manually, enter Google Analytics URL and test whether you can log in successfully in the browser.

 

Regards,

Community Support Team _ Jing Zhang

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @roozbeh_al 

I would suggest to update Power BI Desktop to the latest version, clear all permissions in Data source settings and try logging in again. 

 

Additionally, Power BI Desktop uses the default IE browser to log in, so you can open your IE browser manually, enter Google Analytics URL and test whether you can log in successfully in the browser.

 

Regards,

Community Support Team _ Jing Zhang

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors