Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

tiktok-ads-integration抖音广告整合

Agent Skill

tiktok-ads-integration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

870

周安装

37

GitHub Stars

19

下载量

305
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tiktok-ads-integration(抖音广告整合)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/tiktok-ads-integration
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill tiktok-ads-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill tiktok-ads-integration

简介

用于查找、检索和筛选相关信息。

  • 适合根据关键词或任务场景快速定位候选结果,支持 Codex、Claude 等宿主环境。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装命令:npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill tiktok-ads-integration。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写操作。

SKILL.md

TikTok Ads Integration

Overview

TikTok is a primary discovery channel for ecommerce, particularly for fashion, beauty, home, and consumer goods. Reliable attribution requires pairing the browser-based TikTok Pixel with the server-side Events API (EAPI) — similar to Meta's CAPI approach. For Shopify, WooCommerce, and BigCommerce, the official TikTok integrations install both Pixel and EAPI automatically. Custom implementation only belongs in the Custom/Headless section.

When to Use This Skill

  • When launching TikTok as a new paid acquisition channel
  • When TikTok Pixel is under-reporting conversions and you need Events API
  • When setting up Product Shopping Ads or Video Shopping Ads
  • When boosting organic creator content as Spark Ads
  • When syncing your product catalog for Dynamic Showcase Ads

Core Instructions

Step 1: Connect your platform to TikTok

PlatformIntegration MethodPixel + EAPICatalog Sync
ShopifyTikTok for Shopify (official app)Yes (built-in)Yes (automatic)
WooCommerceTikTok for WooCommerce pluginYes (built-in)Yes (automatic)
BigCommerceTikTok channel in Channel ManagerYes (built-in)Yes (automatic)
Custom / HeadlessTikTok Pixel JS + Events API RESTManual implementationManual feed generation

Step 2: Set up TikTok Ads


Shopify

  1. Go to Shopify Admin → Sales Channels → + → TikTok
  2. Install TikTok for Shopify and connect your TikTok Business account and Ad account
  3. Under Pixel & Events, select Maximum Data Sharing — this enables server-side Events API alongside the browser Pixel
  4. Shopify automatically:

- Installs the TikTok Pixel on all pages - Fires ViewContent, AddToCart, InitiateCheckout, and CompletePayment events - Sends the same events via EAPI from Shopify's servers - Syncs your product catalog to TikTok Catalog Manager for Shopping Ads

  1. Go to TikTok Ads Manager → Assets → Events and check your Pixel's event quality score — aim for 7+/10
  2. Check catalog sync status in TikTok Business Center → Catalogs

WooCommerce

  1. Install TikTok for WooCommerce from the WordPress plugin directory (official TikTok plugin)
  2. Go to WooCommerce → TikTok → Connect and sign in with your TikTok Business account
  3. Enable Enhanced Matching (EAPI) under the data sharing settings
  4. The plugin syncs your WooCommerce product catalog to TikTok Catalog Manager automatically
  5. Verify events in TikTok Events Manager → Data Sources → [Your Pixel]

BigCommerce

  1. Go to BigCommerce Admin → Channel Manager → Add a Channel → TikTok
  2. Connect your TikTok Business account and Ad account
  3. Enable server-side event tracking during setup
  4. BigCommerce syncs your product catalog to TikTok automatically
  5. Check product sync status in Channel Manager → TikTok → Products

Custom / Headless

For headless stores, install both the browser Pixel and server-side Events API:

Browser Pixel (add to <head> on every page):

ttq.load('YOUR_PIXEL_ID');
ttq.page();

// Product page
ttq.track('ViewContent', {
  content_id: product.sku,
  content_type: 'product',
  content_name: product.name,
  value: product.price,
  currency: 'USD',
});

// Purchase — pass event_id for deduplication with Events API
const purchaseEventId = `purchase-${order.id}`;
ttq.track('CompletePayment', {
  content_id: order.lineItems.map(i => i.sku).join(','),
  value: order.subtotal,
  currency: order.currencyCode,
  order_id: order.id,
}, { event_id: purchaseEventId });

Server-side Events API (send from your order webhook):

