How can we help?

Search for the articles here or browse the categories below.

Browse by topic

Find guides, tutorials, and answers organised by category.

Popular articles

What other people are reading right now.

Getting Started

Connect BigQuery with Service Account

This guide shows you how to connect BigQuery to Ranksy with the Ranksy service account. Ranksy connects to BigQuery only in this way. You do not sign in with Google. You give the Ranksy service account access in your Google Cloud project. For an overview, refer to Connect BigQuery. What You'll Get Once connected, Ranksy imports your GA4 data and shows: - Traffic Sources: Where visitors come from - Pageviews: How many people view your app listing - Sessions: Complete user journeys - Geographic Data: User locations - Device Data: Mobile vs desktop traffic - Click Events: User interactions - Conversion Tracking: From view to install - Attribution: Which channels drive customers BigQuery is required for the Traffic Sources, Attribution and Campaigns tabs, and for the Keywords and Categories tabs in ASO. To see all the features that need it, refer to Which Features Need Which Connection. Prerequisites Before you start, make sure you have: - Google Analytics 4 (GA4) tracking your Shopify app - GA4 linked to BigQuery with data export enabled - At least 24 hours of exported data in BigQuery - Access to Google Cloud Console for your project Don't have BigQuery export set up yet? See the Set Up GA4 BigQuery Export guide first. Step 1: Grant Access to Ranksy Service Account in Google Cloud IAM In this step, you'll add the Ranksy service account to your Google Cloud project and give it permission to read your BigQuery data. 1.1 Open Google Cloud Console 1. Go to the Google Cloud Console 2. Make sure you're signed into the Google account that owns the BigQuery project 3. Select your project from the dropdown at the top of the page 1.2 Navigate to IAM & Admin 1. Click the hamburger menu (☰) in the top left 2. Scroll down and click IAM & Admin 3. Click IAM in the submenu 1.3 Add the Ranksy Service Account 1. Click the + GRANT ACCESS button at the top 2. In the "New principals" field, enter the Ranksy service account email: ranksy-service-account@ranksy-466612.iam.gserviceaccount.com 3. Click in the "Select a role" dropdown 1.4 Assign Required Roles You need to add two roles to the service account: First Role - BigQuery Data Viewer: 1. In the role dropdown, type "BigQuery Data Viewer" 2. Select BigQuery Data Viewer from the list Second Role - BigQuery Job User: 1. Click + ADD ANOTHER ROLE 2. Type "BigQuery Job User" 3. Select BigQuery Job User from the list 1.5 Save the Configuration 1. Review your settings: - Principal: ranksy-service-account@ranksy-466612.iam.gserviceaccount.com - Roles: BigQuery Data Viewer, BigQuery Job User 2. Click SAVE You should see the Ranksy service account appear in your IAM members list. Why These Roles? | Role | Purpose | |------|---------| | BigQuery Data Viewer | Allows reading data from your BigQuery tables | | BigQuery Job User | Allows running queries against your data | These are read-only permissions. Ranksy cannot modify, delete, or write to your BigQuery data. Step 2: Connect BigQuery in Ranksy Now that you've granted access, enter your project details in Ranksy to complete the connection. 2.1 Navigate to App Settings 1. Log in to Ranksy. 2. Click your name at the bottom of the sidebar. 3. Click Manage Apps. 4. Click your app. Its App Settings page opens. 2.2 Open the BigQuery Tab Click the BigQuery tab. The Google BigQuery card opens. 2.3 Enter Your Project Details Google Cloud Project ID: 1. This is your Google Cloud project identifier 2. Find it in Google Cloud Console at the top of the page (e.g., my-company-analytics) 3. Enter it in the "Google Cloud Project ID" field BigQuery Dataset ID: 1. This is where GA4 exports your data 2. The format is analytics_XXXXXXXXX where X's are your GA4 property ID 3. Enter it in the "BigQuery Dataset ID" field Example configuration: - Project ID: my-company-analytics - Dataset ID: analytics_123456789 2.4 Save and Import 1. Make sure that the text Will connect to: shows the correct project and dataset. 2. Click Save Configuration & Import Data. 3. The message "BigQuery settings saved successfully!" shows. Ranksy starts the first import. Note: Ranksy does not test the connection before it saves. If the service account cannot read the dataset, the status changes to Auth Error or Error. Refer to the Troubleshooting section below. Finding Your Dataset ID If you're not sure what your dataset ID is: 1. Go to the Google Cloud Console 2. Navigate to BigQuery (in the sidebar or search for it) 3. In the left panel, expand your project 4. Look for a dataset named analytics_XXXXXXXXX 5. The dataset name is your Dataset ID What Happens After Connection Initial Import After you save your configuration: - Ranksy imports all GA4 export tables that are in your dataset. - The time of the import depends on the quantity of data. - You can close the page. The import continues in the background. Automatic Updates After the first import, Ranksy imports new data automatically: - Approximately every 4 minutes, Ranksy reads the data of the current day. - One time each hour, Ranksy reads the data of the last 7 days again. You do not have to do anything. There is no manual import button. Re-import Data If your data looks incorrect, you can import it again: 1. Open the BigQuery tab. 2. Click Re-import Data. 3. Click Yes, Re-import Data. ⚠️ Warning: A re-import deletes all BigQuery analytics data of this app first. Then Ranksy imports all data again from your dataset. Disconnect 1. Open the BigQuery tab. 2. Click Disconnect BigQuery. 3. Click Yes, Disconnect. ⚠️ Warning: When you disconnect, Ranksy deletes all BigQuery events, sessions, and traffic data of this app. The data in your BigQuery dataset does not change. View Your Data After import completes, explore your data: - Traffic Analytics: See where your visitors come from in the Traffic Hub - Attribution: Understand which channels drive installs - Analytics Dashboard: Get a complete overview in Your Dashboard Troubleshooting Status Shows "Access Denied" The BigQuery tab shows Access Denied, and the status badge shows Auth Error. The service account cannot read your dataset. Fix: 1. Go back to Google Cloud Console → IAM & Admin → IAM. 2. Make sure that the Ranksy service account is in the list. 3. Make sure that it has the BigQuery Data Viewer role and the BigQuery Job User role. 4. If a role is missing, click the pencil icon and add the role. 5. In Ranksy, open the BigQuery tab. 6. Click Save Configuration & Import Data again. Syncing starts again. Dataset ID Error The message says that the Dataset ID is missing or is not a valid dataset name. Fix: 1. Go to BigQuery in Google Cloud Console. 2. Make sure that the dataset analytics_XXXXXXXXX exists. 3. Copy the exact dataset name and paste it in Ranksy. 4. Make sure that there are no typing errors or extra spaces. 5. Click Save Configuration & Import Data. Project ID Error The project ID is incorrect. Fix: 1. Go to Google Cloud Console. 2. Look at the project selector at the top. Copy the project ID, not the project name. 3. Enter the exact project ID in Ranksy. 4. Click Save Configuration & Import Data. Import Takes Too Long A large dataset can take some hours to import. Look at the status and the time of the last sync on the BigQuery tab. If the first import does not complete in 6 hours, contact support. No Data Shows After Import Check these: 1. Make sure that GA4 tracks your app. Look in Google Analytics. 2. Make sure that the BigQuery export has data. Look at the tables in the BigQuery console. 3. Make sure that the date range on the Ranksy page includes days with data. Security & Privacy What Ranksy Accesses Ranksy only reads your GA4 event data from BigQuery. Ranksy cannot: - Modify your data - Delete tables or datasets - Access other Google services - See data from other projects Data Handling - All data is encrypted in transit (TLS/SSL) - Stored encrypted at rest (AES-256) - Isolated per account - GDPR compliant FAQ Can I sign in with Google instead of the service account? No. Ranksy connects to BigQuery only with the service account. There are no sign-in pop-ups and no tokens that expire. Can multiple team members use this? Yes. After you connect, all team members with access to the Traffic pages can see the data. What if I remove the service account later? Ranksy cannot import new data. The status changes to Auth Error. The data that Ranksy already imported stays until you disconnect. Does this cost money? BigQuery has a free tier (1 TB queries/month, 10 GB storage). Most apps stay within free limits. Can I import data from before I connected? Yes. The first import reads all export tables that are in your dataset. GA4 does not export data from before you turned on the export. Next steps - Traffic Hub — See where your visitors come from, attribution, campaigns, and GA4 data. - Your Dashboard — See your funnel in the Traffic widget. - Connect Partner API — Add revenue data for the complete picture. - support@ranksyapp.com — Get help by e-mail or in the chat widget. Include your app name and any error messages that you see.

