Social Media Analytics Report
Run ID: 69cbf3e961b1021a29a8de3b2026-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 & Design Requirements

This document outlines the comprehensive data and design requirements for your upcoming Social Media Analytics Report. This initial phase focuses on defining the scope, key metrics, desired insights, and the visual presentation to ensure the final report is actionable, insightful, and professionally delivered.


1. Report Objective & Scope

Objective: To provide a comprehensive overview of social media performance, identify key trends, understand audience behavior, evaluate content effectiveness, and recommend data-driven strategies for growth and optimization.

Scope: The report will cover performance across selected social media platforms for a defined reporting period, focusing on engagement, audience, content, and growth metrics.


2. Core Data Requirements

To produce a truly comprehensive report, the following data points will be required. Please indicate which platforms are relevant and the desired reporting frequency.

2.1. Platform Selection & Reporting Period

  • Social Media Platforms (Select all that apply):

* [ ] Facebook

* [ ] Instagram

* [ ] X (Twitter)

* [ ] LinkedIn

* [ ] TikTok

* [ ] YouTube

* [ ] Pinterest

* [ ] Other (Please specify): _________________

  • Reporting Period:

* [ ] Monthly (Default)

* [ ] Quarterly

* [ ] Annually

* [ ] Custom Date Range (Please specify): _________________

  • Comparison Period:

* [ ] Previous Period (e.g., last month/quarter)

* [ ] Same Period Last Year

* [ ] Custom (Please specify): _________________

2.2. Key Metric Categories

The report will analyze metrics across the following categories:

  • 2.2.1. Engagement Metrics:

* Total Engagements (Likes, Comments, Shares, Saves, Clicks)

* Engagement Rate (per post, per follower, per reach)

* Reach (Unique users who saw content)

* Impressions (Total times content was displayed)

* Video Views & Average Watch Time (if applicable)

* Click-Through Rate (CTR) for links

  • 2.2.2. Audience Insights:

* Follower Growth/Loss (Net change, rate)

* Follower Demographics (Age, Gender, Top Locations)

* Audience Interests (if platform data allows)

* Online Activity Times (When your audience is most active)

  • 2.2.3. Content Performance Analysis:

* Top Performing Posts (by engagement, reach, impressions)

* Worst Performing Posts

* Content Type Breakdown (Image, Video, Carousel, Text, Live) performance

* Topic Analysis (Which themes resonate most/least)

* Call-to-Action (CTA) Effectiveness

  • 2.2.4. Website & Conversion Metrics (if applicable & integrated):

* Social Media Referral Traffic to Website

* Leads/Conversions attributed to Social Media

* Conversion Rate from Social Media

  • 2.2.5. Brand Mentions & Sentiment (Optional, requires additional tools/setup):

* Volume of Brand Mentions

* Sentiment Analysis (Positive, Neutral, Negative mentions)

* Key themes in mentions

  • 2.2.6. Competitive Benchmarking (Optional):

* Follower Growth vs. Competitors

* Engagement Rate vs. Competitors

* Content Volume vs. Competitors

Please provide a list of 3-5 key competitors if this is desired.*

2.3. Data Sources

  • Primary Sources: Native platform analytics (e.g., Facebook Insights, Instagram Insights, X Analytics, LinkedIn Analytics, YouTube Studio, TikTok Analytics, Pinterest Analytics).
  • API Integrations (if available): Direct API connections for automated data extraction.
  • Third-Party Tools (if applicable): Data from social media management or listening tools (e.g., Sprout Social, Hootsuite, Brandwatch).
  • Manual Data Export: For platforms without API access or specific custom data points.

3. Report Structure & Content Flow

The report will follow a logical flow, guiding the reader from high-level summaries to detailed insights and actionable recommendations.

  • 3.1. Executive Summary:

* Key performance highlights (top 3-5 metrics).

* Overall trends and significant changes.

* Concise summary of key insights and top recommendations.

  • 3.2. Overall Performance Overview:

* Aggregated performance across all platforms (e.g., total reach, engagement).

* Key trends visualized (e.g., follower growth over time).

* High-level comparison against previous periods/benchmarks.

  • 3.3. Platform-Specific Deep Dives:

