Social Media Analytics Report
Run ID: 69cccdbd3e7fb09ff16a53d82026-04-01Analytics
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 requirements and initial design specifications for the "Social Media Analytics Report." This foundational step ensures that all necessary data points are identified for collection and that the report's visual structure and user experience are conceptualized from the outset.


1. Data Requirements: Core Metrics & Dimensions

To deliver a comprehensive social media analytics report, we require detailed data across several key areas. The specific platforms (e.g., Facebook, Instagram, X/Twitter, LinkedIn, TikTok, YouTube, Pinterest) will be determined during the onboarding phase, and data requirements will be tailored accordingly.

1.1. Engagement Metrics

  • Reach & Impressions:

* Total Reach (Organic vs. Paid)

* Total Impressions (Organic vs. Paid)

* Unique Reach

* Reach by Post Type

* Reach by Audience Segment

  • Interactions:

* Likes/Reactions (per post, per platform)

* Comments (per post, per platform)

* Shares/Retweets (per post, per platform)

* Saves (Instagram, Pinterest, TikTok)

* Click-Through Rate (CTR) for links

* Website Clicks from Social

* Profile Visits/Clicks

* Mentions & Tags

  • Video Performance:

* Video Views (3-second, 10-second, 1-minute views)

* Average View Duration

* Video Completion Rate (%)

* Audience Retention Curve

  • Engagement Rate:

* Engagement Rate per Post (e.g., (Likes + Comments + Shares) / Reach)

* Overall Platform Engagement Rate

* Engagement Rate by Content Type

1.2. Audience Insights

  • Demographics:

* Age Breakdown

* Gender Distribution

* Top Geographies (Country, City)

* Language

  • Follower Growth:

* New Followers/Subscribers Gained

* Followers Lost

* Net Follower Change

* Follower Growth Rate (%)

  • Audience Activity:

* Peak Online Times (Days of Week, Hours of Day)

* Audience Interests (if available via platform insights)

  • Sentiment (Optional, if advanced analysis is requested):

* Positive, Negative, Neutral sentiment of comments and mentions.

1.3. Content Performance Analysis

  • Post-Level Data:

* Date and Time of Post

* Post Type (Image, Video, Carousel, Reel, Story, Link Post, Text Post)

* Post Content/Caption

* Associated Hashtags

* Specific Metrics for Each Post (Reach, Impressions, Engagement Rate, Clicks, etc.)

  • Top/Worst Performing Content:

* Identification of top 5 posts by Engagement Rate, Reach, Saves, etc.

* Identification of bottom 5 posts by Engagement Rate.

  • Content Category Performance:

* Performance by defined content themes or categories (e.g., promotional, educational, behind-the-scenes).

  • Hashtag Performance:

* Most effective hashtags in terms of reach and engagement.

  • Posting Frequency & Timing:

* Analysis of optimal posting days and times based on performance.

1.4. Competitor Benchmarking (Optional, if competitor data is provided/accessible)

  • Competitor Follower Growth
  • Competitor Engagement Rates
  • Competitor Content Strategy Analysis (e.g., top performing content types)

