Cancel a tracking window
Stops tracking and returns the window with its final status. A window that already completed keeps its
completed status and its final read. A cancelled window gets no final read and fires no
post.tracking_completed webhook. Requires the Analytics add-on.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.cancelTrackingWindow({ path: { windowId: 'window_abc123', },});console.log(data);{ "window": { "id": "string", "postId": "string", "accountId": "string", "platform": "string", "platformPostId": "string", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "status": "open", "finalReadAt": "2019-08-24T14:15:22Z", "completionReason": "final_read", "requestedBy": "string", "latest": { "views": 0, "likes": 0, "comments": 0, "shares": 0, "saves": 0, "syncedAt": "2019-08-24T14:15:22Z" } }}Get Google Business Profile search keywords
Returns search keywords that triggered impressions for a Google Business Profile location. Data is aggregated monthly. Keywords Google reports only as below a threshold have `impressions` 0 and `impressionsThreshold` set to that threshold. Returns up to 100 keywords per page. When `nextPageToken` is not null, pass it as `pageToken` with the same `startMonth` and `endMonth` to get the next page. Max 18 months of historical data. Requires the Analytics add-on.
Get an analytics dashboard
Everything an analytics dashboard needs in one call: window totals, follower growth, a per-day series, top posts, recent posts and, optionally, the same figures for the previous period. Daily and total metrics use received attribution: each day holds the engagement that arrived that day, on any post, so `totals` is always the sum of `daily`. `topPosts` and `recentPosts` list posts published in the window with their lifetime metrics. A post cross-posted to several platforms appears once per platform. All dates are UTC days. Requires the Analytics add-on.