Setting up your data integrations is the most important thing you'll do in Ranksy. This guide gives an overview of the Shopify Partner API and Google BigQuery integrations, and of the Ranksy integration (`/identify`) in your own app. Each section links to the full procedure.

## Which integration do you need?

| Integration | Where you set it up | Unlocks |
| --- | --- | --- |
| **Shopify Partner API** | App Settings in Ranksy | Revenue hub, CRM, Goals for revenue and installs, Affiliates, Meta and Reddit conversions |
| **Google BigQuery (GA4 export)** | Google Cloud, then App Settings in Ranksy | Traffic hub, ASO Keywords and Categories tabs, traffic filters, keyword traffic |
| **Ranksy integration (/identify)** | Code in your Shopify app, with a Ranksy API key | Meta and Reddit install matching, affiliate tracking, Store profile filter, CRM contacts and activity |

For the full list, see [Which Features Need Which Connection](https://docs.ranksyapp.com/hc/docs/articles/integration-requirements).

## Why Integrations Matter

Think of Ranksy without integrations like a car without an engine - it looks nice, but it won't take you anywhere. Here's what you're missing without integrations:

**Without Integrations:**

- No revenue data
- No customer information
- No traffic sources
- No conversion tracking
- Can only see public app store data

**With Integrations:**

- Complete revenue and MRR tracking
- Full customer lifecycle analysis
- Traffic source attribution
- Conversion funnel visualization
- Know exactly what drives your business

**Bottom line**: Skip this and you're flying blind. Do this and you have superpowers.

## Where to Connect

You connect each integration on its own tab in [App Settings](https://docs.ranksyapp.com/hc/docs/articles/app-settings). To open your app settings, click your name at the bottom of the sidebar, click **Manage Apps**, and then click your app.

You need the **Manage Integrations** permission. If you do not have access to the Partner organization or the Google Cloud project, use **Ask them to connect it** on the tab. Ranksy sends an email to the person who has access.

## Integration 1: Shopify Partner API

This connects your Shopify Partner account to Ranksy so Ranksy can track your app's revenue, customers, and subscriptions.

### What Data Do You Get from the Partner API?

Once connected, Ranksy will show you:

- **Revenue**: Daily, weekly, monthly earnings
- **MRR (Monthly Recurring Revenue)**: Your predictable income
- **Customer Count**: Total paying customers
- **New Installs**: People who just added your app
- **Churn**: Customers who cancelled
- **Subscription Changes**: Upgrades and downgrades
- **Customer List**: Every merchant using your app

Ranksy shows this data in the [Revenue Overview](https://docs.ranksyapp.com/hc/docs/articles/revenue-dashboard), [Subscriptions](https://docs.ranksyapp.com/hc/docs/articles/subscriptions), [Churn](https://docs.ranksyapp.com/hc/docs/articles/churn), and [CRM](https://docs.ranksyapp.com/hc/docs/articles/customer-management) pages.

### How the Partner API Connection Works

1. In the Shopify Partner Dashboard, create a Partner API client with the **View financials** and **Manage apps** permissions. Copy its access token.
2. Find your Organization ID and App ID in the URL of your app in the Partner Dashboard.
3. In Ranksy, open the **Partner API** tab. Enter the three items.
4. Click **Test connection**. Then click **Save Configuration**.

When you save, Ranksy imports the full revenue history that the Partner API gives for your app. You can close the page. The sync continues in the background.

For the full procedure and the error messages, refer to [Connect Partner API](https://docs.ranksyapp.com/hc/docs/articles/connect-partner-api).

## Integration 2: Google BigQuery

This connects your Google Analytics 4 (GA4) data to Ranksy so Ranksy can show you traffic, sessions, conversions, and user behavior.

### What Data Do You Get from BigQuery?

Once connected, Ranksy shows:

- **Traffic Sources**: Where visitors come from (Google, Facebook, Direct, etc.)
- **Pageviews**: How many people view your app listing
- **Sessions**: Complete user journeys
- **Geographic Data**: Where your users are located
- **Device Data**: Mobile vs desktop traffic
- **Click Events**: What users click on
- **Conversion Tracking**: From view to install
- **Attribution**: Which channels drive paying customers

Ranksy shows this data in the [Traffic Hub](https://docs.ranksyapp.com/hc/docs/articles/traffic-analytics).

### Prerequisites (Important!)

You must have these items before you connect BigQuery:

- **Google Analytics 4 (GA4)** installed on your app
- **GA4 linked to BigQuery**, with the data export turned on
- **At least 24 hours of data** exported

If you do not have these items, first follow [Set Up GA4 BigQuery Export](https://docs.ranksyapp.com/hc/docs/articles/setup-bigquery-export).

### How the BigQuery Connection Works

Ranksy connects to BigQuery with a Ranksy service account. You do not sign in with Google.

1. In Google Cloud, give `ranksy-service-account@ranksy-466612.iam.gserviceaccount.com` the **BigQuery Data Viewer** role and the **BigQuery Job User** role.
2. In Ranksy, open the **BigQuery** tab.
3. Enter the **Google Cloud Project ID** and the **BigQuery Dataset ID**.
4. Click **Save Configuration & Import Data**.

When you save, Ranksy imports all GA4 export tables that are in your dataset. You can close the page. The import continues in the background.

For the full procedure and troubleshooting, refer to [Connect BigQuery with Service Account](https://docs.ranksyapp.com/hc/docs/articles/connect-bigquery-service-account).

## Integration 3: Ranksy Integration (/identify)

This integration is not in App Settings. It is code in your own Shopify app. Your app calls the Ranksy `/identify` endpoint with an API key that has the `crm:write` scope. The call sends the Shopify plan, the country, the contacts, the merchant device and the affiliate `mref` code of each store.

These features need it:

- Meta and Reddit conversions. Ranksy sends no install conversions for a store with no Shopify plan.
- Matching installs to Meta and Reddit ad clicks and to affiliate links.
- The **Store profile** filter on the Revenue, Traffic and CRM pages.
- CRM contacts, **Last seen**, and the **Inactive customer** and **Health drop** automation triggers.

For the procedure, refer to [Ranksy Integration: Send Store Data with /identify](https://docs.ranksyapp.com/hc/docs/articles/identify-integration).

## Other Integrations

App Settings also has these tabs:

- **Google Analytics**: Connect GA4 directly with your Google account. Click **Connect with Google**, and then select the account and the property. Ranksy imports the last 12 months, and then the data of the previous day, every day.
- **Meta Conversions API** and **Reddit Conversions API**: Send conversions to your ad platforms. These tabs show only for some teams. They also need the Partner API and the Ranksy integration (`/identify`). Refer to [Meta Ads Attribution](https://docs.ranksyapp.com/hc/docs/articles/meta-ads-attribution).

## Integration Maintenance

### Keep Your Integrations Healthy

**Weekly Check (30 seconds):**

- Look at the status badge and the **Last sync** time on each integration tab
- Look for any error messages

**Monthly Tasks (5 minutes):**

- Review BigQuery usage costs (probably $0!)
- Check both integrations still connected
- Verify data looks accurate

**When the Status Shows an Error:**

- **Partner API**: Enter the access token again. Click **Test connection** and **Save Configuration**.
- **BigQuery**: Make sure that the service account still has its roles. Then click **Save Configuration & Import Data** again.
- **BigQuery data looks incorrect**: Click **Re-import Data**. This deletes the BigQuery data of the app and imports it again.

### Automatic Syncs

Once connected, Ranksy automatically:

- **Partner API**: Syncs new and changed data approximately every 4 minutes
- **BigQuery**: Reads the data of the current day approximately every 4 minutes, and the data of the last 7 days one time each hour

You don't need to do anything. There is no manual sync button.

## Security & Privacy

### How Ranksy Handles Your Data

**Credentials Storage:**

- Ranksy encrypts the Partner API access token at rest
- Ranksy never shows the token again, also not to you
- For BigQuery, Ranksy stores no credentials of yours. Access comes from the IAM roles that you give to the service account.

**Data Access:**

- Read-only access to your data
- Ranksy never modifies your Shopify or Google data
- Your data stays yours
- Isolated per account - no cross-contamination

### Your Rights

You can always:

- Export your data (CSV/Excel anytime)
- Stop access immediately: delete the Partner API client in your Partner Dashboard, or remove the IAM roles of the Ranksy service account
- Disconnect an integration on its tab in App Settings. Ranksy then deletes the data that it imported from that integration.

## FAQ

**Do I really need BOTH integrations?**

For complete analytics, yes. Partner API gives you money data. BigQuery gives you traffic data. Together you see the full picture. If you use Meta or Reddit ads, affiliates, or the **Store profile** filter, also add the [Ranksy integration (/identify)](https://docs.ranksyapp.com/hc/docs/articles/identify-integration) to your app.

**Can I connect later?**

Yes. When you connect the Partner API, Ranksy imports the full revenue history of your app. When you connect BigQuery, Ranksy imports all export tables that are in your dataset. But GA4 does not export data from before you turned on the export. Thus, turn on the GA4 BigQuery export as early as possible.

**What if my access token leaks?**

Delete the Partner API client in your Shopify Partner Dashboard. Access stops immediately. Then create a new client and enter its token on the **Partner API** tab in Ranksy.

**Does this affect my Shopify billing?**

No. Partner API is free to use (within reasonable limits).

**Will BigQuery cost me money?**

Probably not. Most apps stay within Google's free tier (1 TB queries/month free).

**Can I pause syncing?**

No. Ranksy has no pause option and no automatic sync switch. If you disconnect an integration, Ranksy deletes the data that it imported from it. When you connect again, Ranksy imports the data again.

**What if I have multiple apps?**

Connect each app separately in its own App Settings. Apps in the same Partner organization can use the same access token.

**How do I disconnect?**

Open the integration tab in App Settings. Click **Disconnect Partner API** or **Disconnect BigQuery**. Then click **Yes, Disconnect**. Ranksy deletes the data that it imported from that integration.

## Getting Help

### Still Stuck?

**Check These First:**

1. Error messages on the integration tabs in App Settings
2. **Last sync** times
3. Status badges (**Connected** = good, **Error** or **Auth Error** = issue)

**Contact Support:**

- **Email**: [support@ranksyapp.com](mailto:support@ranksyapp.com)
- **Chat**: Click widget in bottom right
- **Include**: Screenshots of any errors + your app name

**Urgent Issues:**

- Subject line: "URGENT: Integration Issue"
- Ranksy support responds within 2 hours during business hours

## Success Checklist

Before you consider integrations "done", verify:

- Partner API shows the green **Connected** status
- BigQuery shows the green **Connected** status
- Revenue numbers appear in [Analytics Dashboard](https://docs.ranksyapp.com/hc/docs/articles/analytics-dashboard)
- Traffic data showing in Analytics Dashboard
- **Last sync** times are recent
- No error messages in App Settings
- Customer count matches (roughly) Partner Dashboard
- If you use Meta or Reddit ads, or affiliates: a store in the CRM shows the Shopify plan and the contacts that your app sent with `/identify`

Once all checked off, you're good to go! 🎉

_Remember: The hardest part is done. Now you can focus on growing your app with real data!_

## Next steps

- [Which Features Need Which Connection](https://docs.ranksyapp.com/hc/docs/articles/integration-requirements) — See what each feature needs.
- [Ranksy Integration: Send Store Data with /identify](https://docs.ranksyapp.com/hc/docs/articles/identify-integration) — Send store data from your app.
- [Your Dashboard](https://docs.ranksyapp.com/hc/docs/articles/analytics-dashboard) — Learn what the numbers mean and where each hub link goes.
- [Revenue Overview](https://docs.ranksyapp.com/hc/docs/articles/revenue-dashboard) — Explore MRR, earnings, subscriptions, churn, and trials.
- [Traffic Hub](https://docs.ranksyapp.com/hc/docs/articles/traffic-analytics) — Look at attribution, traffic sources, and your conversion funnel.