That's not a good rule of thumb since often the unique identifier you're interested in is a query arg, so if you strip of everything after the ?, you're left with nothing. like the URL above, all you'll have left is:
Not suggesting you’re saying this, but I want to state that Ambien should never be the first tool in the toolbox for better sleep. The state it produces is not too dissimilar from a knockout.
I’d also suggest some interval training. If you have access to stair steppers, I highly recommend them. Easy to get started, and not too tough on your joints. 2 minutes at a pace that’s tough to sustain, and then 2 minutes off. I have a max HR of ~200 and I tend to level off at 180-188 during the interval section. Once you get accustomed to it you can play around with the timing ofc.
Prof. Matthew Walker says the accuracy of sleep trackers when it comes to per stage time is questionable. See Peter Attia podcasts w/ Walker.
Have you thought about going to a sleep lab to get some higher quality data? It’s near impossible to diagnose someone over the Internet, especially when the subject matter is so complex.
I think the problem is that most sleep trackers try to judge sleep based on heart-rate, which I don't think is valid.
There are a few sleep headbands that use an EEG though and in my experience they've been reliable (e.g. mine correctly judges when I actually fall asleep and has correctly judged that I was in REM sleep when I woke up from a dream).