Guides
The Snowplow Unified Log is stored in an S3 bucket, and you are required to write an IAM policy to grant Analytics programmatic access to the respective S3 bucket.
If there are additional enrichments required, such as joining with user property tables or deriving custom user_ids
, please contact us.
In Analytics, click on the gear icon and select Project Settings.
Select the Data Sources tab.
Select New Data Source.
Select Connect via Data Warehouse or Lake.
Select S3 as your data connection and Snowplow as the connection schema, then click Connect.
You should see this S3 + Snowplow Overview screen. Click Next.
Under the Services dropdown, select S3 under Storage.
Enter the Bucket Name into the Analytics UI.
Click on your bucket and refer to the bucket structure. Enter that into the File Path field in the Analytics UI.
In this example, the File Path to put into the Analytics field is /main/enriched/good
.
In this section, click on the box that contains the policy to copy to your clipboard. You will need to use this in step 4 of this section.
Go back to the AWS Console. Select the bucket and click on the Permissions tab.
Click on Bucket Policy.
In the Structured Event Name section, select the field that should be used to derive Analytics event names. Our logic will first look at this field, and if this value is null
, it will try to use the event_name
field. If that value is also null
, then we will look at the event
field.
derived_tstamp
.For more information on User Identification (Aliasing), please refer to this article.
Note: If aliasing is not preferred, please set the Authenticated ID Type to None and press Next.
Select the Type for the Unauthenticated ID:
domain_userid
and network_userid
fields that are part of the standard Snowplow event structure. We typically recommend domain_userid
since this uses a 1st party cookie. Click here for more information.Select the Type for Authenticated ID:
user_id
field in the raw enriched event archive data.For additional advanced settings such as excluding certain events and properties, please refer to this page.
Was this page helpful?