Revenue

Revenue Overview

Knowing whether your app's revenue is growing, stable, or at risk is the starting point for every growth decision you make. The Revenue hub gives you a single place to track all of it — from top-line MRR to per-merchant subscription history — powered by your Shopify Partner API data. Requirements - Shopify Partner API: required. Revenue data requires an active Partner API connection. If you haven't set this up yet, see Connect Partner API. After connecting, allow a few minutes for the initial sync to complete before your metrics populate. - BigQuery (GA4 export): optional. It adds the Traffic source filter. See Connect BigQuery. - Ranksy integration (/identify): optional. It adds the Store profile filter (Shopify plan, country, store type). See Ranksy Integration. The Usage Events tab is the only Revenue tab that does not need the Partner API. It needs /track events from your app. For every tab, see Which Features Need Which Connection. How the Revenue hub is structured Revenue is a hub — a top-level section with its own tab bar. Click Revenue in the sidebar to open the Overview, then use the tabs to drill deeper: | Tab | What it shows | | --- | --- | | Overview | Headline cards for active merchants, MRR, net installs, and churn rate. Revenue, MRR, and merchant charts. | | Earnings | Gross revenue, Shopify fees, processing fees, and net revenue over time | | Subscriptions | Active subscriptions, per-plan count and MRR, plan movement events | | Usage | Revenue from usage-based charges. Only apps with usage billing show this tab. | | Usage Events | Product-usage events that your app reports to Ranksy with /track, for all customers. This tab does not need the Partner API. | | Churn | Logo and revenue churn rates at 7 / 30 / 90 / 365-day windows | | Cohorts | Install retention and subscription retention, by cohort or by traffic source | | NRR | Net Revenue Retention over a starting-cohort base | | Trials | Trial conversion rate and active-trial count. If your app has no trials, this tab opens the Overview. | | Installations | Installs, uninstalls, reopened and closed stores, and merchant growth | | LTV | Estimated lifetime value from ARPA and churn, and revenue-based LTV for each plan | | Plans | A live snapshot of paying shops, active trials, and MRR for each plan | | Transactions | Every Partner API transaction, with filters, sorting, and a CSV export | | Credits | App credits, refunds, and adjustments | | Discounts | Active subscription discounts | The customer list is not a Revenue tab. Open it from CRM in the sidebar. See CRM. Overview metrics The Overview tab (the hub landing) shows your most important headline numbers at a glance. For most apps, the cards are Active Merchants, MRR, Net Installs, and Churn Rate. Apps with trials also show a Trial Conversions card. The cards change with your billing model. Apps with only usage billing show Usage Revenue instead of MRR, and no Churn Rate. Apps with only one-time charges show Total Revenue instead of MRR. MRR (Monthly Recurring Revenue) Your total MRR from active paid subscriptions on the selected date. Trends show day-over-day movement over the period. A steady upward slope is healthy; a flat line usually means acquisition and churn are roughly balanced. Active merchants The count of stores that have your app installed at the end of the period. Test stores are not counted. This is a stock metric — it reflects the state at the end of the period, not flows into or out of it. Net installs Installs and reactivations minus uninstalls and deactivations for the period. Positive = growing your installed base; negative = you're losing ground faster than you're gaining it. Churn rate The percentage of paying merchants who cancelled in the 30 days before the end of the period. See Churn for the full calculation. Trial conversions The number of trials that converted to a paid plan in the period. Only apps with trials show this card. Earnings The Overview has no earnings card. The Earnings tab shows what merchants paid and what you keep: | Card | What it means | | --- | --- | | Gross Revenue | The amount that merchants paid, before all fees | | Shopify Fees | The revenue share that Shopify keeps | | Processing Fees | Gross revenue minus net revenue minus Shopify fees | | Net Revenue | The amount that you earn after all fees | | Transactions | The number of transactions in the period | Ranksy reads the gross and net amount of each transaction from your Partner API. It does not apply an assumed fee rate. Comparison mode Most Revenue tabs have a date picker. Where the date picker shows Compare, enable it to overlay the previous equivalent period on every chart, so you can see whether this month's trend is better or worse than last month's. The Plans, Credits, and Discounts tabs show the current state and have no date picker. Data freshness Ranksy syncs your Shopify Partner API data about every four minutes. Shopify sometimes back-dates events (for example, when a charge processes a day after subscription activation). Because of this, the numbers for a recent day can change after a later sync. Note: Minor discrepancies between Ranksy and your Shopify Partner Dashboard are normal and typically less than 1%. They are caused by time-zone cutoffs and Shopify's own back-dating of charge events. If you see a persistent large gap, check the status and the Last sync time on the Partner API tab of your app settings. If the status is Connected and the gap stays, contact Ranksy support. FAQ Revenue tab is empty — what's wrong? Confirm your Partner API integration is connected and the initial sync is complete. Check the status on the Partner API tab of your app settings. To open your app settings, click your name at the bottom of the sidebar, click Manage Apps, and then click your app. During a sync, the Overview shows a progress banner. Why does MRR differ from my Partner Dashboard total? Small differences (< 1%) come from time-zone cutoffs. If the gap is larger, check the Last sync time on the Partner API tab of your app settings. If the gap stays, contact Ranksy support. Can I track multiple apps in Revenue? Yes. Each app in your account has its own Revenue hub. Use the app selector at the top of the sidebar to switch between apps. What's included in MRR? All recurring (monthly or annual-normalized) paid subscriptions. One-time charges appear in Earnings but not in MRR. Next steps - Installations — See installs, uninstalls and merchant growth. - Cohort Retention — See how long each cohort stays. - Subscriptions — See the breakdown and the MRR history of each plan. - Churn — See logo churn and revenue churn at four rolling windows. - Net Revenue Retention — See the revenue retention of your existing customers. - LTV — See the estimated lifetime value of each plan. - CRM — See the full merchant list and the transaction history.

