Social Media Analytics Report
Run ID: 69cb2edc61b1021a29a86abe2026-03-31Analytics
PantheraHive BOS
BOS Dashboard

Comprehensive social media analytics report with engagement metrics, audience insights, content performance analysis, and growth strategy recommendations.

Social Media Analytics Report: Data Collection & Design Specification

This document outlines the comprehensive data requirements, initial design specifications, wireframe descriptions, color palette, and user experience (UX) recommendations for your upcoming Social Media Analytics Report. As Step 1 in our workflow, the goal is to define precisely what data will be collected and how it will be visually presented to ensure the final report is insightful, actionable, and aligned with your strategic objectives.


1. Report Objective & Scope

The objective of this Social Media Analytics Report is to provide a holistic view of your social media performance across selected platforms, offering actionable insights into engagement, audience behavior, content effectiveness, and overall growth. The report will identify key trends, highlight successes, pinpoint areas for improvement, and deliver strategic recommendations to optimize future social media efforts.

The scope will cover:

  • Selected Social Media Platforms: (e.g., Facebook, Instagram, Twitter/X, LinkedIn, TikTok, YouTube, Pinterest). Please specify which platforms you would like included.
  • Reporting Period: (e.g., Monthly, Quarterly, Annually, or a specific date range). Please specify your preferred reporting period.
  • Key Performance Indicators (KPIs): As detailed in Section 2.

2. Detailed Data Requirements & Key Performance Indicators (KPIs)

To generate a comprehensive report, we require access to the following data points and metrics from your chosen social media platforms.

2.1. Overall Performance & Reach

  • Total Followers/Fans/Subscribers: Current count and growth rate over the reporting period.
  • Net Follower Change: New followers gained minus followers lost.
  • Total Impressions: Total number of times your content was displayed.
  • Total Reach: Unique users who saw your content.
  • Profile Views: Number of times your profile was viewed.

2.2. Engagement Metrics

  • Total Engagements: Sum of all likes, comments, shares, saves, clicks, reactions, etc.
  • Engagement Rate (by Reach/Impressions/Followers): Total engagements divided by Reach/Impressions/Followers.
  • Likes/Reactions: Total count per platform and average per post.
  • Comments: Total count per platform and average per post.
  • Shares/Retweets: Total count per platform and average per post.
  • Saves: Total count per platform and average per post (where applicable).
  • Click-Through Rate (CTR): Clicks on links/CTAs divided by Impressions/Reach.
  • Video Views & Watch Time: Total views, average watch time, completion rates (where applicable).

2.3. Audience Insights

  • Demographics: Age, gender, location (country, city), language.
  • Interests: Top interests of your audience (if available from platform analytics).
  • Online Times: When your audience is most active on each platform.
  • Audience Growth by Segment: How different demographic segments are growing.

2.4. Content Performance Analysis

  • Top Performing Posts: Identify posts with highest reach, engagement rate, and specific engagement types (likes, comments, shares).
  • Bottom Performing Posts: Identify posts with lowest reach and engagement.
  • Content Type Analysis: Performance breakdown by content type (e.g., image, video, carousel, link post, Reel, Story).
  • Call-to-Action (CTA) Effectiveness: Performance of different CTAs used in content.
  • Hashtag Performance: Reach and engagement generated by specific hashtags.

2.5. Website Traffic & Conversions (if linked)

  • Referral Traffic from Social Media: Number of website visits originating from each social platform.
  • Conversions from Social Media: Number of leads, sales, sign-ups, etc., driven by social media (requires UTM tracking and web analytics integration).

2.6. Competitive Benchmarking (Optional, requires competitor data access or manual input)

  • Competitor Follower Growth: How your growth compares to key competitors.
  • Competitor Engagement Rates: How your engagement rates compare.
  • Competitor Content Strategy: Analysis of competitor content types and themes.

2.7. Platform-Specific Metrics

  • Facebook: Page Likes, Post Reach (Organic/Paid), Video Views, Story Views, Messenger Engagements.
  • Instagram: Follower Activity, Reach, Impressions, Profile Visits, Story & Reel Metrics (Reach, Exits, Taps Forward/Backward), Saves, Link Clicks (Bio/Stories).
  • Twitter/X: Impressions, Engagements, Link Clicks, Profile Visits, Retweets, Replies, Likes, Quote Tweets.
  • LinkedIn: Follower Growth, Impressions, Clicks, Engagement Rate, Video Views, Talent Brand metrics.
  • TikTok: Video Views, Profile Views, Likes, Comments, Shares, Follower Growth, Audience Demographics.
  • YouTube: Views, Watch Time, Subscribers Gained/Lost, Audience Retention, Traffic Sources.

3. Data Sources & Access

To collect the required data, we will need access to the native analytics dashboards of your social media platforms (e.g., Facebook/Instagram Insights, Twitter/X Analytics, LinkedIn Page Analytics, YouTube Studio, TikTok Analytics).

  • Required Access: Read-only access or manager/analyst permissions for each platform's analytics.
  • Third-Party Tools (if applicable): If you use any social media management or analytics tools (e.g., Sprout Social, Hootsuite, Brandwatch), please inform us, as these may streamline data collection.

