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 |
Reference
Config fields reference
Field
Type
Property name
string
auth_token
string
counter_id
string
start_date
string
end_date
Changelog
Expand to review
Version | Date | Pull Request | Subject |
---|---|---|---|
1.0.14 | 2024-08-17 | 44291 | Update dependencies |
1.0.13 | 2024-08-10 | 43693 | Update dependencies |
1.0.12 | 2024-08-03 | 43072 | Update dependencies |
1.0.11 | 2024-07-27 | 42172 | Update dependencies |
1.0.10 | 2024-07-13 | 41925 | Update dependencies |
1.0.9 | 2024-07-10 | 41431 | Update dependencies |
1.0.8 | 2024-07-09 | 40837 | Update dependencies |
1.0.7 | 2024-06-25 | 40368 | Update dependencies |
1.0.6 | 2024-06-21 | 39934 | Update dependencies |
1.0.5 | 2024-06-04 | 38999 | [autopull] Upgrade base image to v1.2.1 |
1.0.4 | 2024-04-19 | 37296 | Updating to 0.80.0 CDK |
1.0.3 | 2024-04-18 | 37296 | Manage dependencies with Poetry. |
1.0.2 | 2024-04-15 | 37296 | Base image migration: remove Dockerfile and use the python-connector-base image |
1.0.1 | 2024-04-12 | 37296 | schema descriptions |
1.0.0 | 2023-03-20 | 24188 | Migrate to Beta; Change state structure |
0.1.0 | 2022-09-09 | 15061 | 🎉 New Source: Yandex metrica |