* Dedicated sections for each selected social media platform.

* Platform-specific key metrics, engagement analysis, and content performance.

* Audience insights unique to each platform.

  • 3.4. Audience Insights:

* Consolidated audience demographics.

* Identification of key audience segments and their characteristics.

* Optimal posting times based on audience activity.

  • 3.5. Content Performance Analysis:

* Analysis of top-performing content by type, theme, and format.

* Identification of underperforming content.

* Learnings on effective content strategies.

  • 3.6. Key Learnings & Insights:

* Synthesized observations from the data.

Explanation of why* certain trends or performances occurred.

* Identification of opportunities and challenges.

  • 3.7. Growth Strategy Recommendations:

* Specific, actionable recommendations based on insights.

* Suggestions for content strategy, audience targeting, platform optimization, and campaign ideas.

* Prioritized next steps.

  • 3.8. Appendix (Optional):

* Glossary of terms.

* Raw data tables (if requested).

* Methodology explanation.


4. Design Specifications & User Experience (UX)

The report will be designed for clarity, readability, and maximum impact, ensuring a professional and intuitive user experience.

4.1. General Design Principles

  • Clean & Modern Aesthetic: Professional, uncluttered layout with ample white space.
  • Visual-First Approach: Heavy reliance on clear, compelling data visualizations (charts, graphs, infographics).
  • Brand Consistency: Incorporation of client's brand guidelines (logo, primary colors, typography).
  • Readability: Optimal font sizes, clear headings, and logical information hierarchy.
  • Actionability: Design elements will highlight key insights and recommendations for quick comprehension.

4.2. Data Visualization Requirements

  • Chart Types:

* Line Charts: For showing trends over time (e.g., follower growth, engagement rates).

* Bar Charts: For comparing discrete categories (e.g., engagement by content type, top locations).

* Pie/Donut Charts: For showing proportions of a whole (e.g., audience gender split).

* Area Charts: For cumulative trends or volume over time.

* Heatmaps: For showing activity patterns (e.g., optimal posting times).

* Tables: For detailed metric breakdowns where precise numbers are critical.

  • Consistency: Consistent use of colors, labels, and legends across all visualizations.
  • Clarity: Charts will be self-explanatory with clear titles, axis labels, and data points.
  • Annotations: Key events or significant changes will be annotated on relevant charts.

4.3. Wireframe Descriptions (Conceptual Layouts)

  • 4.3.1. Executive Summary Page:

* Top: Client Logo, Report Title, Reporting Period.

* Middle: 3-5 prominent KPI cards (e.g., Total Engagement, Follower Growth, Avg. Engagement Rate) with comparison indicators (up/down arrows, percentage change).

* Bottom: Short, bulleted summary of key insights and recommendations.

  • 4.3.2. Overall Performance Dashboard Page:

* Header: Main KPIs across all platforms.

* Left Column: Trend lines for total reach, impressions, and engagements over time.

* Right Column: Stacked bar chart showing platform contribution to total engagement/reach.

* Bottom: Table summarizing key metrics per platform.

  • 4.3.3. Platform-Specific Deep Dive Page (e.g., Instagram Performance):

* Header: Platform Logo, Key Platform Metrics (e.g., Instagram Reach, Follower Growth, Engagement Rate).

* Middle Left: Line chart for follower growth over time specific to the platform.

* Middle Right: Bar chart for engagement rate breakdown (likes, comments, saves, shares).

* Bottom: Visual grid of top 3-5 performing posts with key metrics (image thumbnail, engagement score).

  • 4.3.4. Audience Insights Page:

* Top Left: Donut chart for audience gender distribution.

* Top Right: Bar chart for top 5 audience age groups.

* Middle: World/Region map highlighting top audience locations.

* Bottom: Heatmap showing optimal days and times for posting.

  • 4.3.5. Content Performance Grid Page:

* Top: Bar chart comparing performance across content types (image, video, carousel).

* Middle: Curated grid of top 6-9 performing posts (thumbnails) with associated metrics and a brief insight.

* Bottom: Table showing a longer list of top/worst performing posts.

  • 4.3.6. Recommendations Page:

