A Deep Dive Into Marketing Analytics


- Created for B.lddotorg

Skills: Data Science, Brand Marketing & Content Strategy 

Tools Used: Apify, Google Sheets/Pivot Tables, Voyant, RAWGraphs

Scope: 4 Weeks,  August 2022

Team: Connor Ripple (Supervised by Kira McCutcheon)

Most of the project details are confidential. Details may be adjusted or omitted to protect sensitive and privileged company information. 

Background

Overview

Building a brand on TikTok isn't easy, especially as the algorithm is constantly changing. As part of my responsibilities as a Marketing Manager, I was assigned with the task of looking into our social media data to unlock more insights on our content by topic, as well as our hashtag use. I specifically wanted to focus on:

  • Understanding which content topics had the highest engagement rate
  • Track the performance of duets and stitches
  • See the correlation between the number of hashtags and a positive increase in engagement rate 


Note: This project was free (using a free trial) and doesn't require any special/internal access to any social media profile. It's easily replicable, so follow along!

Data Preparation

Collecting the Data

While the marketing team engages in regular social media reporting, it has not been collected since the beginning of our TikTok, especially in a consistent matter. Plus, this method is manual and time-consuming, so I used Apify, an automatic web scraping solution to download TikTok post data, including the description, time of posting, and engagement factors (likes, shares, comments, views). The total amount of posts scraped at the time was 893 videos since mid-2020 up until the time of this blog. 

Transforming the Data

When first starting the project, the initial goal was to look at hashtags. I used a coding method to extract the hashtags from the descriptions/captions of the posts. This excel command extracted all the hashtags and added them in a cell in a new column. I also created a new column to count the number of hashtags used on each post. [To replicate this, use the function =LEN(B2)-LEN(SUBSTITUTE(B2,"#","")) ]. I also used the [=LEN()] command to count the length of each post caption/description to see if that had an effect on views or engagement rate. 


To calculate the engagement rate, I took the sum of the amount of likes, comments, and shares (all engagements) and divided that by the total number of views on the video to calculate engagement rate (ER), times 100 to get a percentage. I also applied a few other adjustments, and also sorted by videos with the highest engagement rate, first.  At this point, the data was ready to use in pivot tables and other tools for other exploration. 

Weaknesses of This Dataset

  • Watch time, an extremely important metric, could not be scraped (will need to be done manually)
  • Tool did not scrape emojis, (can’t analyze how emoji use in the description affects engagement with this data set), also emojis can be hashtags
  • The hashtags were extracted using code to recognize the “#” symbol and omit the rest after, but some imperfections were present with captions with hashtags anywhere except the end.
    • All #duet and #stitch captions were manually edited, and some captions were edited manually, but I did not clean the whole data set.
  • The TikTok algorithm changes constantly
  • While this is not covered in the scope of this project, it may be useful to compare these results with Instagram

Analysis

This analysis took place in several parts, both through textual analysis and numerical analysis. I will begin with the textual analysis first. 

This graph visualizes the uses of certain topics over time in our content. Our most commonly occuring topics were "college," "college life," and other content relating to college. (Most keywords have been removed to hide confidential data). This graph helped me identify content opportunities for high school students, a large demographic that our brand was having trouble reaching. I relayed these findings to the team by showing them the graph, the number of pieces of "high school" vs. "college" related content, as well as included some content ideas to reach the intended demographic of high school students on TikTok. (These ideas are omitted to preserve confidentiality). Next I looked at calls to action. 

Our most common call to action (See snapshots) is prompting users to check out the content in our bio. What if user's don't want to leave the app when they run across our content? What if TikTok doesn't want that either?


I suggested testing more calls to action to help boost the engagement of our overall posts, like sharing and more. 

This graph visualizes the uses of certain topics over time in our content. Our most commonly occuring topics were "college," "college life," and other content relating to college. (Most keywords have been removed to hide confidential data). This graph helped me identify content opportunities for high school students, a large demographic that our brand was having trouble reaching. I relayed these findings to the team by showing them the graph, the number of pieces of "high school" vs. "college" related content, as well as included some content ideas to reach the intended demographic of high school students on TikTok. (These ideas are omitted to preserve confidentiality). Next I looked at calls to action. 

Eu aliquam porttitor, risus nibh? Cubilia ullamcorper imperdiet vehicula senectus velit dui mauris? Aenean ornare? Aptent ultricies inceptos enim primis posuere. Lacinia enim morbi magna commodo? Inceptos vulputate feugiat ut pellentesque, vestibulum risus laoreet porttitor. Sollicitudin sodales nulla curae velit iaculis! Nullam magna facilisis cursus eros, cursus pharetra? Tortor curabitur. In lacinia hac lectus nec. Vivamus sociosqu in mattis senectus erat, dolor justo! Habitasse congue varius sodales nullam tellus etiam. Elementum fermentum libero convallis nostra suspendisse pellentesque imperdiet. Ipsum curabitur sagittis vestibulum etiam curae ornare? Sit id. Litora potenti vestibulum maecenas.