Getting Started

Connect an AI Assistant (MCP)

Ranksy runs an MCP server at https://ranksyapp.com/mcp. Claude, ChatGPT, Claude Code, Codex, Cursor and other Model Context Protocol clients connect to it, and you sign in with your Ranksy account in the browser. There is no API key. To connect an assistant, follow Use Ranksy in Claude and ChatGPT. It has the steps for each assistant and a prompt you can paste into an AI agent so it sets up the connection for you. This article covers the Settings > AI Assistants page in Ranksy, where you manage those connections. Who Can Use It - You need the MCP Access permission in your team. Team owners have it. Settings shows AI Assistants only when you have this permission. If you don't see it, ask your team owner. - Every Ranksy plan and the free trial include MCP. Teams without a plan get 100 free tool calls per billing cycle for public App Store data (app search, app info, app rankings, keyword rankings and similar apps). See Plans and Limits in Use Ranksy in Claude and ChatGPT for the full table. Your MCP Server URL 1. Go to Settings > AI Assistants. 2. Under MCP Server URL, click Copy. The URL is https://ranksyapp.com/mcp. Paste it into any assistant that asks for a server URL. Use the streamable HTTP transport if the client asks. If your client can only run local servers, it needs the mcp-remote bridge, which runs on Node.js. The steps are in Use Ranksy in Claude and ChatGPT under Clients that only run local servers. Connected Assistants Every assistant you connect appears under Connected Assistants, with when it connected and when its access expires. To disconnect one, click the trash icon next to it, then click Revoke in the Revoke Access dialog. The assistant loses access to your Ranksy data right away. To use it again, connect it again and sign in. A connection you haven't used for 30 days expires, and changing your Ranksy password signs out every connected assistant. Both need a fresh sign-in. Usage and Limits MCP Usage shows how many tool calls your team has used in the current billing cycle, how many are left, which tools were called, and recent requests. A tool call is one time the assistant fetches or saves data. A single question can use a few. Connecting, signing in and listing the available tools don't count. The limit is for your team, not for each user. When your team uses all its tool calls, Ranksy declines further calls until the next billing cycle starts. Everything else in Ranksy keeps working. What the Assistant Can See and Change An assistant gets access only after you approve it. It sees the team you have selected in Ranksy and only the data your role can see. If you can't see revenue in Ranksy, the assistant can't either. Most tools only read. A few save changes in Ranksy when you ask: customer notes, customer tags, tasks, goals, saved listing improvements, landing page copy and ads settings. None of them change your Shopify listing or your ads. The connector can't touch billing, delete apps or change account settings. MCP vs the Developer API Both give you your Ranksy data, for different jobs: - AI Assistant (MCP): you, asking questions in plain language. Browser sign-in, no code. - Developer API: your app or scripts, reading and writing data from code. API keys, REST. FAQ Do I need to paste an API key? No. MCP signs in through your browser. API keys are only for the Developer API. Which assistants work? Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Windsurf and any other MCP client that connects to remote servers. Clients that only run local servers work through the mcp-remote bridge. Do I need Node.js? Only for the mcp-remote bridge. Clients that connect to the server URL directly don't need it. Next steps - Use Ranksy in Claude and ChatGPT: Setup steps for each assistant, example prompts and troubleshooting. - Developer API: Read and write your Ranksy data from code. - Ranksy CLI: The same data in your terminal, for scripts and CI. - Getting Started with Ranksy: Connect your data sources so the assistant has data to read.