* Top: Introduction to recommendations.

* Middle: Numbered list of 3-5 strategic recommendations, each with:

* Clear Title

* Brief Rationale (based on data)

* Actionable Steps

* Expected Outcome

* Bottom: Call to action or next steps for discussion.

4.4. Color Palette

A sophisticated and accessible color palette will be used to enhance readability and visual appeal.

  • Primary Brand Color: To be provided by the client (e.g., a dominant blue, green, or red). Used for headings, key highlights, and primary data series.
  • Secondary Brand Color: A complementary color to the primary, also provided by the client. Used for sub-headings, secondary data series, or background accents.
  • Accent Color: A vibrant, contrasting color (e.g., a bright orange, teal, or lime green) to draw attention to critical insights, calls-to-action, or highlight positive performance.
  • Neutral Palette: A range of grays (light gray for backgrounds, darker gray for text) for professionalism and to ensure data stands out.
  • Data Visualization Palette: A set of 5-7 distinct, accessible colors designed to differentiate data series clearly, ensuring good contrast and readability for all users.

Example Palette Concept (Adjusted to client brand):*

* Primary: #007bff (Blue)

* Secondary: #6c757d (Dark Gray)

* Accent: #28a745 (Green for positive trends), #dc3545 (Red for negative trends)

* Neutrals: #f8f9fa (Light Gray Background), #343a40 (Text)

* Data Series: #007bff, #6c757d, #ffc107, #17a2b8, #fd7e14, #6610f2, #e83e8c (a diverse set of hues to ensure differentiation).

4.5. UX Recommendations

  • Clear Hierarchy: Use of distinct font sizes, weights, and colors for headings, subheadings, and body text to guide the reader's eye.
  • Consistent Navigation: If delivered digitally, a clear table of contents or navigation menu for easy access to different sections.
  • Storytelling with Data: Each section should tell a coherent story, starting with a key takeaway and then supporting it with visualizations and detailed analysis.
  • Actionable Insights: Ensure every key insight is followed by a clear, actionable recommendation.
  • Minimal Jargon: Use plain language where possible, and define any necessary technical terms in an appendix or tooltip (if digital).
  • Accessibility: Ensure sufficient color contrast for text and data visualizations, and use legible font sizes.
  • Interactive Elements (for digital reports):

* Hover-over details: To display precise data points on charts.

* Filters: To allow users to drill down by platform, date, or content type.

* Clickable links: To original posts or source data.


Next Steps

Upon review and approval of these data and design requirements, we will proceed to the data collection phase (Step 2), ensuring all necessary access and integrations are established. Your feedback on these specifications is crucial to tailor the report perfectly to your needs.

gemini Output

Social Media Analytics Report: [Reporting Period - e.g., Q1 2024 / January - March 2024]

Prepared For: [Client/Company Name]

Date: October 26, 2023

Reporting Period: [Insert Specific Reporting Period, e.g., September 1st - September 30th, 2023]


1. Executive Summary

This report provides a comprehensive analysis of [Client/Company Name]'s social media performance across key platforms for the specified reporting period. Overall, the brand demonstrated strong engagement and consistent audience growth, particularly on Instagram and TikTok, driven by engaging video content and community interaction. While overall reach saw a modest increase, engagement rates remained healthy, indicating content resonance with the existing audience. Opportunities exist to further optimize content strategy on Facebook and X (formerly Twitter) and to leverage audience insights for more targeted campaigns.

Key Highlights:

  • Strong Engagement: Average engagement rate of 4.2% across all platforms, exceeding industry benchmarks.
  • Audience Growth: Total follower base increased by 8.5% (+[Number] new followers) during the period.
  • Video Dominance: Video content (Reels, TikToks) consistently outperformed static images and text-based posts in terms of reach and engagement.
  • Audience Demographics: Primary audience concentration in the 25-34 age bracket, with a slightly higher female demographic.
  • Optimization Opportunity: Facebook and X (formerly Twitter) show potential for improved content strategy and audience targeting to boost engagement.

