The website gets it. Safari does not strip it.
IMHO that's the correct thing to do. Maintaining GPS coords is highly desirable when uploading photos to your photo storage solution. It would be very sad if they were all lost.
Most web apps (such as facebook, slack) will strip the exif data though, so you don't always need to worry about it.