GET
https://jmpy.me/api/v1
/
analytics
/
brand
Brand Analytics
curl --request GET \
  --url https://jmpy.me/api/v1/analytics/brand \
  --header 'Authorization: Bearer <token>'
{
  "total_domains": 123,
  "domains": [
    {
      "domain": "<string>",
      "total_links": 123,
      "total_clicks": 123
    }
  ],
  "aggregated_clicks": 123
}
Retrieve aggregated performance metrics for your branded domains and subdomains. This helps track the overall health and effectiveness of your custom branding.

Parameters

range
string
default:"30d"
Time range for the analytics (e.g., 7d, 30d, 90d, all).

Request Examples

curl -X GET "https://jmpy.me/api/v1/analytics/brand?range=30d" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Examples

{
  "total_domains": 2,
  "domains": [
    {
      "domain": "link.mybrand.com",
      "total_links": 150,
      "total_clicks": 5000,
      "performance_score": 95
    },
    {
      "domain": "go.campaign.com",
      "total_links": 45,
      "total_clicks": 1200,
      "performance_score": 88
    }
  ],
  "aggregated_clicks": 6200,
  "top_performing_domain": "link.mybrand.com"
}

Response Fields

total_domains
number
Total number of branded domains associated with the account.
domains
array
List of branded domains with their individual metrics.
aggregated_clicks
number
Sum of clicks across all branded domains.

Use Cases

Compare the performance of different branded domains to see which one drives more engagement.
Monitor the click volume on your domains to ensure they are active and correctly configured.