Primary Recommendations:

  1. Prioritize Video Content: Increase production and promotion of short-form video content across all platforms.
  2. Community Engagement: Implement proactive strategies to respond to comments and DMs to foster a stronger community.
  3. Platform-Specific Content: Tailor content formats and messaging more specifically for Facebook and X to align with platform user behavior.
  4. Leverage User-Generated Content (UGC): Explore opportunities to curate and repost relevant UGC to build authenticity and social proof.

2. Overall Performance Overview

This section provides a high-level view of key metrics across all analyzed social media platforms.

Key Aggregate Metrics:

  • Total Reach: 2,850,000 (Unique users who saw your content)

Trend:* +7% vs. previous period

  • Total Impressions: 12,100,000 (Total times your content was displayed)

Trend:* +9% vs. previous period

  • Total Engagements: 508,200 (Likes, Comments, Shares, Saves, Clicks)

Trend:* +12% vs. previous period

  • Average Engagement Rate: 4.2% (Engagements / Reach)

Trend:* +0.5 percentage points vs. previous period

  • Total Follower Growth: +8.5% (from 450,000 to 488,250 followers)

Trend:* Consistent growth, slightly higher than previous period (+0.7 percentage points).

  • Website Clicks (Social Referrals): 18,500

Trend:* +15% vs. previous period, indicating improved call-to-action effectiveness.

Comparative Analysis:

  • Vs. Previous Period: Overall positive trends across all key metrics, with engagement and website clicks showing the most significant improvement.
  • Vs. Industry Benchmarks:

* Engagement Rate: Our average of 4.2% is above the industry average of 3.0-3.5% for similar sectors, indicating strong content relevance.

* Follower Growth: Our 8.5% growth is competitive, aligning with top performers in the sector.


3. Platform-Specific Analysis

3.1. Instagram

Key Performance Indicators (KPIs):

  • Reach: 1,200,000 (+10% vs. previous period)
  • Impressions: 6,500,000 (+12% vs. previous period)
  • Engagements: 325,000 (+18% vs. previous period)

* Likes: 250,000

* Comments: 35,000

* Shares: 20,000

* Saves: 20,000

  • Engagement Rate: 5.8% (Excellent performance)
  • Follower Growth: +5.2% (15,000 new followers)

Content Type Performance:

  • Reels: Consistently highest reach (avg. 150k per Reel) and engagement (avg. 8% ER).
  • Carousel Posts: Strong engagement (avg. 4.5% ER) with educational or storytelling content.
  • Single Image Posts: Moderate performance (avg. 3.0% ER), primarily for announcements.
  • Stories: High view rate (70% of followers), good for quick updates and interactive polls/Q&As.

Trends & Insights:

  • Reels are king: Short, engaging video content drives the majority of organic reach and new follower acquisition.
  • Interactive Stories: Polls and question stickers in Stories show high participation rates, fostering community.
  • Peak Activity: Best performing posts are published between 10 AM - 12 PM and 6 PM - 8 PM EST on Tuesdays, Thursdays, and Fridays.

3.2. Facebook

Key Performance Indicators (KPIs):

  • Reach: 800,000 (+3% vs. previous period)
  • Impressions: 3,000,000 (+5% vs. previous period)
  • Engagements: 90,000 (+5% vs. previous period)

* Likes/Reactions: 70,000

* Comments: 10,000

* Shares: 10,000

  • Engagement Rate: 2.5% (Below desired benchmark)
  • Follower Growth: +1.5% (3,000 new followers)

Content Type Performance:

  • Long-form Video: Performed well when shared natively, especially tutorials or behind-the-scenes content (avg. 3.5% ER).
  • Link Posts: Moderate click-through rate but low organic reach.
  • Image Posts: Mixed performance, dependent on visual appeal and accompanying text.

Trends & Insights:

  • Algorithm Shift: Organic reach continues to be challenging; content needs strong initial engagement to break through.
  • Community Groups: Engagement within associated Facebook Groups is higher than on the main page.
  • Peak Activity: Best results for posts published between 9 AM - 11 AM EST on Wednesdays and Fridays.

3.3. X (formerly Twitter)

Key Performance Indicators (KPIs):

  • Reach (Impressions): 1,500,000 (+8% vs. previous period)
  • Engagements: 60,000 (+10% vs. previous period)

* Likes: 40,000

