快工助手跨境电商知识与商机助手

Data compass widget

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Data compass widget

Available market Only US

#

§2 Introduction

This widget will help sellers better understand their shop performance, manage operations effectively, and grow their business on TikTok. The data compass widget will enable sellers to access core analytics like GMV, visitors, reviews, and product rankings.

#

§3 Showcase

<div style="text-align: center"><img src="https://p16-arcosite-sg.ibyteimg.com/tos-alisg-i-k9wyc2ijk0-sg/0962d033fc814cc4885aec307d1e5598~tplv-k9wyc2ijk0-image.image" width="1476px" /></div>

#

§4 Core analysis

Core analysis

Sellers can monitor shop sales and traffic performance for a selected time period through six core metrics:

MetricInstruction
Shop GMVThe total amount paid for orders including state sales tax, shipping, and handling fees, but excluding discounts.
Shop ordersThe total number of orders placed for this product.
BuyersThe total number of unique buyers who placed orders.
Avg. CTR per dayThe daily average percentage of visitors who saw your product link and clicked through to your product. (Click-through rate per day/number of days within the selected period)
Shop visitorsThe total number of unique visitors who viewed the product detail page.
Cancellations and returnsThe number of orders that were returned and refunded within 30 days of delivery.
ReviewsThe total number of buyer reviews during the selected period.
Avg. CVR per dayThe daily average percentage of times unique visitors also placed an order. (Conversion rates per day/number of days within the selected period)
#

§6 Products ranked by GMV

Products ranked by GMV

The seller can check the products Top 5 ranking list ordered by GMV, Information and indicators of products and SKUs:

  • Product name/ID
  • GMV
  • Units sold

Image For more detailed data on TikTok Shop, you can add an entrance for merchants to click and go to Seller Center> analysis Image

#

§7 Integration demo

#

§8 React framework

React framework

Configure preload in WidgetConfigProvider preloadWidgetNames, you can put WidgetConfigProvider to the outermost preload time 1: @tiktokshop-widget/compass:metricGrid

import { WidgetConfigProvider,RemoteWidget } from '@tiktokshop/widget-kit-react';

const getWidgetToken = async () => {
  const res: any = await get('https://xxx/api/v1/widget/access_token', {
    outer_shop_id: 'xxx',
    partner_type: '1',
  });
  if (res?.code === 0) {
    return res?.data;
  }
  return {};
};

const initOptions = {
  config: {
    shopId: 'xxx', //seller id, such as 123456
    oecRegion: 'xxx', //country,such as US
    appKey: 'xxx', //The key corresponding to the merchant's creation service
    isvInfo: {
      name: 'xxx', //ISV name,such as OPEN_PLATFORM
    },
  },
  getToken: getWidgetToken,  //get auth token
  remotes: [
    {
      name: 'xxx', //Integrated business name, provided by the open platform,such as:@tiktokshop-widget/compass:metricGrid
    },
  ],
};

export default () => {
  return (
    <WidgetConfigProvider
      config={initOptions.config}
      getToken={initOptions.getToken}
      remotes={initOptions.remotes}
      preloadWidgetNames={['@tiktokshop-widget/compass:metricGrid']}>
      <RemoteWidget
        name={'@tiktokshop-widget/compass:metricGrid'}
        className={'containerClass'}
        options={{
            onClick: onHandleClick,//Control the jump event of clicking the 'More details' button inside the widget
        }} //Pass in the props required by the widget. If there are none, you don't need to pass them in.
      />
    </WidgetConfigProvider>
  );
};

2: @tiktokshop-widget/compass:performance

import { WidgetConfigProvider,RemoteWidget } from '@tiktokshop/widget-kit-react';

const getWidgetToken = async () => {
  const res: any = await get('https://xxx/api/v1/widget/access_token', {
    outer_shop_id: 'xxx',
    partner_type: '1',
  });
  if (res?.code === 0) {
    return res?.data;
  }
  return {};
};

const initOptions = {
  config: {
    shopId: 'xxx', //seller id, such as 123456
    oecRegion: 'xxx', //country,such as US
    appKey: 'xxx', //The key corresponding to the merchant's creation service
    isvInfo: {
      name: 'xxx', //ISV name,such as OPEN_PLATFORM
    },
  },
  getToken: getWidgetToken, //get auth token
  remotes: [
    {
      name: 'xxx', //Integrated business name, provided by the open platform,such as:@tiktokshop-widget/compass:performance
    },
  ],
};

export default () => {
  return (
    <WidgetConfigProvider
      config={initOptions.config}
      getToken={initOptions.getToken}
      remotes={initOptions.remotes}
      preloadWidgetNames={['@tiktokshop-widget/compass:performance']}>
      <RemoteWidget
        name={'@tiktokshop-widget/compass:performance'}
        className={'containerClass'}
        options={{}} //Pass in the props required by the widget. If there are none, you don't need to pass them in.
      />
    </WidgetConfigProvider>
  );
};
#

§9 ShowCase

#

§10 Change log

Release dateUpdate
#

§11 Widget SDK User Guide

#