Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tiktok-ads-integration

БесплатноБез исполняемых скриптовНе проверен

Launch TikTok ad campaigns for ecommerce with Events API server-side tracking, Spark Ads, catalog sync, and shopping ads for product discovery

finsilabsот finsilabs★ 69 звёзд на GitHub

Об этом скилле

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

Platform Integration Method Pixel + EAPI Catalog Sync
Shopify TikTok for Shopify (official app) Yes (built-in) Yes (automatic)
WooCommerce TikTok for WooCommerce plugin Yes (built-in) Yes (automatic)
BigCommerce TikTok channel in Channel Manager Yes (built-in) Yes (automatic)
Custom / Headless TikTok Pixel JS + Events API REST Manual implementation Manual 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
  5. Go to TikTok Ads Manager → Assets → Events and check your Pixel's event quality score — aim for 7+/10
  6. 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
Полный SKILL.md на GitHub

Установить tiktok-ads-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

claude-code
cursor
gemini-cli
copilot
codex-cli

Вложенные файлы

evals/campaign-structure-and-creative-strategy/criteria.jsonevals/campaign-structure-and-creative-strategy/task.mdevals/catalog-feed-generation/criteria.jsonevals/catalog-feed-generation/task.mdevals/server-side-events-api-with-deduplicatio/criteria.jsonevals/server-side-events-api-with-deduplicatio/task.mdtile.json

FAQ

Что делает скилл tiktok-ads-integration?

Launch TikTok ad campaigns for ecommerce with Events API server-side tracking, Spark Ads, catalog sync, and shopping ads for product discovery

Как установить скилл tiktok-ads-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tiktok-ads-integration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tiktok-ads-integration с