This Python script uses the Google Analytics API to retrieve data and display it using Streamlit. The script allows you to select a GA4 property and view data for the hostname of that property.
- Clone the repository to your local machine.
- Install the required dependencies by running
pip install -r requirements.txt
. - Authenticate with the Google Analytics API by running the script and following the prompts.
- Run the script by running
streamlit run main.py
in your terminal. - Authenticate with the Google Analytics API by following the prompts.
- Select a GA4 property from the dropdown menu in the sidebar.
- View data for the selected property in the main panel.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.