0% found this document useful (0 votes)
29 views8 pages

Instagram User Analytics

Uploaded by

dsoumyadeep397
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views8 pages

Instagram User Analytics

Uploaded by

dsoumyadeep397
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Instagram User Analytics

Project Description

The primary goal of this project is to analyze user interactions and


engagement with the Instagram app which will uncover valuable insights for
the growth of the business. By understanding how users interact with
Instagram features such as posts, stories, reels, DMs ,etc. we can take
decisions for marketing campaigns and user experience enhancement.
In this project, we are going to answer the questions posed by the
management team to find valuable insights which will help to make
informed decisions for the future direction of the Instagram app.

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

Tech- Stack Used


I used MySQL Workbench to complete this project as it is most easy
to use for effectively and efficiently managing databases.

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.

Syntax- SELECT * FROM ig_clone.users


order by created_at asc
limit 5

2. Inactive User Engagement-


The team wants to encourage inactive users to start posting by sending
them promotional emails.

Your Task: Identify users who have never posted a single photo on
Instagram.

Syntax- SELECT users.id, users.username FROM ig_clone.users LEFT JOIN


ig_clone.photos ON users.id = photos.user_id WHERE photos.id IS NULL

3. Contest Winner Declaration:

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.

Syntax:- select dayname(created_at) as day_of_the_week, count(*) as


number_of_users_registered from ig_clone.users group by day_of_the_week order by
number_of_users_registered desc

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.

Syntax:- select count(distinct users.id) as total_number_of_users, count(photos.id)


as total_number_of_photos, count(photos.id)/ count(distinct users.id) as
average_post_per_user from ig_clone.users left join ig_clone.photos on users.id=
photos.user_id

2. Bots & Fake Accounts:


Investors want to know if the platform is crowded with fake and dummy accounts.

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.

Syntax:- select username, count() as total_likes from ig_clone.users join


ig_clone.likes on users.id= likes.user_id group by likes.user_id having total_likes=
(select count() from ig_clone.photos)

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.

You might also like