Get Sentiment Distribution (Analytics)
curl --request GET \
--url https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}import requests
url = "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Rating must be between 1 and 5"
}
}Analytics
Analytics dashboard
Retrieve aggregated review and Q&A analytics for a merchant including rating distribution, sentiment breakdown, and time-series trends.
GET
/
analytics
/
dashboard
/
{merchantId}
Get Sentiment Distribution (Analytics)
curl --request GET \
--url https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}import requests
url = "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cdn.tailoredd.com/apiV2/analytics/dashboard/{merchantId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Rating must be between 1 and 5"
}
}GET {BASE_URL}/analytics/dashboard/{merchantId}
Query parameters
string
7d · 14d · 30d (default) · 90d · allstring
ISO date
YYYY-MM-DD. Use with endDate for custom range.string
ISO date
YYYY-MM-DD.Response
{
"success": true,
"data": {
"totalReviews": 4821,
"totalQuestions": 312,
"averageRating": 4.6,
"starDistribution": [
{ "rating": 5, "count": 3200, "percentage": 66.4 }
],
"sentimentAnalysis": { "positive": 71.2, "neutral": 18.5, "negative": 10.3 },
"deviceSegmentation": { "desktop": 42, "mobile": 51, "tablet": 7 },
"reviewSources": { "widget": 68, "email": 29, "import": 3 },
"conversionMetrics": { "requestOpenRate": 38.4, "reviewConversionRate": 14.2 },
"questionStatus": { "pending": 18, "approved": 276, "rejected": 18 }
}
}
sentimentAnalysis is Growth/Enterprise only. Standard plan returns basic word-match data.questionStatus provides a breakdown of questions by moderation status. This is an additive field — existing integrations are not affected.Was this page helpful?