Yandex Metrica
This page contains the setup guide and reference information for the Yandex Metrica source connector.
Prerequisites
- Counter ID
- OAuth2 Token
Setup guide
Step 1: Set up Yandex Metrica
- Create Yandex Metrica account if you don't already have one.
- Head to Management page and add new tag or choose an existing one.
- At the top of the dashboard you will see 8 digit number to the right of your website name. This is your Counter ID.
- Create a new app or choose an existing one from My apps page.
- Which platform is the app required for?: Web services
- Callback URL: https://oauth.yandex.com/verification_code
- What data do you need?: Yandex.Metrica. Read permission will suffice.
- Choose your app from the list.
- To create your API key you will need to grab your ClientID,
- Now to get the API key craft a GET request to an endpoint https://oauth.yandex.com/authorizE?response_type=token&client_id=YOUR_CLIENT_ID
- You will receive a response with your API key. Save it.
Step 2: Set up the Yandex Metrica connector in Airbyte
- Log into your Airbyte Cloud account.
- Click Sources and then click + New source.
- On the Set up the source page, select Yandex Metrica from the Source type dropdown.
- Enter a name for the Yandex Metrica connector.
- Enter Authentication Token from step 1.
- Enter Counter ID.
- Enter the Start Date in format
YYYY-MM-DD
. - Enter the End Date in format
YYYY-MM-DD
(Optional).
For Airbyte Open Source:
- Navigate to the Airbyte Open Source dashboard.
- Click Sources and then click + New source.
- On the Set up the source page, select Yandex Metrica from the Source type dropdown.
- Enter the name for the Yandex Metrica connector.
- Enter Authentication Token from step 1.
- Enter Counter ID.
- Enter the Start Date in format
YYYY-MM-DD
. - Enter the End Date in format
YYYY-MM-DD
(Optional).
Supported sync modes
The Yandex Metrica source connector supports the following sync modes:
Supported Streams
Performance considerations
Yandex Metrica has some rate limits
tip
It is recommended to sync data once a day.
note
Because of the way API works some syncs may take a long time to finish. Timeout period is 2 hours.
Data type mapping
Integration Type | Airbyte Type | Notes |
---|---|---|
string | string | |
integer | integer | |
number | number | |
array | array | |
object | object |
Changelog
Version | Date | Pull Request | Subject |
---|---|---|---|
1.0.0 | 2023-03-20 | 24188 | Migrate to Beta; Change state structure |
0.1.0 | 2022-09-09 | 15061 | 🎉 New Source: Yandex metrica |