shopify-admin-traffic-by-page-report
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "shopify-admin-traffic-by-page-report":https://skillpi.com/zh/skills/deepskill-0cebe4022f9a0ff3751eed2133dcc369f1d7c426fb77c5e1d63ba3eba29ea77b。安装前核对上游来源和版本:https://github.com/40RTY-ai/shopify-admin-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用 Shopify 的分析 API 报告每个商品和合集页面的会话数、转化率和跳出率,揭示哪些页面吸引了用户关注,哪些页面实现了转化。
介绍来源: third_party · 40RTY-ai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: shopify-admin-traffic-by-page-report
role: conversion-optimization
description: "Report sessions, conversion rate, and bounce rate for every product and collection page using Shopify's analytics API — surfaces which pages earn eyeballs and which convert them."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
- shopifyqlQuery:query
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLIPurpose
Queries Shopify's built-in analytics engine (ShopifyQL) to surface session-level traffic data scoped to product and collection pages. Shows which pages are attracting the most traffic, how many sessions convert to orders, and where visitors are bouncing — ready input for SEO prioritisation, merchandising focus, and A/B test targeting. Read-only — no mutations are executed.
Prerequisites
- Authenticated Shopify CLI session:
shopify auth login --store <domain> - API scopes:
read_reports - Shopify plan: ShopifyQL analytics is available on Basic and above; availability of
sessionsas a data source requires Shopify plan or higher
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| store | string | yes | — | Store domain (e.g., mystore.myshopify.com) |
| format | string | no | human | Output format: human or json |
| dry_run | bool | no | false | Preview operations without executing mutations |
| days_back | integer | no | 30 | Lookback window in days (e.g., 30 = last 30 days) |
| page_type | string | no | both | Filter to: products, collections, or both |
| top_n | integer | no | 25 | Number of pages to show in the ranked output |
| sort_by | string | no | sessions | Ranking metric: sessions, conversion_rate, or bounce_rate |
Workflow Steps
-
OPERATION:
shopifyqlQuery— query (all landing pages) Inputs: ShopifyQL stringFROM sessions SHOW sessions, conversion_rate GROUP BY landing_page_path SINCE -<days_back>d UNTIL today ORDER BY sessions DESC LIMIT 250;sessionsandconversion_rateare the confirmed available metrics for this data source Expected output: All landing pages with session counts and conversion rates; paginate viaOFFSETif result count equals 250 -
In-memory filtering: Filter rows where
landing_page_pathstarts with/products/(product pages) or/collections/(collection pages); applypage_typeparameter; sort bysort_by; truncate totop_n; flag pages with sessions above median andconversion_rate < 0.02ashigh_traffic_low_conversion
Note: ShopifyQL does not support
LIKE,WHEREstring prefix filters, or aggregate aliases that shadow reserved column names (sessions,conversion_rate). All page-type filtering must be done in-memory after fetching all rows.
GraphQL Operations
# shopifyqlQuery:query (page traffic) — validated against api_version 2025-01
query TrafficByPage($query: String!) {
shopifyqlQuery(query: $query) {
parseErrors
tableData {
columns {
name
dataType
displayName
}
rows
}
}
}
The $query variable (single call — all landing pages, filtered in-memory):
FROM sessions
SHOW sessions, conversion_rate
GROUP BY landing_page_path
SINCE -<days_back>d
UNTIL today
ORDER BY sessions DESC
LIMIT 250
Then filter rows in-memory:
- Product pages:
landing_page_path.startsWith('/products/') - Collection pages:
landing_page_path.startsWith('/collections/') conversion_rateis returned as a decimal (e.g.0.016= 1.6%) — multiply by 100 for display
Confirmed live against 2025-01:
sessions(INTEGER) andconversion_rate(PERCENT) are the available metrics.WHERE … LIKE,bounce_rate,converted_sessions, and aggregate aliases that shadow reserved names are not supported in ShopifyQLFROM sessions.
Session Tracking
Claude MUST emit the following output at each stage. This is mandatory.
On start, emit:
╔══════════════════════════════════════════════╗
║ SKILL: traffic-by-page-report ║
║ Store: <store domain> ║
║ Started: <YYYY-MM-DD HH:MM UTC> ║
╚══════════════════════════════════════════════╝
After each step, emit:
[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>
On completion, emit:
For format: human (default):
══════════════════════════════════════════════
OUTCOME SUMMARY
Lookback window: <days_back> days
Page type: <products|collections|both>
Pages analysed: <n>
Top session page: <path> (<n> sessions)
Top converting page: <path> (<pct>%)
Errors: 0
Output: traffic_by_page_<date>.csv
══════════════════════════════════════════════
For format: json, emit:
{
"skill": "traffic-by-page-report",
"store": "<domain>",
"started_at": "<ISO8601>",
"completed_at": "<ISO8601>",
"dry_run": false,
"steps": [
{ "step": 1, "operation": "ProductPageTraffic", "type": "query", "params_summary": "products, last <days_back> days", "result_summary": "<n> product pages returned", "skipped": false },
{ "step": 2, "operation": "ProductPageTraffic", "type": "query", "params_summary": "collections, last <days_back> days", "result_summary": "<n> collection pages returned", "skipped": false }
],
"outcome": {
"days_back": 30,
"page_type": "both",
"pages_analysed": 0,
"results": [],
"errors": 0,
"output_file": "traffic_by_page_<date>.csv"
}
}
Output Format
CSV file traffic_by_page_<YYYY-MM-DD>.csv with one row per page:
| Column | Description |
|---|---|
page_type |
product or collection |
page_path |
URL path (e.g., /products/red-sneaker) |
sessions |
Total sessions landing on this page |
conversion_rate_pct |
Conversion rate as a percentage (API returns decimal; multiplied by 100) |
optimisation_flag |
high_traffic_low_conversion if sessions > median and conversion_rate < 2% |
For format: human, a ranked table is printed inline truncated to top_n, followed by a short list of optimisation candidates flagged with high_traffic_low_conversion.
Error Handling
| Error | Cause | Recovery |
|---|---|---|
parseErrors non-empty |
Invalid ShopifyQL syntax — each error is a plain string | Log each string, surface to user; common causes: aliasing a reserved column name (sessions, conversion_rate), using LIKE, or referencing a non-existent column like converted_sessions or bounce_rate |
tableData is null |
No analytics data for the period | Extend days_back; confirm the store has traffic |
ACCESS_DENIED / read_reports scope missing |
Scope not granted at auth time | Re-authenticate adding read_reports scope |
THROTTLED |
Analytics query rate limit | Wait 2 s, retry up to 3 times |
| No product/collection rows after filtering | Dev/test store or no direct landing traffic to catalog pages | Widen days_back; note that most traffic may enter via homepage |
Best Practices
- A
conversion_rate_pctbelow 1% on a high-traffic product page is worth investigating — check whether the product is out of stock, has poor images, or lacks a clear call-to-action. - Collection pages with high bounce rates often signal a poor match between the ad or search term that drove the session and the collection content — review the collection SEO title.
- Use
page_type: productsafter a new product launch to track early traction without noise from collection traffic. - Combine with
top-product-performanceto correlate high-converting pages with the products generating the most actual revenue. - Re-run the report weekly after making on-page changes (copy, imagery, pricing) to measure the impact — the 7-day window (
days_back: 7) isolates post-change behaviour cleanly.
版本历史
-
v1.1.0
GitHub ↗
原版更新说明
## 🤖 New category: Agentic Commerce Readiness The fix-it side of the [**agentiq.report**](https://agentiq.report) audit. The audit tells operators *where* AI shopping agents (ChatGPT, Gemini, Perplexity, agentic checkout) can't find, read, or recommend their store. This release adds **10 skills that remediate those findings** via the native Shopify Admin GraphQL toolkit — closing the loop: **audit finds the gap → run the matching skill → re-audit confirms.** Every skill declares the audit **signals** it fixes (`audit_signals` frontmatter), so a finding in the report maps directly to the skill that resolves it. ### Skills - **`agentic-readiness-audit`** — flagship, read-only store-side scorecard that routes each gap to its fix skill - **`agentic-product-jsonld-backfill`** — barcode/GTIN, vendor, product type for complete Product JSON-LD - **`agentic-image-alt-text`** — descriptive alt text on product media - **`agentic-description-enrichment`** — fact-rich descriptions for AI quoting - **`agentic-metafields-setup`** — define + populate agentic metafields for filtering - **`agentic-product-taxonomy`** — Shopify Standard Product Taxonomy categories - **`agentic-crawler-access`** — allow GPTBot/ClaudeBot/PerplexityBot… in `robots.txt.liquid` - **`agentic-llms-txt`** — publish a curated `/llms.txt` for AI assistants - **`agentic-organization-schema`** — Organization JSON-LD (sameAs, contactPoint) into the theme - **`agentic-policy-readability`** — machine-readable shipping/returns policies Plus a weekly **`agentic-readiness-monitor`** routine that re-audits and alerts on regressions. ### Stats **116 skills across 11 categories** (was 106/10), **21 routines** (was 20). All GraphQL validated against the live Admin 2025-01 schema; `pnpm validate:index` passes (116 skills, 64 operations). ### Notes Theme-editing and policy skills default to `dry_run`/`audit` mode, write inside managed `# BEGIN/END` blocks, and recommend duplicating the theme first.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 直接解决电商运营核心痛点:页面级流量与转化分析
- 为SEO优化、商品陈列和A/B测试提供数据支撑
- 适用于Shopify商家日常运营决策
亮点
- 触发词精准完整,覆盖多种变体
- 边界清晰,不易与其他Skill重叠
- description位置正确且内容完整
待提升项
-
缺少When to Use章节 原报告严重程度:轻微
文档结构完整但缺少明确的When to Use使用场景说明章节
改进建议:建议添加When to Use章节,明确说明在什么业务场景下使用此Skill
亮点
- Workflow Steps清晰分步,逻辑完整
- 包含详细的GraphQL操作说明和参数说明
- Session Tracking输出格式规范明确
待提升项
-
缺少bounce_rate指标实现说明 原报告严重程度:轻微
description中提到bounce rate但在GraphQL操作中未实现该指标
改进建议:建议在GraphQL查询中添加bounce_rate指标或在文档中说明该指标暂不支持
亮点
- 工具来源明确(ShopifyQL API),参数定义准确
- 错误处理机制完善,覆盖主要异常场景
- 包含重试机制和权限检查说明
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。