async function trackTikTokPurchase(order: Order, req: Request) {
  const eventId = `purchase-${order.id}`; // MUST match Pixel event_id for deduplication
  const { createHash } = await import('crypto');
  const sha256 = (val: string) => createHash('sha256').update(val.toLowerCase().trim()).digest('hex');

  await fetch(
    `https://business-api.tiktok.com/open_api/v1.3/pixel/track/?business_id=${process.env.TIKTOK_BUSINESS_ID}`,
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        'Access-Token': process.env.TIKTOK_ACCESS_TOKEN!,
      },
      body: JSON.stringify({
        data: [{
          pixel_code: process.env.TIKTOK_PIXEL_ID,
          event: 'CompletePayment',
          event_id: eventId,
          event_time: Math.floor(Date.now() / 1000),
          user: {
            email: sha256(order.customerEmail),
            phone_number: sha256(order.customerPhone?.replace(/\D/g, '') ?? ''),
            ip: req.ip,
            user_agent: req.headers['user-agent'],
            ttclid: req.cookies['ttclid'], // TikTok click ID — strongest attribution signal
          },
          properties: {
            value: order.subtotal,
            currency: order.currencyCode,
            contents: order.lineItems.map(i => ({ content_id: i.sku, content_type: 'product' })),
            order_id: order.id,
          },
          page: { url: `${process.env.STORE_URL}/checkout/thank-you` },
        }],
      }),
    }
  );
}

Step 3: Build your TikTok campaign structure

In TikTok Ads Manager, build a three-tier campaign structure:

Campaign 1: Prospecting — Video Shopping Ads

  • Objective: Product Sales
  • Ad Group audience: Broad (target country, age 18–45, no interest targeting)
  • Bidding: Lowest Cost (let the algorithm learn for the first 2 weeks)
  • Ads: Video Shopping Ads — TikTok auto-generates product videos from your catalog, or upload your own UGC-style vertical videos
  • Budget: 60% of total TikTok budget

Campaign 2: Retargeting — Engaged Users

  • Objective: Conversions
  • Ad Group 1: Viewed product in last 7 days but did not add to cart

- Custom Audience: Website Event → ViewContent, last 7 days

  • Ad Group 2: Added to cart but did not purchase (last 3 days)

- Custom Audience: AddToCart, last 3 days; exclude CompletePayment

  • Ads: Dynamic product ads showing the specific product the viewer engaged with
  • Budget: 30% of total TikTok budget

Campaign 3: Spark Ads — Boost Organic Content

  • Objective: Conversions
  • Use Spark Ads to boost your top-performing organic TikTok posts or authorized creator posts
  • Spark Ads outperform most polished brand content because the social proof (likes, comments) carries over
  • Budget: 10% of total TikTok budget

Step 4: Set up Spark Ads (boosting organic content)

  1. In TikTok Ads Manager, go to Assets → Creative → Spark Ads
  2. To boost your own organic posts: search for the post URL and request authorization
  3. To boost creator posts: the creator must grant Spark Ad authorization via TikTok's authorization process — they go to Creator Tools → TikTok for Business and generate an authorization code
  4. Authorization codes are valid for 30 days — plan renewal into your workflow

Step 5: Measure TikTok Ads performance

MetricTargetWhere to Find
Pixel Event Quality Score7+/10TikTok Events Manager → Pixel
Video play rate (2s)> 25%Ads Manager → Campaign Analytics
Click-through rate> 1%Ads Manager
Cost per PurchaseYour target CPAAds Manager → Conversions
ROAS> 2× for broad / > 4× for retargetingAds Manager → Revenue

Best Practices

  • Use Maximum Data Sharing in Shopify/WooCommerce TikTok integration settings — this enables EAPI and is the most important single setting for attribution quality
  • Pass ttclid in all EAPI events — capture the TikTok click ID from landing page URLs (?ttclid=xxx) and store in a cookie; it is the strongest attribution signal after iOS 14
  • Use 9:16 vertical video exclusively — horizontal or square ads significantly underperform in TikTok's full-screen feed
  • Refresh creatives every 3–4 weeks — TikTok audiences fatigue faster than Meta; plan a continuous creative pipeline
  • Start with Lowest Cost bidding — before you have enough conversion data for Cost Cap bidding, Lowest Cost generates the purchase history the algorithm needs
  • Exclude recent purchasers (30 days) from prospecting — upload a customer list as a custom audience exclusion in all prospecting ad sets

Common Pitfalls

ProblemSolution
Double-counting purchases in Events ManagerEnsure event_id in Pixel and Events API match exactly for the same event
Catalog feed rejectionsCheck that price format is "XX.XX USD" (space between amount and currency code is required)
Low match rate in Events ManagerSend ttclid, ip, and user_agent in addition to hashed email for maximum attribution
High CPMs but low click-through rateFirst 2 seconds of video must be visually arresting — no logo cards or slow product reveal intros
Spark Ad authorization expiredRequest new auth codes every 30 days; set calendar reminders for creator-authorized content

Related Skills

  • @meta-ads-integration
  • @tiktok-shop-integration
  • @google-ads-ecommerce
  • @ugc-campaign-management
  • @marketing-attribution-dashboard

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.6%
按下载量换算109

Claude

28.84%
按下载量换算88

Cursor

21.82%
按下载量换算67

Gemini CLI

10.94%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills