Project 2 Instagram User Analytics
Project 2 Instagram User Analytics
Project Description:
Approach:
1. Loyal User Reward: I sorted the users by their registration dates and selected
the top five to identify the oldest users.
2. Inactive User Engagement: I identified users who have never posted any photos
by checking for users not present in the ‘Photos’ table.
3. Contest Winner Declaration: I determined the contest winner by joining the
‘Users’ and ‘Photos’ tables, then sorted by the number of likes in descending
order and selected the top entry.
4. Hashtag Research: I counted the occurrences of each hashtag and selected the
top five most commonly used hashtags.
5. Ad Campaign Launch: I grouped user registrations by the day and the highest
number of registrations to find the best day for launching ads.
6. User Engagement: I calculated the average number of posts per user and
determined the ratio of total photos to users to assess overall engagement levels.
7. Bots & Fake Accounts: I identified potential bot accounts by finding users who
liked every single photo, comparing the like counts with the total number of
photos on the platform.
Tech-Stack Used:
- I used MySQL Workbench 8.0 CE for writing and executing SQL queries.
- I used Microsoft Word for project preparation and Word to PDF Software.
- I chose MySQL Workbench for its ease of use and visualization tools.
Insights:
A) Marketing Analysis:
1) Loyal User Reward: Rewarding the most loyal users who have
been using the platform for the longest time.
• Conclusion: These are the top five oldest users on Instagram platform.
• Conclusion: He is the winner of the contest with most likes on his single
photo.
• Conclusion: Thursday and Sunday are the best days of the week for Ad
campaign launch.
B) Investor Metrics
1) User Engagement: Investors wants to know if users are still
active and posting on Instagram or if they are making fewer
posts.
• Conclusion: Above are some users with bots & fake accounts on the
platform.
Result:
- I successfully identified the most loyal users and inactive users providing
valuable targets for engagement and reward strategies.
- I determined the contest winner and the most popular hashtags.
- I found the optimal day for launching ad campaigns and calculated user
engagement metrics, which are useful for investor reports.
- I also detected potential bot accounts, helping to maintain the platform’s
integrity.
- I also got to know about the new ‘DAYNAME()’ function which was not
taught in the MySQL sessions.