How would I differentiate between views coming from PWA and normal website views?

So recently I implemented PWA on my website but I wanted to know how many views and users are coming from PWA how can I do that and get data on Google analytics?

I was thinking to do something like:

So using query params is a correct method? Or there is some other way also? Also I think query param will work only for homepage I guess?