Module

Developer
Supported

Dashboard Analytics

ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From Derek Hogue

     

You must be logged in to post.

Dashboard Analytics Screen not loading on MSM site.

Bug (Resolved)

bigsouth
bigsouth

Hey!

Using DA on a MultiSite install.
You have to log on with XXX.se/admin.php, and then you can change to XXX.dk in there.
When changing to XXX.dk, the DA just gives you spinning wheels. The URL is still XXX.se in the address, but surely it should work anyways?

I’ve added XXX.dk in analytics, and it has it’s own tracking code and is verified and all that jazz.

Any clues?
(the real URL is not XXX of course :) )

Error in console is similar to that other guy that posted:

[Error] Origin http://www.xxx.se is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resourceOrigin http://www.xxx.se is not allowed by Access-Control-Allow-Origin. (www.xxx.dk, line 0)
[Error] XMLHttpRequest cannot load http://www.xxx.dk/?ACT=55&site_id=3&csrf_token=826903fc450b3292bfee68ee293eb5fcc9134ec2 due to access control checks.
[Error] Origin http://www.xxx.se is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resourceOrigin http://www.xxx.se is not allowed by Access-Control-Allow-Origin. (www.xxx.dk, line 0)
[Error] XMLHttpRequest cannot load http://www.xxx/?ACT=56&site_id=3&csrf_token=826903fc450b3292bfee68ee293eb5fcc9134ec2 due to access control checks. 
Derek Hogue
# 1
Developer
Derek Hogue

Thanks for pointing out this cross-domain issue, I missed it when testing MSM. I just added a fix for this in version 1.0.5.

bigsouth
# 2
bigsouth

Thanks! I’ll update the ad on! :D