Skip to content

Commit 8722752

Browse files
Gary ConroyGary Conroy
authored andcommitted
Apply review suggestions
1 parent dc3ef0d commit 8722752

File tree

11 files changed

+23
-24
lines changed

11 files changed

+23
-24
lines changed

specs/analytics/paths/click/getAddToCartRate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ get:
1111
By default, the analyzed period includes the last eight days including the current day.
1212
1313
The rate is the number of add-to-cart conversion events divided by the number of tracked searches.
14-
A search is tracked if it returns a queryID and `clickAnalytics` is `true`.
14+
A search is tracked if it returns a queryID (`clickAnalytics` is `true`).
1515
This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
1616
1717
**There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:**

specs/analytics/paths/click/getAverageClickPosition.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ get:
2323
'200':
2424
description: OK
2525
headers:
26-
x-ratelimit-limit:a
26+
x-ratelimit-limit:
2727
$ref: '../../../common/responses/rateLimit.yml#/x-ratelimit-limit'
2828
x-ratelimit-remaining:
2929
$ref: '../../../common/responses/rateLimit.yml#/x-ratelimit-remaining'

specs/analytics/paths/click/getClickPositions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ get:
1111
This lets you check how many clicks the first, second, or tenth search results receive.
1212
1313
An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) for the queries.
14-
The average is `0` until Algolia receives at least one click event.
1514
parameters:
1615
- $ref: '../../../common/parameters.yml#/Index'
1716
- $ref: '../../../common/parameters.yml#/StartDate'

specs/analytics/paths/click/getClickThroughRate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ get:
66
- analytics
77
summary: Retrieve click-through rate
88
description: |
9-
Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown
9+
Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown.
1010
1111
By default, the analyzed period includes the last eight days including the current day.
1212

specs/analytics/paths/click/getPurchaseRate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ get:
1111
By default, the analyzed period includes the last eight days including the current day.
1212
1313
The rate is the number of purchase conversion events divided by the number of tracked searches.
14-
A search is tracked if it returns a queryID and `clickAnalytics` is `true`.
14+
A search is tracked if it returns a query ID (`clickAnalytics` is `true`).
1515
This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
1616
1717
**There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:**

specs/analytics/paths/revenue/getRevenue.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ get:
88
description: |
99
Retrieves revenue-related metrics, such as the total revenue or the average order value.
1010
11-
To retrieve revenue-related metrics, sent purchase events.
11+
To retrieve revenue-related metrics, send purchase events.
1212
By default, the analyzed period includes the last eight days including the current day.
1313
14-
Revenue is based on purchase conversion events (an `eventSubtype` of `purchase`).
15-
The revenue is `price` multiplied by `quantity` for each object in the event's `objectData` array.
14+
Revenue is based on purchase conversion events (a conversion event with an `eventSubtype` attribute of `purchase`).
15+
The revenue is the `price` attribute multiplied by the `quantity` attribute for each object in the event's `objectData` array.
1616
parameters:
1717
- $ref: '../../../common/parameters.yml#/Index'
1818
- $ref: '../../../common/parameters.yml#/StartDate'

specs/analytics/paths/search/getNoClickRate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ get:
77
summary: Retrieve no click rate
88
description: |
99
Retrieves the fraction of searches that didn't lead to any click within a time range, including a daily breakdown.
10-
It also returns the count of tracked searches and tracked searches without clicks.
10+
It also returns the number of tracked searches and tracked searches without clicks.
1111
1212
By default, the analyzed period includes the last eight days including the current day.
1313
parameters:

specs/analytics/paths/search/getSearchesNoResults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ get:
44
operationId: getSearchesNoResults
55
x-acl:
66
- analytics
7-
summary: Retrieve the 1,000 most frequent searches that produced zero results.
7+
summary: Retrieves the most popular searches that didn't return any results.
88
description:
99

1010
parameters:

specs/analytics/paths/search/getTopHits.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ get:
88
description: |
99
Retrieves the object IDs of the 1,000 most frequent search results.
1010
11-
If you enable `clickAnalytics` (set it to `true`), you'll also see:
11+
If you set the `clickAnalytics` query parameter to true, the response also includes:
1212
13-
- Tracked searches count. A search is tracked if it returns a queryID and `clickAnalytics` is `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
13+
- Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
1414
- Click count
1515
- Click-through rate (CTR)
1616
- Conversion count
1717
- Conversion rate (CR)
18-
- Average click position.
18+
- Average click position
1919
20-
If you enable `revenueAnalytics` (set it to `true`), you'll also see:
20+
If you set the `revenueAnalytics` parameter to `true`, the response also includes:
2121
2222
- Add-to-cart count
2323
- Add-to-cart rate (ATCR)
2424
- Purchase count
2525
- Purchase rate
26-
- Revenue details for each currency.
26+
- Revenue details for each currency
2727
28-
**There's a difference between 0% rates and null rates when `clickAnalytics` is enabled:**
28+
**There's a difference between 0% rates and null rates:**
2929
3030
- **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null.
3131
- **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.

specs/analytics/paths/search/getTopSearches.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ get:
88
description: |
99
Returns the most popular searches. For each search, it also includes the average number of hits.
1010
11-
If you enable `clickAnalytics` (set it to `true`), you'll also see:
11+
If you set the `clickAnalytics` query parameter to `true`, the response also includes
1212
13-
- Tracked searches count. A search is tracked if it returns a queryID and `clickAnalytics` is `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
13+
- Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
1414
- Click count
1515
- Click-through rate (CTR)
1616
- Conversion count
1717
- Conversion rate (CR)
18-
- Average click position.
18+
- Average click position
1919
20-
If you enable `revenueAnalytics` (set it to `true`), you'll also see:
20+
If you set the `revenueAnalytics` query parameter to `true`, the response also includes:
2121
2222
- Add-to-cart count
2323
- Add-to-cart rate (ATCR)
2424
- Purchase count
2525
- Purchase rate
26-
- Revenue details for each currency.
26+
- Revenue details for each currency
2727
28-
**There's a difference between 0% rates and null rates when `clickAnalytics` is enabled:**
28+
**There's a difference between 0% rates and null rates:**
2929
3030
- **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null.
3131
- **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.

0 commit comments

Comments
 (0)