Widget - evaluation of a specific sub page

Hello community,
I just try a widget to integrate into my side, which evaluates only a single base.
To illustrate:
The following single side to be evaluated: www.example.de/site.php?id=4
The statistics to be displayed on www.example.de / statistik.php?

The code of a widget:

use Segmentation with &pageUrl=URL_YOU_WANT_STATS_FOR

URL_YOU_WANT_STATS_FOR should be URL encoded value.

See: Segmentation - Compare segments of visitors - Analytics Platform - Matomo