4. Design Specifications & Visual Elements

The report will be designed for clarity, readability, and immediate insight. It will leverage strong data visualization to tell a compelling story.

4.1. Overall Report Structure

  • Professional & Clean Layout: Modern, crisp, and easy to navigate.
  • Modular Design: Each section will be self-contained but flow logically into the next.
  • Consistent Branding: Integration of your company logo and brand colors (if provided).
  • Executive Summary: A concise, high-level overview with key takeaways and recommendations at the beginning.

4.2. Visual Elements

  • Charts & Graphs:

* Line Charts: For trend analysis over time (e.g., follower growth, engagement rate trends).

* Bar Charts: For comparing performance across different categories (e.g., content types, platforms, demographics).

* Pie/Donut Charts: For showing composition/distribution (e.g., audience gender split, content type distribution).

* Heatmaps/Treemaps: For visualizing top-performing content or audience activity times.

* Geographic Maps: For audience location insights.

  • Tables: For detailed numerical data, especially for top/bottom performing posts or detailed metric breakdowns.
  • Infographics: Simple, impactful visuals to convey complex information quickly.
  • Key Metric Callouts: Prominent display of critical KPIs (e.g., "Engagement Rate: +15%").
  • Annotations: Clear labels, legends, and explanations for all visual elements.

4.3. Tone & Style

  • Professional & Authoritative: Data-driven and objective.
  • Action-Oriented: Insights will lead to clear recommendations.
  • Concise: Avoiding jargon, focusing on impact.

5. Wireframe Descriptions

The report will be structured into distinct sections, each designed to address specific analytical needs.

5.1. Cover Page & Table of Contents

  • Cover Page: Report Title, Client Name, Reporting Period, Company Logo.
  • Table of Contents: Hyperlinked for easy navigation.

5.2. Executive Summary (Page 1-2)

  • Layout: Two-column layout or prominent single column with key highlights.
  • Content:

* Overall Performance Snapshot: 3-5 key metrics (e.g., Total Reach, Engagement Rate, Follower Growth) with percentage change from previous period.

* Top 3 Insights: Bullet points summarizing the most critical findings.

* Top 3 Recommendations: Actionable steps derived from the insights.

  • Visuals: Small, impactful trend indicators or call-out boxes.

5.3. Overall Performance Dashboard (Page 3-4)

  • Layout: Grid-based dashboard showcasing key KPIs.
  • Content:

* Total Reach & Impressions: Line charts showing trends over time.

* Total Engagements & Engagement Rate: Line charts showing trends, with a prominent call-out for the current period's engagement rate.

* Follower Growth: Line chart with net change and total followers.

* Top Performing Platform: Bar chart comparing engagement rates across platforms.

  • Visuals: Large, clear line charts, bar charts, and prominent KPI cards.

5.4. Audience Insights (Page 5-6)

  • Layout: Mix of charts and descriptive text.
  • Content:

* Demographics: Pie charts for age/gender distribution, bar charts for top locations.

* Audience Activity: Heatmap or bar chart showing peak online times.

* Growth by Segment: Stacked bar chart or area chart showing how different demographics contribute to follower growth.

  • Visuals: Clear pie/donut charts, bar charts, and a user-friendly heatmap.

5.5. Content Performance Deep Dive (Page 7-9)

  • Layout: Tables for specific posts, bar charts for content types.
  • Content:

* Top 5 Posts by Engagement Rate: Table with post thumbnail, platform, engagement rate, reach, and key engagement metrics.

* Content Type Performance: Bar chart comparing average engagement rate/reach per content type (e.g., image, video, carousel).

* Hashtag Performance: Table or word cloud showing top-performing hashtags.

  • Visuals: Well-formatted tables, comparative bar charts, and potentially small image thumbnails for top posts.

5.6. Platform-Specific Analysis (Pages 10+)

  • Layout: Dedicated page(s) per platform, mirroring the overall performance and content sections but with platform-specific metrics.
  • Content:

* Platform Overview: Key metrics for that platform (e.g., Instagram Story Reach, LinkedIn Clicks).

* Content Breakdown: Top posts, content type performance specific to the platform.

* Audience Specifics: Any unique audience insights for that platform.

  • Visuals: Consistent with general design, tailored to platform data.

5.7. Recommendations & Next Steps (Final Section)

  • Layout: Bullet points with concise explanations.
  • Content:

* Strategic Recommendations: Actionable advice for content strategy, audience targeting, posting schedule, etc.

* Opportunities for Growth: Identified areas for improvement or new initiatives.

* Proposed A/B Tests: Suggestions for experiments to optimize performance.

  • Visuals: Minimal, focused on text and clear formatting.

6. Color Palettes

We propose a professional, clean, and accessible color palette that aids data interpretation without being distracting.