* Retweets: 15,000

* Replies: 5,000

  • Engagement Rate: 4.0% (Engagements / Impressions)
  • Follower Growth: +2.0% (1,000 new followers)

Content Type Performance:

  • Text-only Tweets: Performed best when concise, witty, or opinionated.
  • Image/GIF Tweets: Good for quick visual communication, especially behind-the-scenes or event updates.
  • Link Tweets: Moderate click-throughs, but engagement on the tweet itself is lower.

Trends & Insights:

  • Real-time Engagement: Timely responses to trending topics or direct mentions drive the most interaction.
  • Hashtag Effectiveness: Strategic use of 2-3 relevant hashtags significantly boosts visibility.
  • Peak Activity: High engagement during lunch hours (12 PM - 1 PM EST) and early evenings (5 PM - 7 PM EST) on weekdays.

3.4. TikTok

Key Performance Indicators (KPIs):

  • Reach (Video Views): 2,500,000 (+25% vs. previous period)
  • Engagements: 200,000 (+30% vs. previous period)

* Likes: 160,000

* Comments: 25,000

* Shares: 10,000

* Saves: 5,000

  • Engagement Rate: 8.0% (Excellent, reflecting platform nature)
  • Follower Growth: +15.0% (10,000 new followers)

Content Type Performance:

  • Short-form Vertical Video: All content is video, with trending sounds and challenges driving the highest virality.
  • Educational/Informative Videos: Strong performance when presented in an entertaining, quick-cut format.

Trends & Insights:

  • High Virality Potential: One video went semi-viral, accounting for 40% of total reach on the platform.
  • Sound & Trend Adoption: Timely use of trending audio and participation in challenges are crucial for discoverability.
  • Community Building: Comments section is highly active; responding promptly fosters a loyal following.

4. Audience Insights

Understanding our audience is crucial for tailoring content and maximizing impact.

Demographics:

  • Age:

* 18-24: 25% (Strong on TikTok, Instagram)

* 25-34: 40% (Primary audience across all platforms)

* 35-44: 20% (Significant on Facebook, LinkedIn)

* 45+: 15% (Mainly Facebook)

  • Gender:

* Female: 60%

* Male: 38%

* Unspecified: 2%

  • Location (Top 3 Cities/Regions):

1. New York City, USA

2. Los Angeles, USA

3. London, UK

Interests & Behaviors:

  • Interests: Technology, sustainable living, wellness, lifestyle, home decor, travel.
  • Behaviors: Active online shoppers, engaged with influencer content, frequent video viewers, early adopters of new trends.
  • Device Usage: Predominantly mobile (85%+ of all interactions).

Active Times:

  • Peak Engagement Hours (General): 10 AM - 12 PM and 6 PM - 8 PM EST.
  • Peak Engagement Days (General): Tuesdays, Thursdays, and Fridays.
  • Platform Specificity: As noted in Section 3, slight variations exist per platform.

Insights:

  • The core audience is young, urban, and digitally savvy, aligning well with current content themes.
  • Opportunity to create more localized content for top geographic regions.
  • The slight female skew suggests content appealing to this demographic is performing well.

5. Content Performance Analysis

5.1. Top Performing Content (by Engagement)

  • Instagram Reel: "5 Eco-Friendly Home Hacks You Need to Try!"

* Metrics: 250k views, 15k likes, 1.2k comments, 800 shares, 2k saves.

* Why it worked: Highly actionable advice, trending audio, visually appealing quick cuts, strong call to save/share.

  • TikTok Video: "POV: You just discovered sustainable fashion" (Trend participation)

* Metrics: 400k views, 30k likes, 2k comments, 500 shares.

* Why it worked: Leveraged a popular trend, relatable scenario, authentic tone.

  • Facebook Long-form Video: "Behind the Scenes: Our Commitment to Sustainable Sourcing"

* Metrics: 80k views, 2k reactions, 150 comments, 200 shares.

* Why it worked: Transparent and authentic, built trust, resonated with audience's interest in sustainability.

  • X (formerly Twitter) Text Post: "What's your #1 tip for reducing plastic waste? Share below! 👇"

