Skip to content

πŸš€ Transform YouTube research into actionable insights with Google Sheets - Free YouTube analytics tool for content creators and marketers

License

Notifications You must be signed in to change notification settings

clairechung/YoutubeAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ YouTube Assistant

GitHub stars GitHub forks GitHub License JavaScript Google Apps Script YouTube API

πŸš€ Transform YouTube research into actionable insights with Google Sheets

Perfect for content creators, marketers, and researchers who need to understand YouTube trends without expensive analytics platforms.


A powerful YouTube analytics tool that turns complex video data into clear, actionable insights. Perfect for content creators, marketers, and researchers who need to understand YouTube trends without expensive analytics platforms.

Table of Contents

Why YouTube Assistant?

πŸ’° Completely Free β€’ ⚑ 1-Minute Setup β€’ πŸ“ˆ 20+ Metrics β€’ 🎯 Smart Analysis

No expensive analytics subscriptions needed - 100% free!

✨ Key Features:

  • Shorts Support - Dedicated analytics for videos ≀60 seconds
  • Detailed Metrics - Views, likes, comments, engagement rates, subscriber counts
  • Trend Analysis - Hashtag extraction and content categorization
  • Real-time Progress - Live updates while fetching data
  • Performance Score - 0-100 composite performance rating
  • Smart Analysis - Automatically identifies high-performing content and gaps
  • Export Ready - All data in familiar Google Sheets format

Setup

πŸš€ Get started in just 3 steps!

1. Create Google Sheet & Add Code

Google Sheets

  1. Go to Google Sheets and create a new sheet
  2. Open Extensions β†’ Apps Script
  3. Delete any existing code in the editor
  4. Copy and paste ALL the code from youtube-assistant.js
  5. Save the project (cmd + s or ctrl + s)
  6. Important: Refresh your Google Sheet to see the menu appear

2. Get YouTube API Key πŸ”‘

Google Cloud Console

  1. Visit Google Cloud Console
  2. Create a new project or select existing one
  3. Enable YouTube Data API v3 in APIs & Services β†’ Library
  4. Create credentials β†’ API Key and Copy the API key

3. Configure API Key

Option A: Use the menu (Recommended)

Configure API Key
  1. Refresh your Google Sheet to see the YouTube Assistant menu
  2. Click YouTube Assistant β†’ Configure API Key from the menu
  3. Enter your API key when prompted
  4. Click OK to save

Option B: Edit the code directly

  1. Find the setupApiKey() function in the Apps Script editor
  2. Replace "YOUR_API_KEY_HERE" with your actual API key
  3. Run the setupApiKey function once from the Apps Script editor

What You Get

After running the analysis, you'll see a comprehensive spreadsheet like this:

Analysis Results

Key Insights You'll Discover:

  • Top Performers: Videos with highest engagement and performance scores
  • Content Gaps: Underrepresented categories and formats in your niche
  • Best Upload Times: Optimal days and hours for publishing
  • Commonly Used Hashtags: Most effective hashtags in your topic area
  • Engagement Patterns: What drives likes, comments, and views

How to Use

Fetch YouTube Data and Setup New Sheet Menu
  1. Click YouTube Assistant β†’ Setup New Sheet to generate a new analysis sheet
  2. Enter search term in B1 (e.g., "javascript tutorial")
  3. Enter number of results in D1 (recommended: 25-50)
  4. Click YouTube Assistant β†’ Fetch YouTube Data
  5. Wait for completion (progress shown in F1)

πŸ’‘ Pro Tips for Better Results:

  • Research Competitors: Search for your competitors' topics
  • Find Content Gaps: Look for underrepresented categories
  • Optimize Timing: Use upload pattern analysis for better reach
  • Track Trends: Monitor hashtag performance over time

Data Columns

Click to see all 21 data columns and metrics

Basic Metrics

  • Category: Video category (e.g., Education, Entertainment)
  • Thumbnail: Clickable video preview image
  • Video Title: Clickable link to the video
  • Views: Total view count
  • Description: Video description (truncated for display)
  • Channel Name: Creator name
  • Subscribers: Channel subscriber count
  • Upload Date: When the video was published

Content Analysis

  • Tags: Video tags from creator
  • Hashtags: Extracted hashtags from title and description
  • Duration: Video length
  • Content Type: Shorts/Mid-form/Long-form categorization
  • Captions Available: Whether video has captions

Engagement Metrics

  • Likes: Total like count
  • Like Rate (%): Likes as percentage of views
  • Comment Rate (%): Comments as percentage of views
  • Engagement Rate (%): Combined engagement metric
  • Comments: Total comment count

Performance Indicators

  • Performance Score: 0-100 composite rating
  • Views/Day: Average daily views since upload
  • High Engagement: Yes/No indicator for top performers

Use Cases & Success Stories

See real-world applications and success stories

Content Creators

  • Find Winning Topics: Discover high-engagement content in your niche
  • Optimize Upload Schedule: Use data-driven timing for maximum reach
  • Beat the Algorithm: Identify trending hashtags and formats

Digital Marketers

  • Competitor Analysis: Analyze competitor content strategies
  • Campaign Planning: Find the best-performing content types
  • ROI Tracking: Measure content performance across campaigns

Researchers & Analysts

  • Market Research: Understand content trends in any industry
  • Academic Studies: Gather YouTube data for research projects
  • Trend Analysis: Track content evolution over time

Troubleshooting

1. "Execution started" but nothing happens?

  • Check the Execution log in Apps Script for error messages
  • Run YouTube Assistant β†’ Test Setup to check if everything is configured
  • Make sure you configured your API key using the menu or setupApiKey function

2. Menu not showing up?

  • Refresh your Google Sheet (cmd + r or F5)
  • Try running the script again from Apps Script

3. "Invalid API key" error?

  • Double-check your API key is copied correctly (no extra spaces)
  • Make sure YouTube Data API v3 is enabled in Google Cloud Console
  • Try reconfiguring using YouTube Assistant β†’ Configure API Key
  • Run YouTube Assistant β†’ Test Setup to verify configuration

4. Tool running slowly?

  • Use fewer results (10-25 for quick analysis)
  • Try more specific search terms
  • Check your internet connection

5. Getting quota or rate limit errors?

  • Reduce the number of results per search
  • Wait a few minutes before trying again

6. Still having issues?

  • Run YouTube Assistant β†’ Test Setup from the menu
  • Check the execution log in Apps Script for detailed error messages
  • Make sure all the code from youtube-assistant.js is copied correctly

🀝 Contributing & Support

Help make this tool even better!

Star this repo Feature Request Submit PR

πŸ› οΈ Ways to Contribute:

  • Report Bugs - Found an issue? Help us fix it!
  • Suggest Features - Have ideas? We'd love to hear them
  • Submit PRs - Code improvements are always welcome

❀️ Show Support:

  • ⭐️ Star this repo - Help others discover this tool
  • Share on social - Spread the word to fellow creators
  • Tell friends - Word of mouth is the best marketing

Made with 🀍 for the YouTube creator community

GitHub


Licensed under the Apache License 2.0

About

πŸš€ Transform YouTube research into actionable insights with Google Sheets - Free YouTube analytics tool for content creators and marketers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published