{"componentChunkName":"component---src-templates-markdown-template-jsx","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-snowplow-schema/","result":{"data":{"pageMetadata":{"title":"BigQuery (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-snowplow-schema/","sourceCode":null,"metadataParent":{"title":"Data Warehouses and Data Lakes","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/","sourceCode":null,"hasVersionPicker":null,"metadataChildren":[{"title":"Advanced Data Warehouse Settings","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/advanced-data-warehouse-settings/","order":5.1,"label":null},{"title":"AWS Kinesis (Snowplow)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-kinesis/","order":5.1,"label":null},{"title":"AWS Redshift (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-redshift/","order":5.2,"label":null},{"title":"AWS S3 Integration (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-s3-define-schema/","order":5.3,"label":null},{"title":"AWS S3 (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-s3-snowplow/","order":5.3,"label":null},{"title":"BigQuery (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-snowplow-schema/","order":5.4,"label":null},{"title":"BigQuery Firebase Schema","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-firebase-schema/","order":5.5,"label":null},{"title":"BigQuery (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-define-schema/","order":5.6,"label":null},{"title":"GCP BigQuery Export","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/gcp-bigquery-export/","order":5.7,"label":null},{"title":"Snowflake (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowflake-snowplow-schema/","order":5.8,"label":null},{"title":"Snowplow Schema Overview","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowplow-schema/","order":5.8,"label":null},{"title":"Snowflake (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowflake-define-schema/","order":5.9,"label":null}],"metadataParent":{"title":"Developer Docs","path":"/guides/analytics/analytics-deprecated/developer-docs/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/analytics-deprecated/developer-docs/introduction/","order":1,"label":null},{"title":"Integrations","path":"/guides/analytics/analytics-deprecated/developer-docs/integrations/","order":4,"label":null},{"title":"Data Warehouses and Data Lakes","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/","order":5,"label":null},{"title":"APIs","path":"/guides/analytics/analytics-deprecated/developer-docs/apis/","order":6,"label":null},{"title":"SDKs","path":"/guides/analytics/analytics-deprecated/developer-docs/sdks/","order":6,"label":null},{"title":"Developer Basics","path":"/guides/analytics/analytics-deprecated/developer-docs/developer-basics/","order":7,"label":null}],"metadataParent":{"title":"Analytics (Deprecated)","path":"/guides/analytics/analytics-deprecated/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/analytics-deprecated/introduction/","order":1.1,"label":null},{"title":"Developer Docs","path":"/guides/analytics/analytics-deprecated/developer-docs/","order":4,"label":null},{"title":"Identity Providers","path":"/guides/analytics/analytics-deprecated/identity-providers/","order":null,"label":null},{"title":"Settings","path":"/guides/analytics/analytics-deprecated/settings/","order":null,"label":null}],"metadataParent":{"title":"Analytics","path":"/guides/analytics/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/introduction/","order":1,"label":null},{"title":"Core Analytics (Beta)","path":"/guides/analytics/core-analytics/","order":1.1,"label":null},{"title":"Analytics Free Trial","path":"/guides/analytics/analytics-free-trial/","order":2,"label":null},{"title":"Setup","path":"/guides/analytics/setup/","order":3,"label":null},{"title":"Settings","path":"/guides/analytics/settings/","order":4,"label":null},{"title":"Analytics Data Manager","path":"/guides/analytics/data-manager/","order":5,"label":null},{"title":"Analyses","path":"/guides/analytics/analyses/","order":6,"label":null},{"title":"Query Builder","path":"/guides/analytics/query-builder/","order":6,"label":null},{"title":"User Aliasing","path":"/guides/analytics/user-aliasing/","order":7,"label":null},{"title":"Dashboards","path":"/guides/analytics/dashboards/","order":8,"label":null},{"title":"Analytics Resources","path":"/guides/analytics/resources/","order":10,"label":null},{"title":"User Segments","path":"/guides/analytics/user-segments/","order":10,"label":null},{"title":"Tutorials","path":"/guides/analytics/tutorials/","order":11,"label":null},{"title":"APIs","path":"/guides/analytics/apis/","order":12,"label":null},{"title":"Analytics (Deprecated)","path":"/guides/analytics/analytics-deprecated/","order":13,"label":null}],"metadataParent":{"title":"Guides","path":"/guides/","metadataChildren":[{"title":"Platform Overview","path":"/guides/platform-overview/","order":0.5,"label":null},{"title":"Getting Started","path":"/guides/getting-started/","order":1,"label":null},{"title":"mParticle Agent","path":"/guides/mparticle-agent/","order":1.5,"label":null},{"title":"Oversight","path":"/guides/oversight/","order":2,"label":null},{"title":"Data Platform","path":"/guides/data-platform/","order":3,"label":null},{"title":"Data Warehouse","path":"/guides/data-warehouse/","order":4,"label":null},{"title":"Customer 360","path":"/guides/customer-360/","order":5,"label":null},{"title":"Analytics","path":"/guides/analytics/","order":6,"label":null},{"title":"Audiences","path":"/guides/audiences/","order":7,"label":null},{"title":"Settings","path":"/guides/settings/","order":8,"label":null},{"title":"Troubleshooting mParticle","path":"/guides/troubleshooting/","order":10,"label":null},{"title":"Default Service Limits","path":"/guides/default-service-limits/","order":11,"label":null},{"title":"Glossary","path":"/guides/glossary/","order":12,"label":null}]}}}}}},"markdownRemark":{"html":"<aside class=\"warning\">\n<strong>Analytics Sunset</strong><br />\nWe began sunsetting mParticle Analytics on October 1, 2026. As a result, the features and workflows described on this page may no longer be available. This documentation is retained for reference. If you have questions about how this change affects your account, contact your mParticle account representative.\n</aside>\n<aside>\nNote: The information in this section pertains to legacy Analytics customers only. mParticle customers should refer to the <a href=\"/guides/data-warehouse/warehouse-sync/setup/\">Warehouse Sync Guide</a> to ingest data from third-party warehouses using mParticle's reverse-ETL solution.\n</aside>\n<h2 id=\"prerequisites\" style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Prerequisites</h2>\n<p>You must grant ‘bigquery.dataViewer’ access to Analytics’ service account for your BigQuery project. To perform the following steps, you must have administrative access to the BigQuery console and your BigQuery database.</p>\n<p>For this self-service integration, we also have some data requirements:</p>\n<ol>\n<li>All of your events must be unified into one table instead of having separate tables for each event type.</li>\n<li>There can only be a maximum of one authenticatedID and one unauthenticated ID for aliasing.</li>\n<li>The event timestamp must be in UTC.</li>\n<li>All joins must be done beforehand.</li>\n<li>Shared tables, meaning if your BigQuery tables end with the _MMDDYYYY format, are not currently supported.</li>\n</ol>\n<p>We can still support any integrations that do not meet the above requirements, but you must contact a <strong><a href=\"mailto:sales@indicative.com\">product specialist</a></strong>. If additional enrichments are required, such as joining with user property tables or deriving custom user_ids, please <strong><a href=\"mailto:sales@indicative.com\">contact us</a></strong>.</p>\n<h2 id=\"instructions\" style=\"position:relative;\"><a href=\"#instructions\" aria-label=\"instructions permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Instructions</h2>\n<h3 id=\"adding-a-data-source-in-analytics\" style=\"position:relative;\"><a href=\"#adding-a-data-source-in-analytics\" aria-label=\"adding a data source in analytics permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Adding a Data Source In Analytics</h3>\n<ol>\n<li>In Analytics, click on the gear icon and select <strong>Project Settings</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/project-settings.png\" alt=\"Project Settings\"></li>\n<li>Select the <strong>Data Sources</strong> tab.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/data-sources-tab.png\" alt=\"Data Sources\"></li>\n<li>Select <strong>New Data Source</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/new-data-source.png\" alt=\"New Data Source\"></li>\n<li>Select <strong>Connect via Data Warehouse or Lake</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/connect-data-warehouse.png\" alt=\"Connect via Data Warehouse or Lake\"></li>\n<li>Select <strong>BigQuery</strong> as your data connection and <strong>Snowplow</strong> as the connection schema and click <strong>Connect</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/bigquery-snowplow.png\" alt=\"BigQuery and Snowplow\"></li>\n<li>You should see this <strong>Google + Snowplow Overview</strong> screen. Click <strong>Next</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/google-snowplow-overview.png\" alt=\"Google + Snowplow Overview\"></li>\n</ol>\n<h3 id=\"connection-information\" style=\"position:relative;\"><a href=\"#connection-information\" aria-label=\"connection information permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Connection Information</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/connection-information.png\" alt=\"Connection Information\"></p>\n<ol>\n<li>Open the <a href=\"https://console.cloud.google.com/bigquery?_ga=2.215550228.-2045998963.1569964619\">BigQuery console</a> on Google Cloud Platform and <strong>Select a project</strong>.</li>\n<li>Enter the <strong>GCP Project ID</strong> containing your Snowplow data.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/gcp-project-id.png\" alt=\"GCP Project ID\"></li>\n<li>Enter the <strong>Dataset Name</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/dataset-name.png\" alt=\"Dataset Name\"></li>\n<li>Enter the <strong>Table Name</strong> and click <strong>Next</strong> in Analytics.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/table-name.png\" alt=\"Table Name\"></li>\n</ol>\n<h3 id=\"grant-permissions\" style=\"position:relative;\"><a href=\"#grant-permissions\" aria-label=\"grant permissions permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Grant Permissions</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/grant-permissions-gcp-snowplow.png\" alt=\"Grant Permissions\"></p>\n<p>This integration works by sharing the dataset with Analytics’ service account and only requires read-only access to that dataset. Analytics takes on the cost of the query and caches this data in Analytics’ proprietary analytics engine.</p>\n<ol>\n<li>Within the BigQuery Console, select your Project and your dataset from the previous section.</li>\n<li>Click on <strong>Share Dataset</strong>.</li>\n</ol>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/share-dataset.png\" alt=\"BigQuery Data Viewer\"></p>\n<ol start=\"3\">\n<li>In the <strong>Dataset Permissions</strong> panel, in the <strong>Add Members</strong> field, place the user below.</li>\n</ol>\n<p><code class=\"language-text\">integrations@indicative-988.iam.gserviceaccount.com</code></p>\n<ol start=\"4\">\n<li>In the <strong>Select a Role</strong> dropdown, select <strong>BigQuery Data Viewer</strong> and click <strong>Add</strong>.\n<img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/bigquery-data-viewer.png\" alt=\"BigQuery Data Viewer\"></li>\n</ol>\n<h3 id=\"data-loading\" style=\"position:relative;\"><a href=\"#data-loading\" aria-label=\"data loading permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Data Loading</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/data-loading-gbq-snowplow.png\" alt=\"Data Loading\"></p>\n<ol>\n<li>\n<p><strong>Start Date</strong>\nSelect the date from where Analytics should load your data from.</p>\n<div class=\"callout callout--success callout--dashed\">\n  <p>If your data history exceeds 1 billion events, a Solutions Engineer will contact you to assist with the integration.</p>\n</div>\n</li>\n<li><strong>Schedule Interval</strong>\nSelect the frequency to make new data available in Analytics.</li>\n<li><strong>Processing Delay</strong>\nSelect when we should start extracting your data in UTC. This time should be when all of your previous day’s data is fully available in your table for extraction.</li>\n<li><strong>Load Timestamp Field</strong>\nSelect the field used to identify new data. We recommend using a timestamp that denotes when the event was published, not the actual event timestamp to allow for late data to be collected. This will not impact your analyses since we reference the event timestamp for our queries. For Snowplow, we recommend <code class=\"language-text\">etl_tstamp</code>. If you select to load data every 3, 6, or 12 hours, make sure to select a load timestamp field with at least hour precision (not a date only field).</li>\n</ol>\n<p>For example, if an event with an event timestamp of 12/1 was published to the table on 12/3, this will not be collected unless we use the publishing timestamp since every daily extract would look for events that occurred on 12/3. Using the publishing timestamp will allow us to extract all new data that was published to the table on a nightly basis.</p>\n<h3 id=\"event-modeling\" style=\"position:relative;\"><a href=\"#event-modeling\" aria-label=\"event modeling permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Event Modeling</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/event-modeling-gbq-snowplow.png\" alt=\"Event Modeling\"></p>\n<ol>\n<li>In the <strong>Structured Event Name</strong> section, select the field that should be used to derive Analytics event names. Typically, most customers use the <code class=\"language-text\">se_action</code> field, but it completely depends on your implementation. We will first look at this field’s value to use as the event name in Analytics. If this value is <code class=\"language-text\">null</code>, then we will use the <code class=\"language-text\">event_name</code> field. If this field’s value is also <code class=\"language-text\">null</code>, we will then use the <code class=\"language-text\">event</code> field. If you are not using Snowplow structured events, select <code class=\"language-text\">none</code>.</li>\n<li>For <strong>Timestamp</strong>, select the field that represents the time that the event was performed. Analytics will use this field to run its queries. If unsure, leave as <code class=\"language-text\">derived_tstamp</code>.</li>\n</ol>\n<ul>\n<li><code class=\"language-text\">collector_tstamp</code> - Timestamp for the event recorded by the collector.</li>\n<li><code class=\"language-text\">dvce_created_tstamp</code> - Timestamp for the event recorded on the client device.</li>\n<li><code class=\"language-text\">dvce_sent_tstamp</code> - When the event was actually sent by the client device.</li>\n<li><code class=\"language-text\">etl_tstamp</code> - Timestamp for when the event was validated and enriched. Note: the name is historical and does not mean that the event is loaded at this point (this is further downstream).</li>\n<li><code class=\"language-text\">derived_tstamp</code> - Timestamp making allowance for inaccurate device clock.</li>\n<li><code class=\"language-text\">true_tstamp</code> - User-set “true timestamp” for the event.</li>\n</ul>\n<ol start=\"3\">\n<li>For <strong>Vendor Name</strong>, input the <a href=\"https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/snowplow-tracker-protocol/#common-parameters-platform-and-event-independent\">Snowplow vendor names</a> used so we can simplify your event property names.</li>\n<li>Click <strong>Next</strong>.</li>\n</ol>\n<p>After this step, we will perform a few checks on your data with the model that you provided. The checks are:</p>\n<ul>\n<li>Valid event field (Do at least 80% of your records have a value for the event field?)</li>\n<li>Valid timestamp field (Do at least 80% of your records have a value for the timestamp field?)</li>\n<li>Total number of unique events. We recommend 20-300 unique events and limit it to 2000.</li>\n</ul>\n<h3 id=\"user-modeling\" style=\"position:relative;\"><a href=\"#user-modeling\" aria-label=\"user modeling permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>User Modeling</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/user-modeling-gbq-snowplow.png\" alt=\"User Modeling\"></p>\n<p>After some basic checks, we can define your users within your data. For more information on User Identification (Aliasing), please refer to <a href=\"/guides/analytics/user-aliasing/\">this article</a>.</p>\n<ol>\n<li>If you choose to enable Aliasing, click on <strong>Enabled</strong>:</li>\n<li><strong>Type</strong> - Select the Snowplow field type</li>\n</ol>\n<ul>\n<li>\n<p><strong>Atomic</strong> - If the anonymous ID field is an atomic field, select this option.</p>\n<ul>\n<li><strong>Field Name</strong> - Select the field that should be used to identify anonymous users.</li>\n</ul>\n</li>\n<li>\n<p><strong>Context</strong> - If your anonymous ID is contained within the Contexts field, choose this option.</p>\n<ul>\n<li><strong>Field Name</strong> - Select the context field that contains your anonymousID.</li>\n</ul>\n</li>\n</ul>\n<ol start=\"3\">\n<li>If you choose to disable Aliasing, press <strong>Disabled</strong>:</li>\n</ol>\n<ul>\n<li>\n<p><strong>Type</strong> - Select the Snowplow field type</p>\n<ul>\n<li>\n<p><strong>Atomic</strong> - If the anonymous ID field is an atomic field, select this option.</p>\n<ul>\n<li><strong>Field Name</strong> - Select the field that should be used to identify anonymous users.</li>\n</ul>\n</li>\n<li>\n<p><strong>Context</strong> - If your anonymous ID is contained within the Contexts field, choose this option.</p>\n<ul>\n<li><strong>Field Name</strong> - Select the context field that contains your anonymousID.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>If you have a non-null value that represents null UserID values, please click on the <strong>Show Advanced</strong> button. In this field, please enter these non-null values.</p>\n<div class=\"callout callout--success callout--dashed\">\n  <p>After this step, we will perform additional checks on your data with the user model that you provided. The checks are:</p>\n  <ul>\n    <li>User Hotspot (Is there a single UserID that represents over 40% of your records?)</li>\n    <li>Anti-Hotspot (Does your data have too many unique userIDs? A good events table contains multiple events per user)</li>\n    <li>Aliasing\n      <ul>\n        <li>Too many unauthenticated IDs for a single authenticated userID</li>\n        <li>Too many authenticated IDs for a single anonymous ID</li>\n      </ul>\n    </li>\n  </ul>\n</div>\n<h3 id=\"assisted-modeling\" style=\"position:relative;\"><a href=\"#assisted-modeling\" aria-label=\"assisted modeling permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Assisted Modeling</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/assisted-modeling-gbq-snowplow.png\" alt=\"Assisted Modeling\"></p>\n<p>You should see a summary of your data based on the last 7 days in three main blocks.</p>\n<div class=\"callout callout--success callout--dashed\">\n<p>You should only be concerned if the margin of error is significant. If so, please reach out to a product specialist:</p>\n</div>\n<ol>\n<li><strong>Events Summary</strong>\nYou should see a daily breakdown of your Total Event Count, and the number of Unique Event Names. If there are certain events to exclude, please click on the Exclude checkbox for those events.</li>\n</ol>\n<p>If you would like to exclude any events by regex or property value, please contact a product specialist.</p>\n<p>If this section looks good, click <strong>Next</strong>.</p>\n<ol start=\"2\">\n<li><strong>Properties Summary</strong>\nHere you will see the number of Unique Event Property Names. If there are certain properties to exclude, please click on the Exclude checkbox for those events.</li>\n</ol>\n<p>If you require more advanced configurations such as parsing out JSON fields, creating derived properties, or excluding properties based on regex, please contact a product specialist.</p>\n<p>If this section looks good, click <strong>Next</strong>.</p>\n<ol start=\"3\">\n<li><strong>Users Summary</strong>\nThis section lists the number of Unique users seen. If the numbers do not look correct, please go back to the User Modeling section to confirm that the correct ID was chosen. Please note that the counts may not reflect exactly what gets loaded into Analytics due to aliasing and other event modeling configurations.</li>\n</ol>\n<p>If this section looks good, click <strong>Next</strong>.</p>\n<h3 id=\"waiting-for-data\" style=\"position:relative;\"><a href=\"#waiting-for-data\" aria-label=\"waiting for data permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Waiting For Data</h3>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/waiting-for-data.png\" alt=\"Waiting For Data\"></p>\n<p>If you see this screen, you’re all done! You should see your data in Analytics within 48-72 hours and will be notified by email.</p>","frontmatter":{"title":"BigQuery (Snowplow Schema)","order":5.4,"seoTitle":null,"seoDescription":null},"parent":{"__typename":"File","modifiedTime":"October 12, 2026"}}},"pageContext":{"slug":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-snowplow-schema/"}},"staticQueryHashes":["2950460867"]}