Instagram User Analytics
Instagram User Analytics
Project Description
Approach
I used SQL to execute the queries for answering the questions posed by the
management team. I will provide answer to the following questions-
Five Oldest User on Instagram
Identify Users who have never posted a single photo on Instagram
Determine the winner of the contest and provide their details
Suggest the top five most used Hashtags
Determine the day of the week when most users register on Instagram
Calculating the average number of posts per user on Instagram
Identify potential bots who have liked every single photo on the site
A)Marketing Analysis
1. Loyal User Reward:-
The marketing team wants to reward the most loyal users, i.e., those who
have been using the platform for the longest time.
Your Task: Identify the five oldest users on Instagram from the provided
database.
Your Task: Identify users who have never posted a single photo on
Instagram.
The team has organized a contest where the user with the most likes on a
single photo wins.
Your Task: Determine the winner of the contest and provide their details to
the team.
Syntax:- SELECT users.id, username, image_url, photo_id, COUNT(*) AS
number_of_likes FROM ig_clone.likes JOIN ig_clone.photos ON likes.photo_id =
photos.id JOIN ig_clone.users ON photos.user_id = users.id GROUP BY photo_id
ORDER BY number_of_likes DESC LIMIT 1
4. Hashtag Research:
A partner brand wants to know the most popular hashtags to use in their
posts to reach the most people.
Your Task: Identify and suggest the top five most commonly used hashtags
on the platform.
Syntax:- select tag_name, count(photo_id) as most_used_tags from ig_clone.tags
join ig_clone.photo_tags on tags.id= photo_tags.tag_id group by id order by
most_used_tags desc limit 5
5. Ad Campaign Launch:
The team wants to know the best day of the week to launch ads.
Your Task: Determine the day of the week when most users register on Instagram.
Provide insights on when to schedule an ad campaign.
B) Investor Metrics:
1. User Engagement: Investors want to know if users are still active and
posting on Instagram or if they are making fewer posts.
Your Task: Calculate the average number of posts per user on Instagram.
Also, provide the total number of photos on Instagram divided by the total
number of users.
Your Task: Identify users (potential bots) who have liked every single photo on the
site, as this is not typically possible for a normal user.
Insight Gained
This is one of the most important parts of the project to derive insights to help the various
departments to make informed decisions.
The most loyal users of Instagram have been using the platform since 2016.Instagram has
many users who have never posted a single photo.
Most liked photo on Instagram.
The most used hashtags on Instagram are related to smile, beach, party, fun, and concert.
Thursday and Sunday are the day when most users register on Instagram, making it the
best day to launch campaigns.
On average, an Instagram user posts about 2 to 3 photos per week.
There is evidence of the presence of bots and fake accounts on Instagram, assuming
accounts have liked every single photo on the site.
Results
Through this project I gained many valuable insights through precise queries and attached the
screenshots for the given
In this project I learned how to extract data, solve problems using specific queries using SQL in
the given database.