Getting Started

Your Dashboard

The Dashboard is the main page of each app. It shows your most important metrics at a glance and provides direct links into each analytics hub — Revenue, Traffic, ASO, and Monitoring. What you see adapts to how many integrations you have connected. Accessing Your Dashboard 1. If your team has more than one app, select your app in the app selector at the top of the sidebar. 2. Click Dashboard in the sidebar. Note: When you select a different app in the app selector, Ranksy keeps the page that is open and shows it for the new app. Activation Levels The Dashboard is activation-aware: it shows more as you connect more data. | Activation level | What's visible | | --- | --- | | No integrations | Public rankings, review count, listing details | | Partner API connected | Revenue widgets, MRR, customer count, churn signals | | BigQuery connected | Traffic funnel, attribution sources, pageviews | | Both connected | Full dashboard — all widgets and hub deep-links active | If a hub widget can't yet show real data, it displays a preview state with a prompt to connect the required integration. To see which features need which connection, see Which Features Need Which Connection. Date Range Selector Located in the top right: - 7 days: Quick weekly snapshot - 30 days: Monthly overview (default) - 90 days: Quarterly trends - Custom: Select specific dates Changes apply to all dashboard widgets instantly. Hero Metric Cards Four key metrics at the top of the page: Pageviews - Total visits to your app listing - % change vs previous period (↑ green / ↓ red) Add App Clicks - Users who clicked "Add app" — a strong intent signal - Tracks progress through the conversion funnel Installs - Actual app installations in the period Revenue (requires Partner API) - Total earnings for the period - Includes all subscription types Hub Widgets Each widget summarises a hub and links into it for more detail. Revenue Widget (requires Partner API) Snapshot of your revenue health: - MRR (current month) - Active customers - Churn rate - Net Revenue Retention Click "Open Revenue hub" or any metric to go to the Revenue hub for full breakdowns by plan, cohort, and time period. Traffic Widget (requires BigQuery) Snapshot of your traffic funnel: - Pageviews → Add App Clicks → Installs - Top traffic source for the period - Install conversion rate Click any metric to go to the Traffic hub for source breakdowns, attribution, and campaign data. ASO Widget Snapshot of your search and category performance: - Top tracked keyword position - Number of ranked keywords - Category rank Click to go to the ASO hub for full keyword rankings, category positions, and competitor tracking. Monitoring Widget Surfaces today's Signal Brief highlights: - Goals at risk or recently achieved - Competitor movements worth noting - Listing or review signals Click to go to Monitoring → Today for the full daily brief. Understanding Percentage Changes - ↑ green = increase vs previous period (good for most metrics) - ↓ red = decrease vs previous period (needs investigation) - 0% = same as previous period When Data is Missing No revenue widget? - Connect the Shopify Partner API and wait for the first sync to complete. Large apps can take some hours. No traffic data? - Connect Google BigQuery and wait for the first import to complete. Large datasets can take some hours. Old data only? - Look at the status and the time of the last sync on the integration tab in App Settings. - If the status is Error or Auth Error, read the error message and fix the connection. There is no manual sync button. FAQ Why does the Dashboard look different from my colleague's? The Dashboard is activation-aware and adapts to your connected integrations and your team's plan permissions. Can I export dashboard data? Use the export buttons inside each hub (Revenue, Traffic, ASO) to download CSV data. How often does data refresh? The Partner API syncs approximately every 4 minutes. BigQuery imports the data of the current day approximately every 4 minutes, and the data of the last 7 days one time each hour. The ASO widget updates daily. What's a good install conversion rate? 2–5% (installs / pageviews) is typical. Above 5% is excellent. Below 1% suggests listing improvements are needed. Next steps - Connect Partner API — Add revenue data to your dashboard. - Connect BigQuery — Add traffic data to your dashboard. - Revenue Overview — See the full revenue breakdown behind the Revenue widget. - Traffic Hub — See the sources, attribution, and campaign data behind the Traffic widget. - Signal Brief — Read the full daily brief behind the Monitoring widget.