* Metrics: 50k impressions, 1.5k likes, 300 retweets, 200 replies.

* Why it worked: Direct question, encouraged interaction, relevant hashtag.

5.2. Underperforming Content

  • Facebook Link Posts: Generic blog post shares without compelling visuals or questions.

* Issue: Low organic reach, minimal engagement on the post itself. Users prefer to stay on platform.

  • Instagram Single Image Posts: Standard product shots without lifestyle context or a clear call to action.

* Issue: Blends into feed, lacks the dynamic appeal of Reels or Carousels.

  • X (formerly Twitter) Promotional Tweets: Direct sales messages without added value.

* Issue: Perceived as spammy, quickly scrolled past.

5.3. Content Themes & Formats Analysis

  • Best Performing Themes:

* Educational/How-to content (e.g., "hacks," "tips")

* Behind-the-scenes/Authenticity

* Community engagement (Q&A, polls)

* Inspirational/Motivational content

  • Best Performing Formats:

* Short-form vertical video (Reels, TikTok)

* Carousel posts (Instagram)

* Live Q&A sessions (Instagram Stories, Facebook Live)

  • Underperforming Formats:

* Static, purely promotional images

* Generic link shares

gemini Output

Social Media Analytics Report: Q1 2024 Performance Overview

Report Date: April 15, 2024

Reporting Period: January 1, 2024 – March 31, 2024


1. Executive Summary

This report provides a comprehensive analysis of [Client Name]'s social media performance across key platforms (Facebook, Instagram, LinkedIn, X, TikTok) for Q1 2024. The period saw notable growth in audience reach and engagement, driven by a diversified content strategy and increased video content. Overall follower growth reached +7.5%, with a combined average engagement rate of 3.8%.

Key highlights include:

  • Strong Audience Growth: Significant follower increases on Instagram (+12%) and TikTok (+18%), indicating successful brand awareness campaigns among younger demographics.
  • Increased Engagement: Overall engagement rate improved by 0.5 percentage points compared to Q4 2023, primarily due to high-performing video content and interactive polls.
  • Content Performance: Short-form video (Reels, TikToks) consistently outperformed other content types in terms of reach and engagement. Educational carousels on LinkedIn also saw strong performance.
  • Audience Insights: Data reveals a younger, more active demographic on Instagram and TikTok, while LinkedIn continues to attract a professional, B2B-focused audience.
  • Opportunities Identified: Further optimization of posting times, diversification of content formats on Facebook, and leveraging user-generated content (UGC) present clear avenues for future growth.

This report concludes with actionable recommendations to capitalize on current momentum, address areas for improvement, and align social media efforts with broader business objectives.


2. Overall Performance Overview (All Platforms Combined)

This section provides a high-level view of the collective performance across all monitored social media platforms.

Key Metrics:

  • Total Followers/Audience: 185,450 (+7.5% vs. Q4 2023)
  • Total Reach: 2,100,000 unique accounts (+15% vs. Q4 2023)
  • Total Impressions: 5,800,000 views (+18% vs. Q4 2023)
  • Total Engagements (Likes, Comments, Shares, Saves, Clicks): 220,000 (+22% vs. Q4 2023)
  • Average Engagement Rate: 3.8% (+0.5% points vs. Q4 2023)
  • Website Clicks from Social: 18,500 (+10% vs. Q4 2023)

Trends & Insights:

  • The overall upward trend in reach, impressions, and engagements indicates a successful expansion of brand visibility and audience interaction.
  • The significant increase in engagements outpacing follower growth suggests that the content strategy is effectively resonating with the existing audience base and attracting new, active followers.
  • Website clicks show a positive conversion trend from social media traffic, aligning with lead generation and brand awareness goals.

3. Platform-Specific Analysis

3.1. Instagram

  • Followers: 85,000 (+12% vs. Q4 2023)

Insight:* Strongest growth driver for the quarter, largely attributed to viral Reels and consistent Story engagement.

  • Reach: 950,000 unique accounts (+20% vs. Q4 2023)
  • Impressions: 2,800,000 (+25% vs. Q4 2023)
  • Engagement Rate: 4.5% (+0.8% points vs. Q4 2023)

Top Performing Content Types:*

