Set up this integration to send cohorts to an Amazon S3 bucket. This enables you to export groups of users out of Amplitude and synchronize them with other databases or stored procedures you've built off your Amazon S3 bucket. From there, you can use Amplitude cohorts in internal analytics dashboards and internal personalization engines.
After you connect the S3 bucket to Amplitude, you can sync any cohort to that bucket. To do so, follow these steps:
Your cohort is synced as a CSV to the bucket you specified. Within the folder, there is a list of CSV files.
Each sync generates three CSV files:
The CSV files all use this naming convention:
path/integer_cohortID_YYYY-MM-DDTHH:SS_difftype_routingkey.csv
Where:
path
: The optional folder prefix on the path the file should be written to.cohortID
: The unique identifier for your cohort. You can find this number in the URL of your cohort in Amplitude.YYYY-MM-DDTHH-SS
: The timestamp when the cohort was synced.difftype
: This describes which of the three user groups the CSV file contains. Acceptable values are entering
, exiting
, or existing
.routingkey
: The optional string suffix entered before.The timestamp in the CSV name refers to the day/time the cohort was synced. If you have an hourly/daily scheduled sync, Amplitude creates a new file for every sync with the full list of users who qualify in that cohort at that time. You can keep a historic log of audience membership.
Each CSV file contains a list of users, with data broken into the following columns:
amplitudeID
: The internal Amplitude identifier for the user. userID
: Your unique database identifier for the user. userProperty
: The value for a user property you added in step 3 of the send a cohort section; there is one column for each user property. In portfolio projects, there is a separate column for each source app.Thanks for your feedback!
July 4th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.