The URL below is to be used for embedding a category.

The URL has to be set up this way to be able to set the category objects correctly.

Copying the URL is not going to embed a category correctly, because the URL present on the browser is always the result of a redirect / update.

https://localhost:8224/pi/?lang=en_GB&categoryMode=1#/dashboard-system/#/redirectToDefaultCategoryState/50

A URL is composed of a few parts:
protocol + host + port (optional) + path (optional) + query parameters (optional) + url fragment (optional)
Always in the above order.

So for the URL above this breaks down like this: