1 of 14

INSTAGRAM USER ANALYTICS

Jipson o s

2 of 14

overview

  • Introduction
  • Project Description
  • Approach & Tech-stack used
  • Marketing
  • Investors metrics
  • Insights

Instagram user analytics

2

3 of 14

Introduction

User analysis is the process by which we track how users engage and interact with our digital product (software or mobile application) in an attempt to derive business insights for marketing, product & development teams.

These insights are then used by teams across the business to launch a new marketing campaign, decide on features to build for an app, track the success of the app by measuring user engagement and improve the experience altogether while helping the business grow.

Instagram user analytics

3

4 of 14

Project description

This project is about collecting data from the given database “Instagram” to provide business insights to the management team. The main goal of the project is to

  • find the 5 oldest users of the Instagram
  • find the users who have never posted a single photo on Instagram
  • identify the most liked photo on the Instagram
  • find the top 5 trending hashtags on the platform
  • what day of the week do most users register on?
  • user engagement
  • bot & fake accounts

Instagram user analytics

4

5 of 14

Approach & Tech-Stack used

First, I just installed the software required for doing this project which is installing MySQL on my system and watched the MySQL workbench tutorial to get familiar with the software. Then, I run the commands given from the dataset to create the database and do my task on the MySQL workbench which is filtering the data to get the result. I also briefly write down the tables in my notebook to get the connection between the columns from the different tables to write queries. I also visualise how can I connect these tables. I also used MS excel to import tables from the MySQL bench.

Instagram user analytics

5

6 of 14

Marketing

1. Rewarding Most Loyal Users: 5 oldest users of Instagram from the database provided are

SQL query -

select username,created_at from users

order by created_at limit 5;

Instagram user analytics

6

username

created_at

Darby_Herzog

06-05-2016 00:14

Emilio_Bernier52

06-05-2016 13:04

Elenor88

08-05-2016 01:30

Nicole71

09-05-2016 17:30

Jordyn.Jacobson2

14-05-2016 07:56

7 of 14

2. Remind Inactive Users to Start Posting: users who have never posted a single photo on Instagram.

SQL query:

select users.id,username,created_dat

from users left join photos

on users.id=photos.user_id

where created_dat is null;

Instagram user analytics

7

id

username

created_dat

5

Aniya_Hackett

NULL

7

Kasandra_Homenick

NULL

14

Jaclyn81

NULL

21

Rocio33

NULL

24

Maxwell.Halvorson

NULL

25

Tierra.Trantow

NULL

34

Pearl7

NULL

36

Ollie_Ledner37

NULL

41

Mckenna17

NULL

45

David.Osinski47

NULL

49

Morgan.Kassulke

NULL

53

Linnea59

NULL

54

Duane60

NULL

57

Julien_Schmidt

NULL

66

Mike.Auer39

NULL

68

Franco_Keebler64

NULL

71

Nia_Haag

NULL

74

Hulda.Macejkovic

NULL

75

Leslie67

NULL

76

Janelle.Nikolaus81

NULL

80

Darby_Herzog

NULL

81

Esther.Zulauf61

NULL

83

Bartholome.Bernhard

NULL

89

Jessyca_West

NULL

90

Esmeralda.Mraz57

NULL

91

Bethany20

NULL

8 of 14

3. Declaring Contest Winner: most likes on a single photo and their user details.

SQL query

select username,photos.id,photos.image_url,

count(*) as most_likes from photos

inner join likes

on likes.photo_id=photos.id

inner join users

on photos.user_id=users.id

group by photos.id

order by most_likes desc

limit 1;

Instagram user analytics

8

username

id

image_url

most_likes

Zack_Kemmer93

145

https://jarret.name

48

9 of 14

4. top 5 trending hashtags on the platform.

SQL query

select tags.tag_name,count(*) as total

from photo_tags

inner join tags on tags.id=photo_tags.tag_id

group by tags.tag_name

order by total desc

limit 5;

Instagram user analytics

9

tag_name

total

smile

59

beach

42

party

39

fun

38

concert

24

10 of 14

5. what day of the week do most users register on?

SQL query

select dayname(created_at) as day_of_the_week,

count(*) as total from users

group by day_of_the_week

order by total desc

limit 2;

Instagram user analytics

10

day_of_the_week

total

Thursday

16

Sunday

16

11 of 14

Investors metrics

1. User engagement:- Average number of photos per users

SQL query

select ((select count(*) from photos)/(select count(*) from users))

as avg_no_of_photos_per_user;

Instagram user analytics

11

avg_no_of_photos_per_user

2.57

12 of 14

2. Bots & fake accounts:- Provide data on users (bots) who have liked every single photo on Instagram.

SQL query

select username,count(*) as num_likes

from users inner join likes

on users.id=likes.user_id

group by likes.user_id

having

num_likes=(select count(*) from photos);

​

Instagram user analytics

12

username

num_likes

Aniya_Hackett

257

Jaclyn81

257

Rocio33

257

Maxwell.Halvorson

257

Ollie_Ledner37

257

Mckenna17

257

Duane60

257

Julien_Schmidt

257

Mike.Auer39

257

Nia_Haag

257

Leslie67

257

Janelle.Nikolaus81

257

Bethany20

257

13 of 14

Insights

One of the main insight I gained from the project is that most users register on Thursday and Sunday. So the marketing team might have a confusion which day is better out of these two. So I prefer the ad campaign should be done on Sunday than Thursday because Sunday is a holiday so the chances of users register on Instagram are higher. Instagram needs to remove the accounts who likes every post on Instagram

Instagram user analytics

13

14 of 14

Thank you��Jipson o s�jipson00716@gmail.com

Instagram user analytics

14