How basic are you looking? I have a super basic implementation working using both AppMeasurement and WebSDK here:
https://github.com/gigazelle/analytics-implementation
The pages are published on GitHub pages here:
https://gigazelle.github.io/analytics-implementation/
You can use the Experience Cloud Debugger to see the hits going to data collection servers.