Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.