1.5. Campaign Performance (if applicable)

  • Specific metrics tracked for tagged campaigns (e.g., #CampaignName)
  • ROI/ROAS for paid social campaigns (if budget data is provided)

2. Data Sources & Granularity

  • Primary Sources: Native analytics dashboards for each identified social media platform (e.g., Facebook/Instagram Insights, X/Twitter Analytics, LinkedIn Analytics, TikTok Analytics, YouTube Studio, Pinterest Analytics).
  • Secondary Sources (if applicable): Third-party social media management tools (e.g., Sprout Social, Hootsuite, Buffer), social listening tools (e.g., Brandwatch, Sprinklr), Google Analytics (for website traffic from social).
  • Data Granularity: Daily and post-level data will be collected to allow for flexible aggregation into weekly, monthly, quarterly, or custom date range reports.
  • Data Frequency: Data will be extracted and refreshed daily to ensure the report reflects the most up-to-date performance.

3. Design Specifications: Visual & Aesthetic Guidelines

The report will be designed with a focus on clarity, professionalism, and actionable insights.

  • Overall Aesthetic: Clean, modern, and data-driven. The design will prioritize readability and efficient information consumption.
  • Layout: A grid-based, modular layout will be employed to ensure consistency and easy navigation. Key performance indicators (KPIs) will be highlighted with clear visual prominence.
  • Visualizations: A diverse range of charts and graphs will be used to represent data effectively:

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

* Bar Charts: For comparisons (e.g., content type performance, platform-specific metrics).

* Pie/Donut Charts: For audience demographics (e.g., gender distribution).

* Heatmaps: For optimal posting times.

* Tables: For detailed post-level data and specific metric breakdowns.

* Infographics: For key takeaways and strategic recommendations.

  • Typography:

* Primary Font: A clean, modern sans-serif font (e.g., Montserrat, Lato, Open Sans) for headings and key metrics to ensure impact and readability.

* Secondary Font: A highly legible sans-serif font for body text and detailed information (e.g., Lato, Open Sans, Roboto).

* Font Sizes: A clear hierarchy of font sizes will be used for headings, subheadings, body text, and annotations.

  • Iconography: A consistent set of simple, professional icons will be used to represent key metrics (e.g., a heart for likes, a speech bubble for comments, an arrow for shares) and to delineate sections.
  • Branding: The client's logo and primary brand colors will be incorporated into the report template to maintain brand consistency.

4. Wireframe Descriptions: Report Structure & Key Sections

The report will be structured logically to guide the user from a high-level overview to detailed insights and actionable recommendations.

4.1. Page 1: Executive Summary & Performance Overview

  • Layout: Dashboard style with prominent KPI cards at the top.
  • Content:

* Client Logo and Report Title.

* Key Performance Indicators (KPIs): Total Reach, Total Impressions, Total Engagements, Net Follower Growth, Overall Engagement Rate. Each KPI will show current period value, percentage change from the previous period, and a small sparkline chart.

* Overall Trend Line Chart: Combined engagement or reach across all platforms over the reporting period.

* Platform Performance Summary: A bar chart comparing key metrics (e.g., engagement rate, reach) across all active platforms.

* Key Highlights/Lowlights: Short bullet points summarizing significant achievements or areas for improvement.

4.2. Page 2: Engagement Metrics Deep Dive

  • Layout: Sectioned into platform-specific performance and aggregated views.
  • Content:

* Total Engagements Over Time: Line chart showing daily/weekly engagement trends.

* Engagement Breakdown by Type: Donut chart showing distribution of likes, comments, shares, saves.

* Reach & Impressions (Organic vs. Paid): Stacked bar chart or line chart comparing organic and paid performance.

* Click-Through Rate (CTR) Analysis: Bar chart showing CTR by platform or content type.

* Video Performance Overview: Key video metrics (views, average duration, completion rate) presented as cards or small charts.

4.3. Page 3: Audience Insights

  • Layout: Focus on demographic and growth charts.
  • Content:

* Follower Growth Trend: Line chart showing daily/weekly follower count and net change.

* Audience Demographics: Bar charts for Age, Gender, and Top Geographies (countries/cities).

* Audience Online Activity Heatmap: Grid showing peak activity times by day of week and hour.

* Audience Interests/Top Categories: Word cloud or bar chart if data is available.

4.4. Page 4: Content Performance Analysis

  • Layout: Mix of tables for detailed posts and charts for aggregated views.
  • Content:

* Content Type Performance: Bar chart comparing average engagement rate/reach by content type (Image, Video, Carousel, Reel, Story, etc.).

* Top 5 Performing Posts: A table with thumbnails, captions, and key metrics (Reach, Engagement Rate, Comments, Shares) for the highest-performing content.

* Worst 5 Performing Posts: Similar table for lowest-performing content, highlighting areas for improvement.

* Hashtag Performance: Table or bar chart showing top-performing hashtags.

* Optimal Posting Times: Bar chart showing average engagement by hour/day.

4.5. Page 5: Recommendations & Next Steps

  • Layout: Text-heavy with supporting data snippets and clear action points.
  • Content:

* Key Learnings & Insights: A summary of the most important discoveries from the data.

* Strategic Recommendations: Specific, actionable recommendations for content strategy, audience engagement, posting schedule, and platform focus. Each recommendation will be backed by data insights from previous sections.

* Future Focus Areas: Suggestions for upcoming campaigns, content themes, or areas for deeper analysis.

* Call to Action: Next steps for the client, such as scheduling a review meeting or approving proposed strategies.


5. Color Palettes: Visual Identity & Data Clarity

The color palette will be designed to enhance readability, highlight key information, and align with the client's brand.

  • Primary Brand Colors: Incorporate the client's main brand colors for headings, primary accents, and report branding.
  • Neutral Palette:

* Background: White or very light gray (#F8F8F8) for clean aesthetics.

* Text: Dark gray (#333333) for primary text, lighter gray (#666666) for secondary text/annotations.

* Borders/Dividers: Subtle light gray lines (#E0E0E0) for structure.

  • Data Visualization Palette: A set of 4-6 complementary and distinct colors for charts, ensuring accessibility and clear differentiation between data series.

* Example Palette (adaptable):

* Deep Teal: #007B80

* Soft Orange: #FF9F1C

* Muted Blue: #3D5A80

* Warm Gray: #B3B3B3

* Accent Green: #4CAF50 (for positive growth)

* Accent Red: #F44336 (for negative trends)

Accessibility Note:* All color combinations will be checked for sufficient contrast to ensure readability for users with color vision deficiencies.


6. UX Recommendations: Enhancing Usability & Actionability

The user experience (UX) of the report is paramount to ensure it is not just informative but also easy to understand and act upon.

  • Clarity and Conciseness:

* Use clear, jargon-free language.

* Provide concise

gemini Output

Social Media Analytics Report: Comprehensive Performance Review & Growth Strategy

Report Period: Q1 2024 (January 1 - March 31, 2024)

Prepared For: [Client Name/Company Name]

Date: October 26, 2023


1. Executive Summary

This report provides a comprehensive analysis of [Client Name]'s social media performance across key platforms (Facebook, Instagram, LinkedIn, X/Twitter) for Q1 2024. Our analysis reveals strong engagement on Instagram and LinkedIn, indicating a highly receptive audience for visual and professional content. While overall reach and impressions saw a modest increase, the engagement rate across all platforms demonstrated positive growth, especially with video content and interactive posts.

Key findings highlight the success of thought leadership articles and behind-the-scenes content. Opportunities exist to optimize content calendars for peak engagement times, diversify content formats on Facebook, and leverage X/Twitter for more real-time engagement and community building.

Key Recommendations:

  • Prioritize Video Content: Increase production and distribution of short-form video (Reels, Shorts) across all platforms.
  • Refine Content Calendar: Implement data-driven posting schedules based on platform-specific peak engagement times.
  • Enhance Community Engagement: Develop specific strategies for responding to comments, initiating conversations, and running polls/Q&As.
  • Diversify Facebook Content: Experiment with more interactive formats and live sessions to boost engagement.

2. Overall Performance Overview

Illustrative Data:

| Metric | Q1 2024 Performance | Change from Q4 2023 | Trend |

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

| Total Reach | 2,500,000 | +8% | ↑ |

| Total Impressions| 4,800,000 | +12% | ↑ |

| Total Engagements| 180,000 | +15% | ↑ |

| Avg. Engagement Rate | 3.75% | +0.35 pts | ↑ |

| Follower Growth | +7,500 | +10% | ↑ |

| Website Clicks | 15,200 | +20% | ↑ |

Analysis:

Q1 2024 demonstrated a healthy upward trend across all major performance indicators. Total reach and impressions indicate a growing brand visibility, while the significant increase in total engagements and average engagement rate suggests that the content resonated well with the audience. The 20% increase in website clicks is particularly encouraging, indicating effective calls-to-action and successful conversion of social media interest into direct traffic.


3. Platform-Specific Performance Analysis

3.1. Instagram

  • Reach: 950,000 (+15% QoQ)
  • Impressions: 1,800,000 (+18% QoQ)
  • Engagements: 95,000 (+22% QoQ)
  • Engagement Rate: 5.28% (Highest among all platforms)
  • Follower Growth: +4,000 (+12% QoQ)

Insights: Instagram continues to be our strongest performing platform, particularly for visual content. Reels and Stories drove the highest engagement, with short-form educational videos and behind-the-scenes glimpses performing exceptionally well. Carousels featuring tips and infographics also saw above-average saves and shares.

Top Performing Content (Illustrative):

  • Reel: "5 Quick Tips for Boosting Productivity" (250K views, 15K likes, 800 shares)
  • Carousel: "Infographic: The Future of [Industry]" (10K saves, 500 comments)
  • Story: "Live Q&A with CEO [Name]" (5K unique viewers, 1.2K questions asked)

3.2. LinkedIn

  • Reach: 700,000 (+10% QoQ)
  • Impressions: 1,300,000 (+12% QoQ)
  • Engagements: 55,000 (+18% QoQ)
  • Engagement Rate: 4.23%
  • Follower Growth: +2,500 (+15% QoQ)

Insights: LinkedIn is a critical platform for professional networking and thought leadership. Our long-form articles, industry reports, and employee spotlight posts generated significant professional engagement, including comments from industry peers and potential partners. Video interviews with internal experts also performed well.

Top Performing Content (Illustrative):

  • Article: "Navigating [Industry Challenge] in 2024" (800 reactions, 120 comments, 50 shares)
  • Video: "Interview with [Employee Name] on [Topic]" (15K views, 200 comments)
  • Post: "Company Milestones & Awards Announcement" (1.5K reactions, 80 comments)

3.3. Facebook

  • Reach: 600,000 (+3% QoQ)
  • Impressions: 1,200,000 (+5% QoQ)
  • Engagements: 20,000 (+5% QoQ)
  • Engagement Rate: 1.67% (Lowest among all platforms)
  • Follower Growth: +700 (+2% QoQ)

Insights: Facebook's growth remained modest compared to other platforms. While posts reached a broad audience, the engagement rate indicates a need for more compelling and interactive content. Static image posts and shared articles showed lower engagement, while short video clips and polls performed slightly better.

Top Performing Content (Illustrative):

  • Video: "Short explainer video on [Product Feature]" (50K views, 500 reactions)
  • Poll: "What's your biggest challenge with [Industry Topic]?" (800 votes, 50 comments)

3.4. X/Twitter

  • Reach: 250,000 (+5% QoQ)
  • Impressions: 500,000 (+8% QoQ)
  • Engagements: 10,000 (+10% QoQ)
  • Engagement Rate: 2.00%
  • Follower Growth: +300 (+8% QoQ)

Insights: X/Twitter serves as a crucial platform for real-time updates, news dissemination, and direct audience interaction. Posts containing trending hashtags and direct questions saw the highest engagement. While overall volume of engagement is lower, the speed and directness of interactions are valuable.

Top Performing Content (Illustrative):

  • Tweet: "Thoughts on the latest [Industry News]? #IndustryTrends" (150 retweets, 80 comments)
  • Tweet: "We're hiring! Check out our open roles: [Link]" (200 retweets, 10 comments)

4. Audience Insights (Illustrative Data)

  • Demographics:

* Age: Predominantly 25-44 (60%), with a growing segment of 18-24 (15%) on Instagram.

* Gender: Fairly balanced (52% Male, 48% Female) across most platforms, with Instagram leaning slightly female (55%).

* Location: Top 5 cities: New York, London, Toronto, Sydney, San Francisco. Strong presence in urban centers.

  • Interests: Technology & Innovation, Business & Finance, Professional Development, Sustainability, Digital Marketing.
  • Behavioral Patterns:

* Peak Engagement Times:

* Instagram: Weekdays, 10 AM - 2 PM & 7 PM - 9 PM (local time).

* LinkedIn: Weekdays, 9 AM - 12 PM & 3 PM - 5 PM (local time).

* Facebook: Weekdays, 11 AM - 1 PM & 8 PM - 10 PM (local time).

* X/Twitter: Weekdays, 8 AM - 10 AM & 4 PM - 6 PM (local time), with spikes during industry events.

* Content Preference: High preference for video, infographics, live sessions, and interactive polls.

Analysis: Our audience is primarily young to middle-aged professionals interested in industry-specific content and career development. The varying peak engagement times highlight the need for platform-specific scheduling to maximize reach and interaction.


5. Content Performance Analysis

  • Top Performing Content Types:

* Video: Short-form educational videos, interviews, behind-the-scenes.

* Infographics/Carousels: Data visualization, step-by-step guides, tips.

* Long-form Articles/Blog Links: Thought leadership, industry insights (especially on LinkedIn).

* Interactive Posts: Polls, Q&As, quizzes.

  • Key Themes/Topics:

* Innovation & Future Trends in [Industry]

* Productivity & Workflow Optimization

* Sustainability Initiatives

* Employee Spotlights & Company Culture

* Expert Opinions & Thought Leadership

  • Underperforming Content Types:

* Static promotional images (Facebook)

* Generic text-only updates (Facebook, X/Twitter)

* Overly sales-focused posts without value proposition.

Analysis: Content that provides direct value, educates, or entertains performs best. Authenticity and transparency (e.g., behind-the-scenes) also resonate strongly. There's a clear preference for easily digestible, visually appealing formats.


6. Key Findings & Strategic Insights

  1. Visual and Interactive Content Dominates: Video, infographics, and interactive elements consistently drive higher engagement across all platforms, particularly on Instagram and LinkedIn.
  2. Platform-Specific Strengths: Instagram excels in brand building and visual storytelling; LinkedIn is paramount for professional networking and thought leadership. Facebook requires a content strategy overhaul to boost engagement.
  3. Audience Responsiveness: Our audience is highly responsive to content that addresses industry challenges, offers practical solutions, or provides unique insights.
  4. Growth Potential in Engagement: While follower growth is steady, there's significant room to deepen engagement by fostering more two-way conversations and leveraging interactive features.
  5. Effective CTAs: The increase in website clicks indicates that our calls-to-action are effective when paired with compelling content.

7. Recommendations & Growth Strategy

7.1. Content Strategy Enhancements

  • Video-First Approach:

* Allocate 50% of content creation efforts to video (Reels, Shorts, LinkedIn Videos).

* Develop a consistent series of short-form educational videos ("Tip Tuesday," "Industry Insight Minute").

* Explore live video sessions for Q&As and product demos on Instagram and Facebook.

  • Interactive Content Expansion:

* Increase frequency of polls, quizzes, and "Ask Me Anything" (AMA) sessions on Stories and posts.

* Run weekly themed discussion prompts on LinkedIn and X/Twitter to spark conversations.

  • Diversify Facebook Content:

* Introduce more video content, live sessions, and community-focused group discussions.

* Repurpose high-performing Instagram Reels for Facebook.

* Run targeted Facebook Ads for specific content pieces to boost reach and engagement.

  • Thought Leadership Amplification:

* Ensure all blog posts and whitepapers are consistently shared on LinkedIn with compelling excerpts and questions.

* Encourage employee advocacy on LinkedIn by providing shareable content and guidelines.

7.2. Audience Engagement & Community Building

  • Proactive Comment & DM Management:

* Implement a 24-hour response time goal for all comments and direct messages.

* Develop a list of common FAQs and canned responses, while maintaining a personalized tone.

  • Influencer/Partnership Opportunities:

* Identify micro-influencers or complementary businesses for collaborative content (e.g., Instagram Lives, co-authored LinkedIn articles) to tap into new audiences.

  • User-Generated Content (UGC) Campaigns:

* Launch a campaign encouraging users to share their experiences with a specific hashtag, with a chance to be featured on our channels.

7.3. Platform Optimization & Scheduling

  • Data-Driven Scheduling:

* Utilize platform analytics to fine-tune posting schedules, ensuring content goes live during peak engagement times for each specific platform.

* Experiment with weekend posting on Instagram if audience data supports it.

  • A/B Testing:

* Continuously A/B test different headline variations, call-to-action buttons, and content formats to identify optimal performance.

  • Hashtag Strategy Refinement:

* Regularly review and update hashtag lists to include trending and niche-specific tags, particularly on Instagram and X/Twitter.


8. Next Steps

  1. Review & Discussion: Schedule a meeting by [Date: e.g., November 10, 2023] to discuss this report, clarify any findings, and prioritize recommendations.
  2. Strategy Implementation Plan: Develop a detailed action plan for Q2 2024, outlining specific content initiatives, responsible parties, timelines, and KPIs based on agreed-upon recommendations.
  3. Q2 Performance Monitoring: Continuously monitor social media performance against new KPIs and make agile adjustments to the strategy as needed.
  4. Mid-Quarter Check-in: A brief check-in meeting will be scheduled for [Date: e.g., February 15, 2024] to review initial Q2 progress and address any emerging issues.

Disclaimer: The data and specific examples provided in this report are illustrative and have been generated to demonstrate the comprehensive nature of our analysis. In a real-world scenario, this report would be populated with actual client data from social media analytics tools.

gemini Output

Social Media Analytics Report: Q1 2024 Performance Review

Report Date: October 26, 2023 (Illustrative)

Reporting Period: January 1, 2024 - March 31, 2024 (Illustrative)


1. Executive Summary

This report provides a comprehensive analysis of [Client Name]'s social media performance across key platforms (e.g., Instagram, Facebook, LinkedIn, X/Twitter, TikTok) for Q1 2024. Overall, the quarter demonstrated solid growth in reach and impressions, indicating increased brand visibility. Engagement rates, while stable on some platforms, show opportunities for optimization, particularly in driving deeper interactions like comments and shares. Audience demographics remain consistent, providing a strong foundation for targeted content.

Key highlights include:

  • Significant growth in overall reach (+18% QoQ), primarily driven by video content.
  • Stable follower growth (+5% QoQ), with Instagram showing the strongest gains.
  • Identified top-performing content themes related to [Specific Industry Topic 1] and [Specific Industry Topic 2].
  • Opportunities for improving comment and share rates through more interactive content.

The recommendations outlined in this report focus on leveraging successful content formats, enhancing audience engagement strategies, and optimizing posting schedules to maximize impact and achieve Q2 growth objectives.


2. Overall Performance Overview

This section provides a high-level snapshot of your social media presence during Q1 2024, comparing key metrics against the previous quarter (Q4 2023) to identify trends.

| Metric | Q1 2024 Performance | Q4 2023 Performance | Change (QoQ) | Trend |

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

| Total Reach | 1,250,000 | 1,060,000 | +18% | ↑ Strong |

| Total Impressions | 3,800,000 | 3,200,000 | +19% | ↑ Strong |

| Total Engagements | 110,000 | 105,000 | +5% | ↑ Modest |

| Avg. Engagement Rate| 2.9% | 3.3% | -0.4% points | ↓ Slight |

| Follower Growth | +5,500 | +5,200 | +5.8% | ↑ Modest |

| Profile Visits | 28,000 | 25,500 | +9.8% | ↑ Modest |

| Website Clicks | 3,100 | 2,900 | +6.9% | ↑ Modest |

Analysis:

  • Visibility (Reach & Impressions): Significant increases indicate that content is reaching a broader audience, likely due to increased content volume and effective use of trending formats (e.g., Reels, short-form video).
  • Engagement: While total engagements increased, the average engagement rate saw a slight dip. This suggests that while more people are seeing content, the proportion interacting with it has slightly decreased relative to the increased reach. This highlights a need to focus on quality of engagement.
  • Follower Growth & Conversions: Consistent follower growth and a positive trend in profile visits and website clicks are positive indicators of brand interest and conversion potential.

3. Engagement Metrics Deep Dive

A closer look at how your audience is interacting with your content on a platform-by-platform basis.

3.1. Platform-Specific Engagement Rates

| Platform | Avg. Engagement Rate (Q1 2024) | Avg. Engagement Rate (Q4 2023) | Change (QoQ) | Industry Benchmark (Illustrative) |

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

| Instagram | 4.1% | 4.5% | -0.4% points | 3.5% - 5.0% |

| Facebook | 1.8% | 1.9% | -0.1% points | 1.0% - 2.5% |

| LinkedIn | 3.2% | 2.8% | +0.4% points | 2.0% - 4.0% |

| X/Twitter | 0.9% | 1.1% | -0.2% points | 0.5% - 1.5% |

| TikTok | 6.5% | 6.0% | +0.5% points | 5.0% - 8.0% |

Analysis:

  • Instagram: Remains a strong engagement channel, though a slight decrease suggests content refinement opportunities.
  • Facebook: Consistent but lower engagement, aligning with typical platform trends for organic reach. Focus should be on community building and targeted content.
  • LinkedIn: Positive growth, indicating effective professional content and thought leadership.
  • X/Twitter: Engagement is lower, typical for the platform's fast-paced nature. Focus on concise, timely, and interactive tweets.
  • TikTok: Highest engagement rate and continued growth, highlighting the platform's effectiveness for short-form video content and a younger audience.

3.2. Engagement Breakdown (Across All Platforms)

  • Likes/Reactions: 75,000 (68% of total engagements)
  • Comments: 12,000 (11% of total engagements) - Opportunity for growth
  • Shares: 8,000 (7% of total engagements) - Opportunity for growth
  • Saves: 15,000 (14% of total engagements) - Strong indicator of valuable content

Key Insights:

  • While "likes" are strong, the relatively lower proportion of comments and shares indicates that content is largely consumed passively. Strategies to encourage active discussion and content sharing are needed.
  • The high number of saves, particularly on Instagram, suggests that evergreen, informative, or aesthetically pleasing content resonates well and is considered valuable enough to revisit.

4. Audience Insights

Understanding who your audience is and how they behave is crucial for targeted content creation.

4.1. Demographics (Illustrative Data)

  • Age Distribution:

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

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

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

* 45+: 15% (Primarily Facebook, LinkedIn)

  • Gender Split:

* Female: 55%

* Male: 45%

  • Top Locations:

* [City 1]: 18%

* [City 2]: 12%

* [City 3]: 9%

* [Country 1]: 75%

* [Country 2]: 10%

4.2. Interests & Behaviors

  • Top Interests: [Industry-specific interest 1], [Industry-specific interest 2], [Lifestyle interest]. This data aligns well with content themes.
  • Online Activity:

* Peak Days: Tuesday, Wednesday, Thursday

* Peak Times: 10:00 AM - 12:00 PM EST and 7:00 PM - 9:00 PM EST

* Content Consumption: High preference for video content (especially short-form) and visually rich imagery.

Key Insights:

  • The 25-34 age group is your core audience. Content should be tailored to their interests and challenges.
  • The slightly female-skewed audience suggests opportunities for gender-specific messaging or product highlights where appropriate.
  • Consistent peak activity times provide clear windows for optimal content scheduling.

5. Content Performance Analysis

Examining what content resonates most effectively with your audience.

5.1. Top-Performing Content Formats (by Engagement Rate)

  1. Short-Form Video (Reels/TikToks): 7.8% Engagement Rate (Highest reach and virality)
  2. Carousel Posts (Instagram/LinkedIn): 4.5% Engagement Rate (High saves and information retention)
  3. Educational Infographics/Image Posts: 3.9% Engagement Rate (Strong for shares and comments on Facebook/LinkedIn)
  4. Live Streams/Q&A Sessions: 3.5% Engagement Rate (High comment volume)
  5. Standard Image Posts: 2.8% Engagement Rate

5.2. Top-Performing Content Themes/Topics

  • "How-To" Guides & Tutorials: Consistently high engagement, particularly on Instagram Reels and LinkedIn carousels. (e.g., "5 Steps to [Achieve X]", "How to use [Product Feature]")
  • Behind-the-Scenes & Company Culture: Drives strong personal connection and authenticity, especially on Instagram Stories and Facebook.
  • Industry News & Trends: Performs well on LinkedIn, positioning the brand as a thought leader.
  • User-Generated Content (UGC) Showcases: High engagement and trust, particularly on Instagram.
  • Product/Service Demos (Short & Engaging): Effective on TikTok and Instagram Reels for driving interest.

5.3. Underperforming Content

  • Text-Heavy Posts (without strong visuals): Low engagement rates across most platforms, especially Instagram and Facebook.
  • Generic Promotional Posts: Often perceived as salesy, leading to lower interaction unless highly targeted or innovative.
  • Long-Form Static Images: Lower performance compared to carousels or videos for complex information.

Key Insights:

  • Video is king. Prioritize short-form video content for maximum reach and engagement, especially on Instagram and TikTok.
  • Educational and value-driven content (tutorials, infographics, industry insights) performs exceptionally well, demonstrating audience appetite for learning and practical advice.
  • Authenticity and community building (BTS, UGC) are crucial for deepening audience connection.

6. Key Findings & Strategic Insights

  1. Video Dominance: Short-form video content (Reels, TikToks) is the primary driver of reach, impressions, and high engagement rates. This format should be central to the content strategy.
  2. Value-Driven Content Wins: Content that educates, informs, or provides direct value (how-to guides, infographics, saves) consistently outperforms purely promotional or passive content.
  3. Engagement Gap: While likes are plentiful, deeper engagements like comments and shares need to be actively solicited through more interactive content formats (e.g., polls, questions, challenges, live Q&A).
  4. Platform Specialization: Each platform has unique strengths. Instagram and TikTok excel in visual and short-form video; LinkedIn for professional networking and thought leadership; Facebook for community building and targeted paid campaigns.
  5. Audience Alignment: Content themes are largely aligned with audience interests, but there's room to further segment and personalize messaging based on platform demographics and behaviors.

7. Growth Strategy Recommendations

Based on the Q1 2024 performance, the following recommendations are designed to optimize your social media strategy for Q2 and beyond.

7.1. Content Strategy Enhancements

  • Prioritize Short-Form Video:

* Action: Increase production of Instagram Reels and TikToks by 20-30% weekly. Focus on trending audios, challenges, and quick educational tips related to [Client's Industry].

* Goal: Boost overall reach, impressions, and engagement rate on these platforms.

  • Boost Interactive Content:

* Action: Integrate more questions, polls, quizzes, and "fill-in-the-blank" captions into posts across all platforms. Host bi-weekly Instagram/Facebook Live Q&A sessions.

* Goal: Drive higher comment and share rates, fostering a more engaged community.

  • Leverage Carousel Posts for Education:

* Action: Create more multi-slide carousel posts on Instagram and LinkedIn for "how-to" guides, step-by-step processes, and comprehensive tips.

* Goal: Increase saves and perceived value, positioning the brand as an authority.

  • Amplify User-Generated Content (UGC):

* Action: Implement a consistent strategy for sourcing and showcasing UGC. Run a monthly contest or campaign encouraging followers to share their experiences with a branded hashtag.

* Goal: Build trust, authenticity, and expand reach through audience advocacy.

  • Repurpose Smartly:

* Action: Transform successful long-form content (blog posts, webinars) into bite-sized social media assets: infographics, short video clips, quote cards.

* Goal: Maximize content efficiency and reach different audience segments.

7.2. Audience Engagement & Community Building

  • Proactive Comment & DM Management:

* Action: Implement a rapid response strategy for all comments and direct messages (within 2-4 hours during business hours). Engage in genuine conversations.

* Goal: Strengthen community bonds and improve customer satisfaction.

  • Audience-Centric Content Planning:

* Action: Conduct regular social listening to identify trending topics and questions within your audience. Use Instagram Stories polls and Q&A stickers to directly ask followers what content they want to see.

* Goal: Ensure content relevancy and increase engagement.

7.3. Platform-Specific Optimizations

  • Instagram: Focus on Reels for growth, Stories for daily engagement, and Carousels for educational content. Optimize hashtags and use location tagging consistently.
  • Facebook: Prioritize community group engagement (if applicable), targeted video content, and leveraging Facebook Ads for broader reach and specific conversion goals.
  • LinkedIn: Continue with thought leadership pieces, industry news, and professional networking content. Encourage employee advocacy to amplify reach.
  • X/Twitter: Focus on timely updates, engaging in relevant conversations, and using compelling visuals. Consider running polls to gather quick audience feedback.
  • TikTok: Maintain high volume of short, entertaining, and trend-aligned videos. Experiment with different video styles and calls-to-action.

7.4. Paid Media Considerations

  • Action: Allocate a dedicated budget for paid social media campaigns to amplify top-performing organic content and reach new, highly targeted audiences.
  • Focus Areas:

* Retargeting: Re-engage website visitors and past engagers.

* Lookalike Audiences: Expand reach to users similar to your best customers.

* Conversion Campaigns: Drive specific actions like website purchases or lead generation.

  • Goal: Accelerate growth, increase brand awareness, and drive measurable conversions.

8. Next Steps & Action Plan

  1. Review & Approval (Week 1): Present this report to the [Client Team/Stakeholders] for discussion and approval of recommended strategies.
  2. Strategy Implementation (Weeks 2-4): Begin integrating approved content strategies and engagement tactics into the Q2 content calendar.
  3. Content Creation & Scheduling (Ongoing): Develop and schedule content based on the revised strategy, ensuring a consistent posting cadence.
  4. Performance Monitoring (Bi-Weekly/Monthly): Continuously track key metrics to assess the effectiveness of new strategies.
  5. Mid-Quarter Check-in (End of Q2 Month 1.5): Schedule a meeting to review initial Q2 performance, make any necessary adjustments, and discuss upcoming campaigns.
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
"); 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' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); 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' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); 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' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); 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} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "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"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); 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'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); 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} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- 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:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== 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(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } 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);}});}