Skip to content

Milestones ​

Milestones are significant events that occur during the lifecycle of your business which you would like to correlate against performance. For example, let's say that you just released a significant new layout to your website, and wanted to observe your core web vitals performance before and after the release. In the screenshot below, you can see this example in action!

Milestones

How to create a milestone ​

Milestones can be created simply by sending your values to an HTTP Get request (web request) at the following url: https://portal.gamera.app/api/sites/mysite.com/milestones

The following URL Parameters are supported:

URL ParameterRequired/OptionalDescription
tokenRequiredYour milestones api token
labelRequiredThe text you would like to appear on the chart
labelURLOptionalThe url to link to when the label is clicked
dateOptionalAn ISO 8601 date string of the date/time of the event. If omitted, we use the time that the event was received. Example: 2024-08-14T13:30:45.123-05:00 would be a valid date string for the EST timezone

A more complete example is available below:

https://portal.gamera.app/api/sites/mysite.com/milestones?token=<my_api_token>&label=Introducing%20Gamera%20Milestones&labelURL=https://github.com/my/release/url

Generating a milestones api token ​

To send milestone events to gamera you will need an API token. To retrieve or generate a new API token please follow these steps:

  1. Select Site Manager from the left hand navigation menu
  2. Find the site you wish to generate an API key for
  3. Click the right hand actions menu (3 vertical dots)
  4. Select Manage API Key


  5. Select Generate New API Key or copy the existing API key

Designed in America πŸ‡ΊπŸ‡Έ and Developed in Switzerland πŸ‡¨πŸ‡­