Free tools
GPX Photo Matcher
Drop a GPX file and up to five JPEGs. See where each photo lands on the track, how far it is from a GPS fix, and whether the camera clock is off. This free tool reads JPEG only; the app reads HEIC and RAW. For the full workflow in the app, see how to geotag photos from a GPX file.
If the pins land in the wrong place, the usual cause is the camera clock. Fix wrong geotags by setting the offset from a photo of your phone, or preview the offset in the matcher first.