Alphard Golf Internal Analytics
這是一個獨立部署、獨立 Shopify app 身分的內部 analytics 服務,只提供 store analytics API,不會跟現有 production server 上的其他 app 共用 runtime 或 app credentials。
Internal API
Endpoint: https://store-analytics.alphardgolf.com/api/internal/analytics
Header: Authorization: Bearer <INTERNAL_API_BEARER_TOKEN>
Shopify auth mode: client_credentials
Shopify app install
Target shop: alphard-golf-usa.myshopify.com
Required scopes: read_analytics,read_customers,read_discounts,read_inventory,read_locations,read_marketing_events,read_orders,read_products,read_reports,read_shopify_payments_payouts
Install / open app in Shopify Admin: https://store-analytics.alphardgolf.com/auth/login?shop=alphard-golf-usa.myshopify.com
Isolation
- 獨立 container:
internal-analytics-app - 獨立 compose project:
internal-analytics - 獨立 domain:
store-analytics.alphardgolf.com - 獨立 database:
internal_analytics