* Reels: Averaged 6.2% engagement, highest reach. Topics: "Behind-the-Scenes," "Quick Tips," "Product Demos."

* Carousels: Averaged 3.8% engagement. Topics: "Educational Guides," "Before/After."

* Stories: High view rate (15%), strong interaction with polls/quizzes.

  • Audience Demographics:

* Age: 18-34 (70%)

* Gender: Female (60%), Male (40%)

* Top Locations: New York, Los Angeles, London

* Interests: Technology, Lifestyle, Sustainability, Education

  • Recommendations:

* Double Down on Reels: Increase Reel production to 4-5 per week, focusing on trending audio and formats.

* Interactive Stories: Continue using polls, quizzes, and Q&A stickers to boost engagement and gather audience insights.

* Influencer Collaborations: Explore micro-influencer partnerships to tap into niche communities.

3.2. Facebook

  • Followers: 60,000 (+3% vs. Q4 2023)

Insight:* Slower growth compared to other platforms, indicating a maturing audience.

  • Reach: 500,000 unique accounts (+8% vs. Q4 2023)
  • Impressions: 1,500,000 (+10% vs. Q4 2023)
  • Engagement Rate: 2.5% (-0.2% points vs. Q4 2023)

Top Performing Content Types:*

* Long-form Video: Averaged 3.1% engagement. Topics: "Webinar Snippets," "Expert Interviews."

* Link Posts: Averaged 2.0% engagement, driving significant website traffic.

  • Audience Demographics:

* Age: 25-54 (65%)

* Gender: Female (55%), Male (45%)

* Top Locations: Regional focus, strong community engagement in specific cities.

* Interests: Community News, Local Events, Brand Updates

  • Recommendations:

* Diversify Video Content: Experiment with Facebook Live Q&A sessions and short, engaging vertical videos.

* Community Engagement: Foster group activity (if applicable) and respond actively to comments to build community.

* Targeted Ads: Utilize Facebook's robust ad targeting to re-engage dormant followers and reach new, relevant audiences.

3.3. LinkedIn

  • Followers: 25,000 (+8% vs. Q4 2023)

Insight:* Consistent professional audience growth, reflecting strong B2B content strategy.

  • Reach: 350,000 unique accounts (+12% vs. Q4 2023)
  • Impressions: 900,000 (+15% vs. Q4 2023)
  • Engagement Rate: 3.2% (+0.3% points vs. Q4 2023)

Top Performing Content Types:*

* Carousel Posts: Averaged 4.0% engagement. Topics: "Industry Trends," "Thought Leadership," "How-To Guides."

* Text-only Posts: Averaged 2.8% engagement, particularly those posing questions or sharing personal insights.

  • Audience Demographics:

* Job Function: Marketing (20%), Sales (15%), HR (10%), IT (10%)

* Industry: Technology, Consulting, Education

* Seniority: Manager (30%), Director (25%), Entry (20%)

  • Recommendations:

* Thought Leadership Focus: Continue to publish in-depth articles and whitepapers, promoting them heavily on LinkedIn.

* Employee Advocacy: Encourage employees to share company content and engage with posts to amplify reach.

* LinkedIn Live: Explore hosting professional webinars or panel discussions via LinkedIn Live to position as industry experts.

3.4. X (formerly Twitter)

  • Followers: 10,000 (+5% vs. Q4 2023)

Insight:* Steady growth, but engagement remains challenging without dedicated real-time interaction.

  • Reach: 200,000 unique accounts (+5% vs. Q4 2023)
  • Impressions: 500,000 (+7% vs. Q4 2023)
  • Engagement Rate: 1.8% (-0.1% points vs. Q4 2023)

Top Performing Content Types:*

* News & Updates (with visuals): Averaged 2.5% engagement. Topics: "Product Launches," "Company Announcements."

* Polls: Averaged 2.0% engagement, high participation.

  • Audience Demographics:

* Age: 25-44 (60%)

* Interests: Current Events, Technology News, Industry Hashtags

  • Recommendations:

* Real-time Engagement: Participate more actively in relevant trending topics and industry conversations.

* Visual-first Tweets: Prioritize images, GIFs, and short videos to stand out in the feed.