Revenue

Subscriptions

Aggregate MRR tells you the total, but plan-level data tells you the story. The Subscriptions tab breaks your revenue down by plan so you can see which tiers are growing, which are flat, and how merchants are moving between them. Requirements - Shopify Partner API: required. The Subscriptions tab requires your Partner API to be connected and synced. - BigQuery (GA4 export): optional. It adds the Traffic source filter. See Connect BigQuery. - Ranksy integration (/identify): optional. It adds the Store profile filter (Shopify plan, country, store type). See Ranksy Integration. What the Subscriptions tab shows Summary cards At the top of the page you'll see snapshot figures for the selected period: | Card | What it means | | --- | --- | | Active subscriptions | Total paying merchants at period end | | Total MRR | Sum of MRR across all active plans | | New subscriptions | Plans activated within the period | | Churned subscriptions | Plans cancelled within the period | Per-plan breakdown The plan table shows every plan that had at least one subscriber during the period: | Column | Description | | --- | --- | | Plan name | The plan name as set in Shopify | | Subscribers | Active subscriber count at period end | | MRR | Monthly recurring revenue contributed by this plan | | Share | This plan's percentage of total MRR | | Change | Subscriber count change vs the previous period | Note: Total MRR on the Subscriptions tab is the sum of all plan rows. If the numbers look higher than what you see on the Overview, check whether the date ranges match — Overview shows a point-in-time snapshot; Subscriptions can span a longer window. Plan MRR history chart The chart shows a line per plan over time, so you can visually track which plans are growing and which are contracting. The bold total line is the sum of all plan lines — it matches the MRR trend on the Revenue Overview. A plan line moving up while others are flat means customers are self-selecting into that tier. A plan line moving down across the board usually signals churn rather than plan migration. Subscription event feed Below the chart, the event feed lists individual subscription lifecycle events within the selected period. Use the Status filter to narrow to a specific event type: | Filter | Events shown | | --- | --- | | All | Every event | | Converted | Trial-to-paid conversions | | Upgraded | Moves to a higher plan | | Downgraded | Moves to a lower plan | | Churned | Cancellations | Each event row links to the merchant's profile in CRM. The customer list is under CRM in the sidebar. Reading plan-level signals - Rising subscriber count, flat MRR per subscriber — Customers are concentrating on lower-value plans; consider whether your plan pricing matches value delivered. - One plan dominates MRR share — Revenue concentration risk. If that plan churns heavily, your MRR takes a disproportionate hit. - Upgrade events outpace downgrade events — Expansion is healthy; your product is delivering enough value that customers opt for more. FAQ A plan has 0 subscribers but still appears. Why? It had activity (events) in the selected period even if it ended with no active subscribers. Narrow the date range or filter by event type to see what happened. The plan names differ from what I set in Shopify. Ranksy reads plan names exactly as returned by the Partner API. If you renamed a plan in Shopify after customers subscribed, older subscriptions may still carry the old name. Annual plans look odd in MRR — are they converted correctly? Yes. Annual subscription amounts are divided by 12 and stored as monthly equivalents so they compare correctly alongside monthly plans. Next steps - Churn — See which plans lose subscribers fastest. - Net Revenue Retention — Measure expansion and contraction across plans. - CRM — Open the profile of a merchant from the event feed. - Revenue Overview — See your top-line MRR and earnings.

