content-sdk-personalization-and-analytics
Personalize middleware variants in loaders; SITECORE_ANALYTICS events; bot tracking.
от Sitecore★ 39 звёзд на GitHub
Установить content-sdk-personalization-and-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Personalization and analytics (Angular)
Detail: AGENTS-angular-specifics.md#personalization-and-analytics
Read first: src/server.ts, src/app/components/content-sdk/cdp-page-view.component.ts
When
- Personalized variants not applied, or applied to the wrong request
- Adding analytics events
Rules
createPersonalizeMiddlewarewrites variants toreq.scParams; the loader forwards them withgetVariantId(context)/getComponentVariantIds(context)intogetPage(..., { personalize })- Personalize runs after multisite, bot tracking and redirects — do not move it
- Prefetch requests (
x-sc-purpose: prefetch), bots, editing/preview and/api/*are skipped; a prefetch must never fire a CDP exposure event - A CDP timeout falls back to the default variant — never block the render on CDP
- Personalized responses carry
Cache-Control: private, no-store; do not cache them at a CDN - Variant ids are part of the loader cache key
- Analytics: inject the
SITECORE_ANALYTICStoken; fire events only whenpage.mode.isNormal. The browser implementation is off in dev mode and withoutapi.edge.clientContextId - Personalize requires Edge configuration and does not work against local containers
Stop
- Stop if a change would send CDP events during prefetch, editing, or preview
- Stop if browser-side CDP event tracking is requested — it is not implemented in this SDK version
Docs: Content SDK for Angular.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл content-sdk-personalization-and-analytics?
Personalize middleware variants in loaders; SITECORE_ANALYTICS events; bot tracking.
Как установить скилл content-sdk-personalization-and-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл content-sdk-personalization-and-analytics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…