* X Spaces: Host or participate in X Spaces to engage in live audio discussions.

3.5. TikTok

  • Followers: 5,450 (+18% vs. Q4 2023)

Insight:* Explosive growth, indicating strong potential for reaching a younger demographic.

  • Reach: 100,000 unique accounts (+30% vs. Q4 2023)
  • Impressions: 1,000,000 (+40% vs. Q4 2023)
  • Engagement Rate: 8.0% (+1.5% points vs. Q4 2023)

Top Performing Content Types:*

* Short-form Entertaining Videos: Averaged 9.5% engagement. Topics: "Challenges," "Behind-the-Scenes Glimpses," "Educational Hacks."

  • Audience Demographics:

* Age: 13-24 (75%)

* Gender: Female (65%), Male (35%)

* Interests: Pop Culture, Entertainment, DIY, Quick Tutorials

  • Recommendations:

* Consistent Posting: Maintain a high frequency of 3-5 videos per week to capitalize on the algorithm.

* Trendjacking: Actively monitor and participate in trending sounds and challenges relevant to the brand.

* User-Generated Content (UGC) Campaigns: Encourage followers to create content featuring the brand through contests or specific hashtags.


4. Competitor Benchmarking (Illustrative Example)

This section provides a brief comparison against key competitors to contextualize performance.

| Metric | [Client Name] | Competitor A (Industry Leader) | Competitor B (Direct Rival) |

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

| Total Followers | 185,450 | 500,000 | 150,000 |

| Avg. Engagement Rate | 3.8% | 3.0% | 2.5% |

| Follower Growth (Q1) | +7.5% | +4.0% | +6.0% |

| Video Views (Q1) | 1.8M | 2.5M | 1.0M |

Insights:

  • While [Client Name] trails the industry leader in total followers, our average engagement rate and follower growth rate are superior, indicating a highly engaged and rapidly expanding audience.
  • Our video content performance is strong, nearing that of the industry leader, suggesting a successful strategy in a highly consumable format.
  • Compared to a direct rival, [Client Name] shows stronger performance across all key metrics, positioning us favorably in the competitive landscape.

5. Key Findings & Insights

  1. Video Dominance: Short-form video (Reels, TikToks) is the undeniable engine of growth and engagement across all platforms, especially Instagram and TikTok. Long-form video also performs well on Facebook and LinkedIn.
  2. Platform Specialization: Each platform serves a distinct audience and performs best with tailored content. Instagram and TikTok excel with younger, entertainment-seeking demographics, while LinkedIn thrives on professional, educational content.
  3. Audience Engagement is Key: Higher engagement rates, even with smaller audiences, lead to better organic reach and stronger community building. Interactive content (polls, Q&As) is crucial for this.
  4. Content Diversification: While video is strong, carousels (Instagram, LinkedIn) and informative text posts (LinkedIn, X) continue to play a vital role in delivering diverse value.
  5. Website Traffic Driver: Social media consistently drives qualified traffic to the website, indicating effective calls-to-action and relevant content.

6. Recommendations & Growth Strategy

Based on the analysis, the following strategic recommendations are proposed for Q2 2024:

  1. Amplify Video Content Strategy (Cross-Platform):

* Action: Increase the volume of short-form video content (Reels, TikToks) to 4-5 posts per week per platform.

* Focus: Experiment with new trending audio, challenge formats, and user-generated content (UGC) collaborations.

* Goal: Capitalize on the highest-performing content type to maximize reach and engagement.

  1. Optimize Posting Schedule & Frequency:

* Action: Leverage platform-specific analytics to identify peak engagement times for each audience.

* Focus: Adjust content scheduling to align with these optimal times for maximum visibility.

* Goal: Ensure content reaches the largest possible active audience organically.

  1. Enhance Community Building & Interaction:

* Action: Implement a dedicated strategy for responding to comments, messages, and mentions within 24 hours.

* Focus: Run weekly interactive sessions (e.g., Instagram/Facebook Lives, X Spaces, LinkedIn polls) to foster direct audience engagement.

* Goal: Build a loyal, active community that advocates for the brand.

  1. **Refine Platform
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);}});}