Getting Started

Activity and Usage Events

Ranksy records two different kinds of event about your merchants — activity and usage. This guide explains the difference, how to send each one, and where each shows up in Ranksy. Requirements - Ranksy integration: required. Your app sends events with the /track endpoint, part of the Ranksy integration. Also call /identify so that each merchant has a full store profile. - Shopify Partner API: not required. The Usage Events tab works without it. Usage revenue (money) is on the Usage tab and needs the Partner API. - Permission: your role needs the Usage Events permission to see the Usage Events tab. The Two Kinds of Event Both come in through the same /track call of the Developer API. What separates them is one field: event_handle. | Detail | Activity | Usage | | --- | --- | --- | | Answers | How a merchant uses your app | What your app does for the merchant | | Examples | Opened the app, viewed a page, changed a setting | Messages sent, orders synced, an email campaign fired | | Sent with | A type (no event_handle) | An event_handle, usually a numeric value | | API key scopes | crm:write | crm:write and appevents:write | | Shows up in | The event list on the Usage Events tab of the customer page, plus Last seen | The totals on the customer's Usage Events tab, the customer's Shopify Events tab, and the Usage Events tab of the Revenue hub | | Countable / billable | No | Yes — counted and summed | | Can reach Shopify | Never | Optionally, if you forward it | The short version: activity is your product-analytics stream (think Mixpanel), and usage is your metering stream (the numbers you'd bill or report on). Activity Events Activity events track how a merchant moves through your app — opened it, opened the dashboard, changed a setting. They're lightweight, and you'd typically send one on every page load. Send an activity event by calling /track with a type and no event_handle: { "myshopify_domain": "store.myshopify.com", "type": "dashboard_viewed", "meta": { "page": "/dashboard" } } type defaults to app_opened if you leave it out, so a bare /track call already counts as "the merchant opened the app". The meta object is free-form context, stored as-is. Where it shows up: - Usage Events tab of the customer page — a list of the activity events of the merchant, most recent first. The list is below the usage totals. - Last seen — every /track call, activity or usage, updates the merchant's last-seen time. You'll see it on the customer record and can sort and filter your CRM by it. To read activity events with the API, use GET /apps/{app}/usage-events. The name of the endpoint says "usage", but the endpoint returns the activity events, with their type and meta. Note: Activity events stay inside Ranksy. They're never sent to Shopify. Usage Events Usage events track what your app did for the merchant — the things you'd count, report on, or bill for. Messages sent, orders synced, emails delivered. Send a usage event by calling /track with an event_handle and, usually, a numeric value: { "myshopify_domain": "store.myshopify.com", "event_handle": "messages_sent", "attributes": { "value": 12 } } Your API key needs the appevents:write scope for usage events. If the key does not have this scope, Ranksy does not record the event. The response then shows "status": "skipped". The value is what Ranksy sums. Send messages_sent with a value of 12 a hundred times over a month and the Usage Events tab shows a count of 100 events and a total of 1,200 messages. Where it shows up: - Usage Events tab of the customer page — totals for each event handle for that one merchant, and a Usage over time chart. - Shopify Events tab of the customer page — each usage event of that merchant, with its value and its forwarding status. - Usage Events tab of the Revenue hub — totals across every merchant. You can filter by event type and by date range. To filter by shop, use the /usage-metrics API endpoint. Usage events also carry the merchant's identity forward correctly, so a message sent by store A is counted against store A and never mixed up with store B. Sending Usage to Shopify (Optional) Usage events can be forwarded to Shopify's App Events API, where they can feed a usage-based billing meter you've set up on your app. This is optional — leave it off and the event is still recorded in Ranksy. To forward, include an app_events_token (an app-level JWT you mint from your Shopify Dev Dashboard credentials) on the /track call. The full mint-and-forward flow is in the API reference. The token is valid for 60 minutes. If the token has expired, Ranksy rejects the call with 422 (app_events_token_expired). Ranksy then records nothing. Make a new token, then send the call again. ⚠️ Warning: Don't put personal data in a usage event's attributes — no names, emails, phone numbers, or customer IDs. Shopify's App Events terms prohibit it, and Ranksy forwards your attributes as-is. Use non-identifying values like a campaign, a plan, or a count. How Ranksy Decides Which Is Which One field decides it: event_handle. - No event_handle → activity. The type and meta are recorded as an activity event. - An event_handle is present → usage. It's counted, summed, and optionally forwarded. A single /track call is one or the other, never both. If you send an event_handle, the type and meta fields are ignored — a usage event is never also logged as activity, so one tracked action never double-counts. FAQ I sent messages_sent as a type and it does not show in my usage totals. Why? Because a type is an activity event. Ranksy records it as activity, not in the usage store, so it's never counted. To count it, send it as an event_handle with a value instead. Also make sure that your API key has the appevents:write scope. { "myshopify_domain": "store.myshopify.com", "event_handle": "messages_sent", "attributes": { "value": 1 } } Can one call record both an activity and a usage event? No. Send two separate /track calls if you want both. Does my activity data go to Shopify? No. Only usage events can be forwarded, and only when you choose to by sending an app_events_token. Activity events never leave Ranksy. Do I need Shopify's developer preview to send usage events? No. Usage events are recorded in Ranksy — and forwarded to the Shopify Dev Dashboard, if you forward them — without any preview. The preview only matters for one specific case: showing standard Shopify events in the merchant-facing Shopify Analytics. See the API reference for that distinction. What counts as a "standard" vs "custom" usage event? A handle from Shopify's standard registry (it starts with shopify., like shopify.marketing.email_sent) is a standard event and is validated against that registry. Any other handle — like messages_sent or orders_synced — is a custom usage event, recorded with no schema check. Ranksy counts both kinds in your usage totals. Next steps - Ranksy Integration: Send Store Data with /identify — Set up the integration that /track is part of. - Track endpoint — API reference — See the full /track request, both event kinds, and how to mint an app_events_token. - Usage Metrics endpoint — API reference — Read your usage totals back over the API. - Developer API — Create an API key with the crm:write and appevents:write scopes. - CRM — See the events of each merchant on the customer page. - Connect Partner API — Sync revenue and subscription data alongside your events.