In Admin, under Data collection and modification, click Data streams. Click the name of your data stream. Under Stream details, copy the Measurement ID (starts with “G-“).