Skip to content

Commit

Permalink
Added capture snapshots and fixed pk order
Browse files Browse the repository at this point in the history
  • Loading branch information
Luishfs committed Apr 9, 2024
1 parent a0ae3ba commit fd663e1
Show file tree
Hide file tree
Showing 20 changed files with 946 additions and 160 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
active1DayUsers:
type:
- "null"
- integer
description: "The number of distinct active users on your site or app within a 1 day period. The 1 day period includes the last day in the report's date range. Note: this is the same as Active Users."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- date
- property_id
74 changes: 74 additions & 0 deletions source-google-analytics-data-api/acmeCo/devices.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
deviceCategory:
type: string
description: "The type of device: Desktop, Tablet, or Mobile."
operatingSystem:
type: string
description: The operating systems used by visitors to your app or website. Includes desktop and mobile operating systems such as Windows and Android.
browser:
type: string
description: The browsers used to view your website.
totalUsers:
type:
- "null"
- integer
description: "The number of distinct users who have logged at least one event, regardless of whether the site or app was in use when that event was logged."
newUsers:
type:
- "null"
- integer
description: "The number of users who interacted with your site or launched your app for the first time (event triggered: first_open or first_visit)."
sessions:
type:
- "null"
- integer
description: "The number of sessions that began on your site or app (event triggered: session_start)."
sessionsPerUser:
type:
- "null"
- number
description: The average number of sessions per user (Sessions divided by Active Users).
averageSessionDuration:
type:
- "null"
- number
description: "The average duration (in seconds) of users` sessions."
screenPageViews:
type:
- "null"
- integer
description: The number of app screens or web pages your users viewed. Repeated views of a single page or screen are counted. (screen_view + page_view events).
screenPageViewsPerSession:
type:
- "null"
- number
description: The number of app screens or web pages your users viewed per session. Repeated views of a single page or screen are counted. (screen_view + page_view events) / sessions.
bounceRate:
type:
- "null"
- number
description: "The percentage of sessions that were not engaged ((Sessions Minus Engaged sessions) divided by Sessions). This metric is returned as a fraction; for example, 0.2761 means 27.61% of sessions were bounces."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- date
- deviceCategory
- operatingSystem
- browser
- property_id
52 changes: 52 additions & 0 deletions source-google-analytics-data-api/acmeCo/flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
collections:
acmeCo/daily_active_users:
schema: daily_active_users.schema.yaml
key:
- /date
- /property_id
acmeCo/devices:
schema: devices.schema.yaml
key:
- /date
- /deviceCategory
- /operatingSystem
- /browser
- /property_id
acmeCo/four_weekly_active_users:
schema: four_weekly_active_users.schema.yaml
key:
- /date
- /property_id
acmeCo/locations:
schema: locations.schema.yaml
key:
- /region
- /country
- /city
- /date
- /property_id
acmeCo/pages:
schema: pages.schema.yaml
key:
- /date
- /hostName
- /pagePathPlusQueryString
- /property_id
acmeCo/traffic_sources:
schema: traffic_sources.schema.yaml
key:
- /date
- /sessionSource
- /sessionMedium
- /property_id
acmeCo/website_overview:
schema: website_overview.schema.yaml
key:
- /date
- /property_id
acmeCo/weekly_active_users:
schema: weekly_active_users.schema.yaml
key:
- /date
- /property_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
active28DayUsers:
type:
- "null"
- integer
description: "The number of distinct active users on your site or app within a 28 day period. The 28 day period includes the last day in the report's date range."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- date
- property_id
74 changes: 74 additions & 0 deletions source-google-analytics-data-api/acmeCo/locations.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
region:
type: string
description: "The geographic region from which the user activity originated, derived from their IP address."
country:
type: string
description: The country from which the user activity originated.
city:
type: string
description: The city from which the user activity originated.
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
totalUsers:
type:
- "null"
- integer
description: "The number of distinct users who have logged at least one event, regardless of whether the site or app was in use when that event was logged."
newUsers:
type:
- "null"
- integer
description: "The number of users who interacted with your site or launched your app for the first time (event triggered: first_open or first_visit)."
sessions:
type:
- "null"
- integer
description: "The number of sessions that began on your site or app (event triggered: session_start)."
sessionsPerUser:
type:
- "null"
- number
description: The average number of sessions per user (Sessions divided by Active Users).
averageSessionDuration:
type:
- "null"
- number
description: "The average duration (in seconds) of users` sessions."
screenPageViews:
type:
- "null"
- integer
description: The number of app screens or web pages your users viewed. Repeated views of a single page or screen are counted. (screen_view + page_view events).
screenPageViewsPerSession:
type:
- "null"
- number
description: The number of app screens or web pages your users viewed per session. Repeated views of a single page or screen are counted. (screen_view + page_view events) / sessions.
bounceRate:
type:
- "null"
- number
description: "The percentage of sessions that were not engaged ((Sessions Minus Engaged sessions) divided by Sessions). This metric is returned as a fraction; for example, 0.2761 means 27.61% of sessions were bounces."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- region
- country
- city
- date
- property_id
40 changes: 40 additions & 0 deletions source-google-analytics-data-api/acmeCo/pages.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
hostName:
type: string
description: "Includes the subdomain and domain names of a URL; for example, the Host Name of www.example.com/contact.html is www.example.com."
pagePathPlusQueryString:
type: string
description: "The portion of the URL following the hostname for web pages visited; for example, the `pagePathPlusQueryString` portion of `https://www.example.com/store/contact-us?query_string=true` is `/store/contact-us?query_string=true`."
screenPageViews:
type:
- "null"
- integer
description: The number of app screens or web pages your users viewed. Repeated views of a single page or screen are counted. (screen_view + page_view events).
bounceRate:
type:
- "null"
- number
description: "The percentage of sessions that were not engaged ((Sessions Minus Engaged sessions) divided by Sessions). This metric is returned as a fraction; for example, 0.2761 means 27.61% of sessions were bounces."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- date
- hostName
- pagePathPlusQueryString
- property_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
$schema: "https://json-schema.org/draft-07/schema#"
type:
- object
additionalProperties: true
properties:
property_id:
type:
- string
date:
type: string
description: "The date of the event, formatted as YYYYMMDD."
sessionSource:
type: string
description: The source that initiated a session on your website or app.
sessionMedium:
type: string
description: The medium that initiated a session on your website or app.
totalUsers:
type:
- "null"
- integer
description: "The number of distinct users who have logged at least one event, regardless of whether the site or app was in use when that event was logged."
newUsers:
type:
- "null"
- integer
description: "The number of users who interacted with your site or launched your app for the first time (event triggered: first_open or first_visit)."
sessions:
type:
- "null"
- integer
description: "The number of sessions that began on your site or app (event triggered: session_start)."
sessionsPerUser:
type:
- "null"
- number
description: The average number of sessions per user (Sessions divided by Active Users).
averageSessionDuration:
type:
- "null"
- number
description: "The average duration (in seconds) of users` sessions."
screenPageViews:
type:
- "null"
- integer
description: The number of app screens or web pages your users viewed. Repeated views of a single page or screen are counted. (screen_view + page_view events).
screenPageViewsPerSession:
type:
- "null"
- number
description: The number of app screens or web pages your users viewed per session. Repeated views of a single page or screen are counted. (screen_view + page_view events) / sessions.
bounceRate:
type:
- "null"
- number
description: "The percentage of sessions that were not engaged ((Sessions Minus Engaged sessions) divided by Sessions). This metric is returned as a fraction; for example, 0.2761 means 27.61% of sessions were bounces."
_meta:
type: object
properties:
row_id:
type: integer
required:
- row_id
required:
- date
- sessionSource
- sessionMedium
- property_id
Loading

0 comments on commit fd663e1

Please sign in to comment.