Portfolio-CMR / Self-stats-analytics-visualizer

0 stars 0 forks source link

Splash Image

Self Stats - Google Takeout Data Insights Visualizer 📊

Welcome to Self Stats Google Takeout Data Insights Visualizer! This Python package revolutionizes how you interact with your personal Google Analytics data extracted via Google Takeout. By offering eye-catching, interactive visualizations, this tool helps you gain deep insights into your digital footprint with Google services. Whether you're a data enthusiast or simply curious about your online habits, this tool provides valuable perspectives into your personal analytics data.

Features 🌟

Getting Started 🚀

Prerequisites

To use the Google Takeout Data Insights Visualizer, you will need:

Installation

Install this package using pip:

pip install self_stats

You will then need to install a word model from spacy for keyword analysis.

python3 -m spacy download en_core_web_sm

Data Preparation

Downloading Your Data from Google Takeout

Google Takeout Demo

Setting Up the Visualizer

  1. Prepare Your Data:

    • After extracting your data, place the relevant Google Analytics JOSN file(s) in a chosen directory.
    • The package will detect specific filenames automatically so ensure they are correctly named:
      • "watch-history.html": initiates YouTube watch history processing.
      • "MyActivity": initiates search history processing.

Usage

Run the data processing tool with:

python -m self_stats

Example Visualizations 📈

Example Dashboard

Visualizing your data with Looker Studio

  1. Upload your data sources to Google Drive:
  1. Once the files are uploaded, open them in Google Sheets and select "File" > "Save as Google Sheets". This will allow the files to be discoverable by Looker Studio.
  2. Navigate to the Looker Studio Personal Analytics Demo Dashboard.
  3. Select "more options" (three vertical dots) and then select "make a copy".
  4. Select "Copy Report" in the following prompt.
  5. Click "Add Data", select Google Sheets as a data source and then select each file individually
  6. Once all data is added, right-click on any of the plots and click "Select" then click "charts with this data source on page".
  7. In the right sidebar, select your new data source for their respective dashboard pages.
  8. For the "Date range dimension" select "Date".
  9. The page should auto-update with your personal analytic data.
  10. Remember not to share your dashboard once it has been modified with your data.

Contributing 🤝

We encourage contributions from the community! Please read our CONTRIBUTING.md for guidelines on how to participate in developing this tool further.

Data Privacy Disclaimer

While the Self Stats Google Takeout Data Insights Visualizer offers powerful insights into your personal Google Analytics data, it's important to handle your data with care. Here are some precautions we strongly advise:

By using this tool, you agree to do so at your own risk. The developers of the Self Stats Google Takeout Data Insights Visualizer are not responsible for any data breaches or privacy violations that may occur from improper handling of your data. Always prioritize your data privacy and use this tool responsibly.

License

This project is released under the MIT License - see the LICENSE file for details.

Support and Feedback 📝

For support, feature requests, or to report bugs, please use the repository's issue tracker.