A user shared some advice with us:
"I have been trying to embed the ecommerce overview panel into our woocommerce / WP Dashboard, as a dashboard panel.
But the matomo widget (by default) breaks out of it’s iframe, and takes over the page - redirecting it back to the matomo installation url.
Maybe it would be good to say some words about this:
It took me hours to figure out that this was the problem - and the answer number #2 from the top fixed this issue for me.
So now I have my ecommerce overview panel in my WP / Woocommerce dashboard, finally ;)"