If a GPX track contains a track description, this text is automatically added to the popup text with the metainformation when clicking anywhere on the GPX track itself. Example from demo.mapsmarker.com:
If your track does not contain a description, you can manually add one by adding the tag the GPX file accordingly: