> For the complete documentation index, see [llms.txt](https://docs.devtodev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devtodev.com/3rd-party-sources/app-marketplace-data/app-store-subscriptions.md).

# App Store Subscriptions

{% hint style="danger" %}
This functionality is available only for projects with integrated devtodev SDK version 2.1.0 or higher for native applications and not lower than 3.1.0 for Unity!
{% endhint %}

{% hint style="info" %}
*Please note that the current section describes how to integrate **only one source** of subscription data* – *from the App Store. You’ll also need to integrate the* [***Subscription event via SDK***](/integration/integration-of-sdk-v2/setting-up-events/basic-methods.md#subscriptions) *to get the subscription data in the devtodev reports (the documentation link is at the bottom of the page).*\
\&#xNAN;*When you integrate both data sources (App Store and SDK), you’ll be able to see the* [*Subscriptions report*](/reports-and-functionality/project-related-reports-and-fuctionality/smart-view/monetization-reports.md#subscriptions) *and devtodev will connect that data with the users successfully. If one of the integrations is missing, the Subscriptions report won’t be working correctly.*
{% endhint %}

## Step 1. Settings on App Store Connect side

Go to [App Store Connect](https://appstoreconnect.apple.com/).

In **My Applications**, select the app for which you would like to start analyzing subscription data.

In the left menu column under **General**, navigate to the **App Information** section.

<figure><img src="/files/UbVcljOvqlKeembXn05J" alt=""><figcaption></figcaption></figure>

Go to [devtodev](https://analytics.devtodev.com/), select the same app, and open the app settings:

1. Navigate to **Settings → Payments integration → Subscriptions → Integrate**.&#x20;

<figure><img src="/files/kIPhoeaCpywzHRNe0qYp" alt=""><figcaption></figcaption></figure>

2. Copy the **Endpoint URL**.&#x20;

<figure><img src="/files/JE3UubU6xxFcmSvFg4rV" alt=""><figcaption></figcaption></figure>

3. Return to [App Store Connect](https://appstoreconnect.apple.com/) and find the **App Store Server Notifications** section within **General App Information**. \
   Insert the copied **Endpoint URL** into both the **Production Server URL** and **Sandbox Server URL** fields.

<figure><img src="/files/2SMuy0tIWs0xTvbEOgQH" alt=""><figcaption></figcaption></figure>

4. Click `Save` to confirm your changes.

## Step 2. Settings on devtodev side

Go back to the [devtodev](https://analytics.devtodev.com/) **app settings**.

1. Specify your **application bundle** in the **iOS Bundle ID** field.&#x20;

<figure><img src="/files/pI7UmQwJqHtbMACWgY16" alt=""><figcaption></figcaption></figure>

2. Add all existing **subscriptions**, specifying:

* **SKU** (Subscription Key) – You can find it at [App Store Connect](https://appstoreconnect.apple.com/) → Manage Your Applications → Select the app.
* **Period** – e.g., 1 month, 1 year.
* **Name** – Custom name for the subscription.&#x20;

<figure><img src="/files/42emSXcv6q6dk6eUIGO7" alt=""><figcaption></figcaption></figure>

3. Click `Save` to finalize the setup.

## Final Step <a href="#final-step" id="final-step"></a>

Don’t forget to integrate the [subscription-specific SDK methods](/integration/integration-of-sdk-v2/setting-up-events/basic-methods.md#subscriptions). This ensures proper subscription event tracking and accurate reporting within devtodev.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devtodev.com/3rd-party-sources/app-marketplace-data/app-store-subscriptions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
