Skip to content

Commit

Permalink
source-google-analytics-v4: use hits metric for check (airbytehq#17717)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored and jhammarstedt committed Oct 31, 2022
1 parent b20f58d commit 090ec5e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Expand Up @@ -386,7 +386,7 @@
- name: Google Analytics (Universal Analytics)
sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003
dockerRepository: airbyte/source-google-analytics-v4
dockerImageTag: 0.1.26
dockerImageTag: 0.1.27
documentationUrl: https://docs.airbyte.com/integrations/sources/google-analytics-universal-analytics
icon: google-analytics.svg
sourceType: api
Expand Down
Expand Up @@ -3866,7 +3866,7 @@
oauthFlowOutputParameters:
- - "access_token"
- - "refresh_token"
- dockerImage: "airbyte/source-google-analytics-v4:0.1.26"
- dockerImage: "airbyte/source-google-analytics-v4:0.1.27"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/google-analytics-universal-analytics"
connectionSpecification:
Expand Down
Expand Up @@ -12,5 +12,5 @@ COPY main.py ./
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.26
LABEL io.airbyte.version=0.1.27
LABEL io.airbyte.name=airbyte/source-google-analytics-v4
Expand Up @@ -556,7 +556,7 @@ def check_connection(self, logger: logging.Logger, config: MutableMapping) -> Tu
# declare additional variables
authenticator = self.get_authenticator(config)
config["authenticator"] = authenticator
config["metrics"] = ["ga:14dayUsers"]
config["metrics"] = ["ga:hits"]
config["dimensions"] = ["ga:date"]

try:
Expand Down
Expand Up @@ -155,6 +155,7 @@ Incremental sync is supported only if you add `ga:date` dimension to your custom

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------- |
| 0.1.27 | 2022-10-07 | [17717](https://github.com/airbytehq/airbyte/pull/17717) | Improve CHECK by using `ga:hits` metric. |
| 0.1.26 | 2022-09-28 | [17326](https://github.com/airbytehq/airbyte/pull/15087) | Migrate to per-stream states. |
| 0.1.25 | 2022-07-27 | [15087](https://github.com/airbytehq/airbyte/pull/15087) | Fix documentationUrl |
| 0.1.24 | 2022-07-26 | [15042](https://github.com/airbytehq/airbyte/pull/15042) | Update `additionalProperties` field to true from schemas |
Expand Down

0 comments on commit 090ec5e

Please sign in to comment.