# Activity upload

{% hint style="success" %}
upload activity: [racemap.com/upload](https://racemap.com/upload)&#x20;
{% endhint %}

Athletes using a sports tracker or wearables such as Garmin, Polar, Suunto can submit activities to an event and import their individually recorded geolocation data. Supported formats are GPX, KML and TCX. The activity is visible in the replay of the tracking map and in the leaderboard, afterward.

* Participants redeem the passcode or a key to addressing their activity to a specific event.&#x20;
  * **Key** to upload multiple activities and accumulate a total activity.
  * **Passcode** to upload one activity and generate a new entry.

{% content-ref url="/pages/-LXLDfyEEiuGO8RHSmWq" %}
[Keys and passcode](/apps/tracking/keys.md)
{% endcontent-ref %}

* Format of upload URL with passcode or with key `https://racemap.com/upload?key=XXXXXX`. With the passcode 6G615L the corresponding link is [racemap.com/upload?key=6G615L](https://racemap.com/upload?key=6G615L).
* Timestamps of imported activity must be within start- & end time of the event. Data outside of the time frame is excluded.
* Speed filter: If the speed is too high - like 60 km/h for a running event - these geolocations are ignored in the leaderboard. If a participant forgets to stop recording the activity while going by car, this segment is ignored, automatically.&#x20;

{% hint style="info" %}
[More about processing geolocation data](https://docs.racemap.com/how-to-use-live-tracking/gps-timing#processing-geolocation-data-in-leaderboard)
{% endhint %}

{% hint style="success" %}
**Test event for uploading activities:** "Easy QR Code Run" with passcode 6G615L

* passcode 6G615L in the upload link [racemap.com/upload?key=6G615L](https://racemap.com/upload?key=6G615L)&#x20;
* tracking map: [racemap.com/player/qrcode-test](https://racemap.com/player/qrcode-test?embed=true)
* leaderboard: [racemap.com/timing/qrcode-test](https://racemap.com/timing/qrcode-test)
  {% endhint %}

{% hint style="info" %}
Add individual parameters `startNumber` and `name` for each participant in the address `http://racemap.com/upload/?key=KEY&startNumber=STARTNUMBER&name=NAME`. That way participants don't have to type their name and bib number when uploading activities. Sample <http://racemap.com/upload/?key=6G615L&startNumber=1&name=Peter>.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.racemap.com/live-tracking/activity-upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
