Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tap-ga4 JSON schema updates 2024-08-21 #1050

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
tap: google-analytics-4
version: '1'
tables:
tables:
- name: sample_report
custom-report: true
description: |
For every report you create in the integration's settings page, Stitch will create a corresponding table in your destination. The table will contain the [metrics and dimensions you select](#track-data), along with a few columns Stitch requires for replication.

**Note**: Every row in this table pertains to a specific day. Use the `start_date` and `end_date` columns to identify what day the row is for.

The `{{table.table-details.primary-key}}` column is a Stitch-generated SHA 256 hash that should be used as a Primary Key. The hash consists of a UTF-8 encoded JSON list containing:

- The account ID, web property ID, and profile ID of the associated report
- Pairs of `ga:dimension_name` and `dimension_value`
- The `start_date` and `end_date` values for the record, in `YYYY-mm-dd` format
description: "For every report you create in the integration's settings page, Stitch\
\ will create a corresponding table in your destination. The table will contain\
\ the [metrics and dimensions you select](#track-data), along with a few columns\
\ Stitch requires for replication.\n\n**Note**: Every row in this table pertains\
\ to a specific day. Use the `start_date` and `end_date` columns to identify what\
\ day the row is for.\n\nThe `{{table.table-details.primary-key}}` column is a\
\ Stitch-generated SHA 256 hash that should be used as a Primary Key. The hash\
\ consists of a UTF-8 encoded JSON list containing:\n\n - The account ID, web\
\ property ID, and profile ID of the associated report\n - Pairs of `ga:dimension_name`\
\ and `dimension_value`\n - The `start_date` and `end_date` values for the record,\
\ in `YYYY-mm-dd` format\n"
table-details:
replication-method: Key-based Incremental
primary-key: _sdc_record_hash
replication-key: start_date
status: not_found
tap-repo-schemas: true