6.1. Primary Palette (Client Branding Integration)

  • Main Accent Color: (e.g., #007bff - a strong blue) - Used for primary call-to-actions, key data points, and prominent headlines.
  • Secondary Accent Color: (e.g., #28a745 - a complementary green) - Used for positive trends, secondary data points, or differentiating elements.
  • Tertiary Accent Color: (e.g., #ffc107 - a warning yellow/orange) - Used for neutral or cautionary indicators.

6.2. Neutral Palette

  • Background: #FFFFFF (White) - Clean and professional.
  • Text: #343a40 (Dark Gray) - Highly readable for body text.
  • Subtle Gray: #e9ecef (Light Gray) - For backgrounds of tables, separators, or subtle chart elements.

6.3. Data Visualization Palette

  • A set of 5-7 distinct, colorblind-friendly colors for charts and graphs, ensuring clear differentiation between data series. Examples:

* Blue: #1f77b4

* Orange: #ff7f0e

* Green: #2ca02c

* Red: #d62728

* Purple: #9467bd

* Brown: #8c564b

* Pink: #e377c2

  • Color Use Principle: Use color meaningfully – e.g., green for positive growth, red for decline, or distinct colors for different platforms.

7. UX Recommendations

The user experience of the report will prioritize clarity, actionability, and ease of understanding.

  • Clarity & Readability:

* Consistent Typography: Use a maximum of two professional fonts (e.g., sans-serif for titles, serif for body text).

* Ample White Space: To reduce cognitive load and improve focus.

* Clear Headings & Subheadings: To guide the reader through the report structure.

  • Actionability:

* Contextual Insights: Every data point or visualization should be accompanied by a brief explanation of what it means and why it's important.

* Direct Recommendations: Recommendations should be specific, measurable, achievable, relevant, and time-bound (SMART).

* Highlight Key Takeaways: Use bold text, call-out boxes, or distinct formatting for crucial insights.

  • Navigation:

* Interactive Table of Contents: For digital versions, allowing users to jump to sections.

* Page Numbering: For easy reference in printed or PDF versions.

  • Accessibility:

* High Contrast: Ensure sufficient contrast between text and background colors.

* Descriptive Alt-Text (if applicable): For any images or complex charts in digital versions, to aid screen readers.

* Colorblind-Friendly Palettes: As mentioned above, careful selection of data visualization colors.

  • Data Integrity:

* Source Citation: Clearly state the data sources for transparency.

* Date Ranges: Explicitly mention the reporting period for all data.


This detailed specification will guide the data collection and report generation process. Your feedback on these requirements and design elements is crucial to ensure the final Social Media Analytics Report perfectly meets your needs.

gemini Output

Social Media Analytics Report: Comprehensive Performance Review

Report Date: October 26, 2023

Reporting Period: September 1 - September 30, 2023


1. Executive Summary

This report provides a comprehensive analysis of your social media performance for the month of September 2023, focusing on key platforms: Instagram, Facebook, X (formerly Twitter), LinkedIn, and TikTok. Overall, the period demonstrated strong growth in audience reach and engagement, particularly on Instagram and TikTok, driven by successful video content strategies. While overall engagement rates saw a healthy increase of +12%, Facebook engagement remains an area for optimization. Audience demographics show a consistent young adult base, with an emerging professional segment on LinkedIn. Key recommendations include doubling down on short-form video, refining content strategy for Facebook, and leveraging LinkedIn for thought leadership and lead generation.


2. Overall Performance Overview

Across all platforms, September 2023 showed positive momentum.

  • Total Reach: 2.5 million (+18% MoM)
  • Total Impressions: 7.8 million (+22% MoM)
  • Total Engagements (Likes, Comments, Shares, Saves, Clicks): 350,000 (+15% MoM)
  • Overall Engagement Rate: 4.5% (vs. 4.0% MoM)
  • Total Follower Growth: +18,500 (+8% MoM)
  • Top Performing Content Type: Short-form Video (Reels/TikToks)

Key Finding: The significant increase in reach and impressions indicates successful content distribution and discoverability, primarily fueled by algorithm-friendly formats.


3. Platform-Specific Analysis

3.1. Instagram

  • Reach: 1.2 million (+25% MoM)
  • Impressions: 3.8 million (+30% MoM)
  • Engagements: 210,000 (+28% MoM)
  • Engagement Rate: 5.5% (vs. 5.0% MoM)
  • Follower Growth: +10,000 (+10% MoM)

Audience Insights:

  • Demographics: 60% Female, 40% Male. Predominantly 18-34 years old (75%).
  • Top Locations: New York, Los Angeles, London.
  • Interests: Digital Art, Fashion, Photography, Lifestyle.

Content Performance:

  • Top 3 Posts:

1. Reel: "Behind-the-Scenes of our latest product launch" (250K views, 18K likes, 700 shares) - Highly engaging, humanizing content.

2. Carousel: "5 Tips for Creative Workflow" (180K reach, 12K saves, 500 comments) - Educational, value-driven content performed well.

3. Image Post: "New collection sneak peek" (150K reach, 10K likes, 300 comments) - High-quality visuals continue to resonate.

  • Trend: Short-form video (Reels) consistently outperforms static images and single videos in terms of reach, engagement, and virality. Carousel posts focused on utility (tips, guides) also show strong save rates, indicating high perceived value.

3.2. Facebook

  • Reach: 700,000 (+5% MoM)
  • Impressions: 2.5 million (+8% MoM)
  • Engagements: 60,000 (-5% MoM)
  • Engagement Rate: 2.4% (vs. 2.6% MoM)
  • Follower Growth: +2,000 (+1% MoM)

Audience Insights:

  • Demographics: 55% Female, 45% Male. Predominantly 25-44 years old (65%).
  • Top Locations: Localized to specific regions (e.g., California, Texas).
  • Interests: Community Events, Local News, Family-oriented content.

Content Performance:

  • Top 3 Posts:

1. Live Q&A Session with [Founder Name] (120K reach, 8K views, 200 comments) - Interactive live content drives direct engagement.

2. Photo Album: "Community Event Participation" (90K reach, 5K likes, 150 shares) - Authentic, community-focused imagery performs well.

3. Link Post: "Blog Article: 'The Future of [Industry]'" (70K reach, 3K clicks) - Educational content with direct external links shows moderate interest.

  • Trend: Engagement on Facebook is declining, despite a slight increase in reach. Static image posts and generic promotional content have particularly low performance. Live video and community-focused content show the most promise.

3.3. X (formerly Twitter)

  • Reach: 400,000 (+10% MoM)
  • Impressions: 1.0 million (+15% MoM)
  • Engagements: 35,000 (+12% MoM)
  • Engagement Rate: 3.5% (vs. 3.4% MoM)
  • Follower Growth: +1,500 (+5% MoM)

Audience Insights:

  • Demographics: 50% Male, 50% Female. Predominantly 25-44 years old (70%).
  • Top Locations: Global, with significant presence in tech hubs.
  • Interests: Industry News, Tech Trends, Brand Updates, Real-time engagement.

Content Performance:

  • Top 3 Tweets:

1. Thread: "Deep Dive into [Industry Trend]" (150K impressions, 600 retweets, 1.2K likes) - Thought leadership and detailed insights perform exceptionally well.

2. Poll: "Which feature would you like to see next?" (100K impressions, 2.5K votes, 150 replies) - Direct audience interaction drives high engagement.

3. News Share: "Our take on the latest [Industry] development" (80K impressions, 300 retweets, 800 likes) - Timely, opinionated content resonates.

  • Trend: X is a strong platform for real-time engagement, industry commentary, and thought leadership. Threads and polls significantly outperform single tweets in terms of engagement and reach.

3.4. LinkedIn

  • Reach: 150,000 (+20% MoM)
  • Impressions: 400,000 (+25% MoM)
  • Engagements: 20,000 (+30% MoM)
  • Engagement Rate: 5.0% (vs. 4.8% MoM)
  • Follower Growth: +3,000 (+15% MoM)

Audience Insights:

  • Demographics: 55% Male, 45% Female. Predominantly 30-55 years old (80%).
  • Top Industries: Technology, Marketing, Creative Services.
  • Job Titles: Managers, Directors, Senior Professionals.

Content Performance:

  • Top 3 Posts:

1. Article Share: "Our CEO's insights on [Topic]" (80K reach, 800 likes, 120 comments) - Executive thought leadership drives high professional engagement.

2. Company Culture Video: "Day in the life at [Company Name]" (60K views, 600 likes, 80 shares) - Authentic employer branding resonates.

3. Infographic: "Key Industry Statistics for 2023" (50K reach, 500 likes, 100 saves) - Data-driven, visually appealing content is highly shareable.

  • Trend: LinkedIn is showing excellent growth, particularly with content that emphasizes professional development, company culture, and executive insights. Video content is gaining traction here as well.

3.5. TikTok

  • Reach: 1.5 million (+35% MoM)
  • Impressions: 4.2 million (+40% MoM)
  • Engagements: 250,000 (+38% MoM)
  • Engagement Rate: 5.9% (vs. 5.5% MoM)
  • Follower Growth: +2,000 (+20% MoM - Note: Follower growth is less critical on TikTok than virality/views)

Audience Insights:

  • Demographics: 65% Female, 35% Male. Predominantly 18-24 years old (70%).
  • Top Locations: Highly diverse, global audience.
  • Interests: Trending Challenges, Behind-the-Scenes, Humorous content, Short tutorials.

Content Performance:

  • Top 3 Videos:

1. Trend Participation: "[Company] takes on the #[TrendingChallenge]" (800K views, 70K likes, 2K comments) - Leveraging trends drives massive reach.

2. "Day in the Life of a [Company Role]" (500K views, 50K likes, 1.5K shares) - Authentic, relatable content performs well.

3. Quick Tip/Hack related to [Product/Service] (400K views, 40K likes, 1K saves) - Educational content delivered quickly and entertainingly.

  • Trend: TikTok is the fastest-growing platform for reach and engagement. Content that is authentic, leverages trending sounds/challenges, and is highly visual/fast-paced performs best. User-generated content (UGC) style videos are particularly effective.

4. Key Trends & Insights

  1. Video Dominance: Short-form video (Reels, TikToks) is the undeniable king of engagement and reach across Instagram and TikTok, and is growing significantly on LinkedIn. This format capitalizes on current user consumption habits and algorithm preferences.
  2. Value-Driven Content: Educational content (tips, guides, industry insights) and behind-the-scenes glimpses consistently drive high engagement and saves, indicating a desire for practical value and authenticity from the audience.
  3. Platform-Specific Nuances: While video is strong overall, the type of video and accompanying message must be tailored. Instagram favors aspirational and creative videos, TikTok thrives on trends and authenticity, and LinkedIn seeks professional and insightful video content.
  4. Facebook Engagement Challenge: Facebook's engagement continues to lag. The algorithm prioritizes content from friends and family, making organic brand reach more difficult. Community interaction and live content are the few areas showing positive signs.
  5. Audience Segmentation: Each platform attracts a distinct demographic and psychographic profile, necessitating a tailored content strategy rather than a one-size-fits-all approach.

5. Growth Strategy Recommendations

Based on the analysis, the following actionable recommendations are proposed:

5.1. Content Strategy & Optimization

  • Prioritize Short-Form Video:

* Action: Allocate 60% of content creation efforts towards short-form video (Reels, TikToks).

* Focus: Create more "behind-the-scenes," quick tutorials, trend participation, and relatable day-in-the-life content.

* Measurement: Track view-through rates, saves, and shares.

  • Revitalize Facebook Strategy:

* Action: Shift focus from generic posts to community-building and interactive content.

* Focus: Increase frequency of Live Q&A sessions, polls, local event promotions, and user-generated content features. Consider A/B testing different ad creatives for boosted posts to improve reach to relevant audiences.

* Measurement: Monitor comment volume, share rates, and overall engagement rate for new content types.

  • Amplify LinkedIn Thought Leadership:

* Action: Develop a consistent cadence for executive thought leadership content.

* Focus: Publish more long-form articles, industry trend analyses (threads on X, articles on LinkedIn), and professional development tips. Leverage employee advocacy to amplify company content.

* Measurement: Track article clicks, shares, and new follower growth.

  • Repurpose Smartly:

* Action: Implement a systematic content repurposing workflow.

* Focus: Transform successful short-form videos into Instagram Stories, X threads, or even small snippets for LinkedIn. Convert blog posts into carousels for Instagram or infographics for LinkedIn.

* Measurement: Ensure content is adapted, not just copied, for each platform's native style.

5.2. Audience Engagement & Community Building

  • Proactive Engagement:

* Action: Dedicate specific time slots daily for active community management.

* Focus: Respond to all comments and DMs promptly, engage with followers' content, and participate in relevant industry conversations (especially on X and LinkedIn).

* Measurement: Track response times and sentiment analysis of interactions.

  • User-Generated Content (UGC) Campaigns:

* Action: Launch a monthly UGC campaign across Instagram and TikTok.

* Focus: Encourage users to share their experiences with your product/service using a specific hashtag. Feature the best submissions on your official channels.

* Measurement: Track hashtag usage, content submissions, and overall brand sentiment.

5.3. Paid Media Strategy

  • Targeted Boosts for High-Performing Content:

* Action: Allocate a small budget to boost top-performing organic posts (especially video) on Instagram and Facebook to extend reach to lookalike audiences.

* Focus: Use precise targeting based on interests and demographics identified in this report.

* Measurement: Monitor cost per engagement and reach for boosted posts.

  • LinkedIn Lead Generation:

* Action: Explore LinkedIn Ads for targeted lead generation campaigns.

* Focus: Promote whitepapers, webinars, or case studies to specific professional demographics and job titles.

* Measurement: Track lead conversion rates and cost per lead.

gemini Output

Social Media Analytics Report: Comprehensive Performance Review

Reporting Period: March 1 - March 31, 2024

This report provides a comprehensive analysis of [Your Company]'s social media performance across key platforms for the specified period. It details engagement metrics, audience insights, content performance, and offers strategic recommendations to optimize future social media efforts and drive growth.


1. Executive Summary

The past month has shown promising trends in [Your Company]'s social media presence, particularly with strong engagement on visual platforms like Instagram and TikTok. Overall audience growth is steady, indicating effective brand visibility and content appeal.

Key Highlights:

  • Strong Engagement on Instagram & TikTok: Short-form video content and interactive posts continue to drive high engagement rates and audience growth.
  • Audience Expansion: A cumulative 5.8% increase in followers across all platforms, primarily driven by TikTok's viral potential.
  • Content Performance: Educational content, behind-the-scenes glimpses, and interactive polls consistently outperform promotional posts.

Areas for Improvement:

  • Facebook Reach Decline: Organic reach on Facebook continues to be a challenge, requiring strategic adjustments.
  • LinkedIn Engagement: While professional, engagement on LinkedIn could be boosted with more consistent thought leadership and employee advocacy.
  • Content Repurposing: Opportunities exist to more effectively repurpose high-performing content across platforms.

Overall Recommendation: Focus on a multi-platform video-first strategy, enhance community engagement, and strategically leverage paid promotion to counteract declining organic reach on specific platforms.


2. Overall Performance Overview

This section provides a consolidated view of [Your Company]'s social media performance across all monitored platforms (Instagram, Facebook, X/Twitter, LinkedIn, TikTok).

| Metric | Current Period (March) | Previous Period (Feb) | % Change (MoM) |

| :-------------------- | :--------------------- | :-------------------- | :------------- |

| Total Reach | 1,250,000 | 1,180,000 | +5.9% |

| Total Impressions | 3,800,000 | 3,550,000 | +7.0% |

| Total Engagements | 185,000 | 160,000 | +15.6% |

| Avg. Engagement Rate | 4.8% | 4.5% | +6.7% |

| Total Followers Gained | 8,500 | 7,200 | +18.1% |

| Total Posts | 95 | 88 | +8.0% |

Analysis:

  • Positive Growth Across Board: All key metrics show healthy month-over-month growth, indicating an upward trajectory in social media presence and impact.
  • Strong Engagement: The significant increase in total engagements and average engagement rate suggests that content is resonating well with the audience.
  • Increased Activity: A slight increase in posting frequency contributed to higher reach and impressions without sacrificing engagement quality.

3. Platform-Specific Analysis & Content Performance

3.1. Instagram

  • Followers: 75,000 (Growth: +6.5% MoM)
  • Reach: 450,000
  • Impressions: 1,200,000
  • Engagements: 85,000 (Likes: 60k, Comments: 10k, Shares: 8k, Saves: 7k)
  • Avg. Engagement Rate: 7.1%

Top Performing Content:

  1. Reel: "Behind-the-Scenes of our New Product Launch"

Reach:* 120,000

Engagements:* 15,000

Insights:* Authenticity and sneak peeks resonate strongly. Short, dynamic videos perform exceptionally well.

  1. Carousel Post: "5 Tips for [Relevant Industry Topic]"

Reach:* 95,000

Engagements:* 12,000

Insights:* Educational, value-driven carousels with strong visuals encourage saves and shares.

  1. Stories Poll: "Which [Product Feature] do you prefer?"

Reach:* 60,000

Engagements:* 8,000 (votes, replies)

Insights:* Interactive Stories drive direct engagement and provide valuable audience feedback.

Content Performance Trends:

  • Reels continue to be the primary driver of new audience reach and high engagement.
  • Educational and "how-to" content in carousel format performs well for saves and shares.
  • User-Generated Content (UGC) features show higher authenticity and trust.

3.2. Facebook

  • Followers: 110,000 (Growth: +1.2% MoM)
  • Reach: 300,000
  • Impressions: 900,000
  • Engagements: 30,000 (Likes: 20k, Comments: 5k, Shares: 5k)
  • Avg. Engagement Rate: 3.3%

Top Performing Content:

  1. Video: "Live Q&A with our CEO on [Industry Trend]"

Reach:* 80,000 (50% organic, 50% paid boost)

Engagements:* 7,000

Insights:* Live sessions foster direct connection and thought leadership. Paid boosting significantly extends reach.

  1. Photo Album: "Highlights from [Recent Event/Conference]"

Reach:* 55,000

Engagements:* 4,500

Insights:* Event-related content generates community interest and shares.

  1. Link Post: "Read our latest blog post on [Topic]"

Reach:* 40,000 (70% paid)

Engagements:* 3,000

Insights:* Direct link posts struggle organically but can be effective with targeted paid promotion for website traffic.

Content Performance Trends:

  • Organic reach remains challenging; a significant portion of reach is driven by paid promotion.
  • Video content (especially live streams) and community-focused posts perform best.
  • Direct link sharing has low organic engagement, indicating a need for more native content.

3.3. X/Twitter

  • Followers: 55,000 (Growth: +2.1% MoM)
  • Impressions: 600,000
  • Engagements: 18,000 (Likes: 12k, Retweets: 5k, Replies: 1k)
  • Avg. Engagement Rate: 3.0%

Top Performing Content:

  1. Text Post: "Our stance on the latest [Industry News] - what are your thoughts? #IndustryTrend"

Impressions:* 90,000

Engagements:* 3,500

Insights:* Timely, opinionated content that sparks conversation performs well. Hashtags are crucial for discoverability.

  1. Image Post: "Infographic: Key Stats from our latest report"

Impressions:* 75,000

Engagements:* 2,800

Insights:* Visually appealing data and insights are highly shareable.

  1. Poll: "What's your biggest challenge in [Relevant Area]?"

Impressions:* 60,000

Engagements:* 2,200 (votes, replies)

Insights:* Interactive polls encourage participation and provide quick audience insights.

Content Performance Trends:

  • Timeliness and relevance to current events or industry trends are key drivers of engagement.
  • Visuals (infographics, short videos) significantly boost tweet performance.
  • Direct questions and polls effectively drive conversation and replies.

3.4. LinkedIn

  • Followers: 40,000 (Growth: +3.0% MoM)
  • Impressions: 500,000
  • Engagements: 15,000 (Likes: 10k, Comments: 3k, Shares: 2k)
  • Avg. Engagement Rate: 3.0%

Top Performing Content:

  1. Long-Form Post: "The Future of [Your Industry]: A Thought Piece by [Senior Leader]"

Impressions:* 80,000

Engagements:* 3,000

Insights:* In-depth thought leadership from company leaders drives high-quality engagement and shares within professional networks.

  1. Video: "Employee Spotlight: Meet [Employee Name] from our [Department] Team"

Impressions:* 65,000

Engagements:* 2,500

Insights:* Humanizing the brand through employee stories resonates well and encourages employee advocacy.

  1. Company News: "Announcing our new partnership with [Partner Company]"

Impressions:* 50,000

Engagements:* 2,000

Insights:* Strategic announcements generate interest and can lead to industry discussions.

Content Performance Trends:

  • Professional, value-driven content, particularly thought leadership and company culture posts, performs strongly.
  • Employee advocacy (employees sharing company content) significantly amplifies reach and engagement.
  • Long-form text posts and native videos generally outperform external link shares.

3.5. TikTok

  • Followers: 20,000 (Growth: +15.0% MoM)
  • Views: 500,000
  • Engagements: 37,000 (Likes: 30k, Comments: 5k, Shares: 2k)
  • Avg. Engagement Rate (per view): 7.4%

Top Performing Content:

  1. Trend-Jacking Video: "[Your Company] takes on the #PopularTrendChallenge"

Views:* 180,000

Engagements:* 15,000

Insights:* Leveraging trending sounds and challenges is highly effective for discoverability and virality.

  1. Educational Short: "Quick Tip: How to use [Your Product Feature] in 30 seconds"

Views:* 120,000

Engagements:* 10,000

Insights:* Fast-paced, informative videos that provide quick value perform very well.

  1. Behind-the-Scenes: "Day in the life of a [Job Role] at [Your Company]"

Views:* 90,000

Engagements:* 8,000

Insights:* Authentic, unpolished content showing company culture or processes resonates with a younger audience.

Content Performance Trends:

  • Rapid audience growth is driven by consistent posting and effective use of trending sounds/challenges.
  • Short, engaging, and often humorous content performs best.
  • Authenticity and quick value delivery are paramount on this platform.

4. Audience Insights

Understanding who your audience is and what they care about is crucial for effective social media strategy.

  • Demographics:

* Age: Predominantly 25-34 (40%) across all platforms, with a significant younger demographic (18-24, 25%) on Instagram and TikTok, and an older professional demographic (35-54, 30%) on LinkedIn and Facebook.

* Gender: Fairly balanced (52% Female, 48% Male) across most platforms, with a slight male skew on LinkedIn and a slight female skew on Instagram.

* Location: Top 3

social_media_analytics_report.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
\n\n\n"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react'\nimport ReactDOM from 'react-dom/client'\nimport App from './App'\nimport './index.css'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n \n \n \n)\n"); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react'\nimport './App.css'\n\nfunction App(){\n return(\n
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n
\n )\n}\nexport default App\n"); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e}\n.app{min-height:100vh;display:flex;flex-direction:column}\n.app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px}\nh1{font-size:2.5rem;font-weight:700}\n"); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\n## Open in IDE\nOpen the project folder in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "type": "module",\n "scripts": {\n "dev": "vite",\n "build": "vue-tsc -b && vite build",\n "preview": "vite preview"\n },\n "dependencies": {\n "vue": "^3.5.13",\n "vue-router": "^4.4.5",\n "pinia": "^2.3.0",\n "axios": "^1.7.9"\n },\n "devDependencies": {\n "@vitejs/plugin-vue": "^5.2.1",\n "typescript": "~5.7.3",\n "vite": "^6.0.5",\n "vue-tsc": "^2.2.0"\n }\n}\n'); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport { resolve } from 'path'\n\nexport default defineConfig({\n plugins: [vue()],\n resolve: { alias: { '@': resolve(__dirname,'src') } }\n})\n"); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]}\n'); zip.file(folder+"tsconfig.app.json",'{\n "compilerOptions":{\n "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"],\n "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true,\n "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue",\n "strict":true,"paths":{"@/*":["./src/*"]}\n },\n "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"]\n}\n'); zip.file(folder+"env.d.ts","/// \n"); zip.file(folder+"index.html","\n\n\n \n \n "+slugTitle(pn)+"\n\n\n
\n \n\n\n"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './assets/main.css'\n\nconst app = createApp(App)\napp.use(createPinia())\napp.mount('#app')\n"); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue","\n\n\n\n\n"); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547}\n"); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\nOpen in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "scripts": {\n "ng": "ng",\n "start": "ng serve",\n "build": "ng build",\n "test": "ng test"\n },\n "dependencies": {\n "@angular/animations": "^19.0.0",\n "@angular/common": "^19.0.0",\n "@angular/compiler": "^19.0.0",\n "@angular/core": "^19.0.0",\n "@angular/forms": "^19.0.0",\n "@angular/platform-browser": "^19.0.0",\n "@angular/platform-browser-dynamic": "^19.0.0",\n "@angular/router": "^19.0.0",\n "rxjs": "~7.8.0",\n "tslib": "^2.3.0",\n "zone.js": "~0.15.0"\n },\n "devDependencies": {\n "@angular-devkit/build-angular": "^19.0.0",\n "@angular/cli": "^19.0.0",\n "@angular/compiler-cli": "^19.0.0",\n "typescript": "~5.6.0"\n }\n}\n'); zip.file(folder+"angular.json",'{\n "$schema": "./node_modules/@angular/cli/lib/config/schema.json",\n "version": 1,\n "newProjectRoot": "projects",\n "projects": {\n "'+pn+'": {\n "projectType": "application",\n "root": "",\n "sourceRoot": "src",\n "prefix": "app",\n "architect": {\n "build": {\n "builder": "@angular-devkit/build-angular:application",\n "options": {\n "outputPath": "dist/'+pn+'",\n "index": "src/index.html",\n "browser": "src/main.ts",\n "tsConfig": "tsconfig.app.json",\n "styles": ["src/styles.css"],\n "scripts": []\n }\n },\n "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"}\n }\n }\n }\n}\n'); zip.file(folder+"tsconfig.json",'{\n "compileOnSave": false,\n "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]},\n "references":[{"path":"./tsconfig.app.json"}]\n}\n'); zip.file(folder+"tsconfig.app.json",'{\n "extends":"./tsconfig.json",\n "compilerOptions":{"outDir":"./dist/out-tsc","types":[]},\n "files":["src/main.ts"],\n "include":["src/**/*.d.ts"]\n}\n'); zip.file(folder+"src/index.html","\n\n\n \n "+slugTitle(pn)+"\n \n \n \n\n\n \n\n\n"); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser';\nimport { appConfig } from './app/app.config';\nimport { AppComponent } from './app/app.component';\n\nbootstrapApplication(AppComponent, appConfig)\n .catch(err => console.error(err));\n"); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; }\nbody { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; }\n"); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'app-root',\n standalone: true,\n imports: [RouterOutlet],\n templateUrl: './app.component.html',\n styleUrl: './app.component.css'\n})\nexport class AppComponent {\n title = '"+pn+"';\n}\n"); zip.file(folder+"src/app/app.component.html","
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n \n
\n"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1}\n"); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';\nimport { provideRouter } from '@angular/router';\nimport { routes } from './app.routes';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n};\n"); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router';\n\nexport const routes: Routes = [];\n"); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nng serve\n# or: npm start\n\`\`\`\n\n## Build\n\`\`\`bash\nng build\n\`\`\`\n\nOpen in VS Code with Angular Language Service extension.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n.angular/\n"); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join("\n"):"# add dependencies here\n"; zip.file(folder+"main.py",src||"# "+title+"\n# Generated by PantheraHive BOS\n\nprint(title+\" loaded\")\n"); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n\`\`\`\n\n## Run\n\`\`\`bash\npython main.py\n\`\`\`\n"); zip.file(folder+".gitignore",".venv/\n__pycache__/\n*.pyc\n.env\n.DS_Store\n"); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+"\n"; zip.file(folder+"package.json",pkgJson); var fallback="const express=require(\"express\");\nconst app=express();\napp.use(express.json());\n\napp.get(\"/\",(req,res)=>{\n res.json({message:\""+title+" API\"});\n});\n\nconst PORT=process.env.PORT||3000;\napp.listen(PORT,()=>console.log(\"Server on port \"+PORT));\n"; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000\n"); zip.file(folder+".gitignore","node_modules/\n.env\n.DS_Store\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\n\`\`\`\n\n## Run\n\`\`\`bash\nnpm run dev\n\`\`\`\n"); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:"\n\n\n\n\n"+title+"\n\n\n\n"+code+"\n\n\n\n"; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */\n*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e}\n"); zip.file(folder+"script.js","/* "+title+" — scripts */\n"); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Open\nDouble-click \`index.html\` in your browser.\n\nOr serve locally:\n\`\`\`bash\nnpx serve .\n# or\npython3 -m http.server 3000\n\`\`\`\n"); zip.file(folder+".gitignore",".DS_Store\nnode_modules/\n.env\n"); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/\.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/\*\*(.+?)\*\*/g,"$1"); hc=hc.replace(/\n{2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\nFiles:\n- "+app+".md (Markdown)\n- "+app+".html (styled HTML)\n"); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); } function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}