The Impact of Third-Party Tags on Performance
The Impact of Third-Party Tags on Performance
Third-party tags offer value and functionality but can have unexpected results. Page size, third-party requests, and response times are important to consider.
Join the DZone community and get the full member experience.Join For Free
Two years ago, we published an eBook on the true impact of third-party tags. A lot can change in two years, especially when it comes to technology, so we felt it was time to revisit the sites we tested. In 2015, we analyzed sites across four verticals — US banking, eCommerce, news, and travel — to see what impact third-party tags have on page weight, response times, and the number of requests. We conducted the same analysis on these sites based on data from November 2016, during which over 600,000 test runs were analyzed.
If I said I had no assumptions going into the analysis, I would be lying. There are always assumptions or hypotheses involved in an analysis such as this. Here were a few of mine:
- Average page sizes would increase.
- Percentage of third-party requests would increase.
- Response times would be the same or better.
Now, let’s see whether I was right or wrong by exploring the results below.
Average Page Size
Given that the top 100 sites have seen their average page size increase by about 30% between March 2015 and November 2016, I expected to see similar increases across the sites we analyzed; however, the results surprised me.
Banking sites saw a massive increase nearly trebling in size; something didn’t make sense here. Looking at individual tests, I noticed that one banking site had an average page weight of over 10 MB during the time period, which would definitely bring the average up. After recalculating the averages without that outlier, the results were more in line with what I was expecting.
Now, what jumped out was the drop in average page size for news sites. Then, I realized The Financial Times was one of the sites we analyzed. The Financial Times has written about their performance studies and spoken about their culture of performance. Teams are empowered to say “no” to items that can lead to the site slowing down. This change took place in early 2016, influencing our comparison. The Financial Times was the lightest home page in the banking category, weighing in at 865K. The next closest page in size was 1.9MB, more than double the size. Excluding The Financial Times from the analysis, the average size of the news sites also increased.
Percentage of Third-Party Requests
Sites are always looking for additional insights into user behavior and new features to enhance the user experience, so I was expecting the percentage of third-party requests to increase. While two industries saw increases in the percentage of third-party content, two experienced drops.
The biggest surprise didn’t come from the increases or decreases in percentages, but rather in seeing that one site did not include any third-party content. Apple does not load any content on their home page from third parties. This was definitely unexpected when other sites have greater than 50% of their requests being delivered from third parties.
Page Load Time
Maybe because I spend so much time reading, thinking, and writing about web performance, I assume that pages should be getting faster. By now, everybody knows the negative consequences of slow-performing pages and that users are expecting pages to load faster than ever, right? That’s why I wasn’t expecting the results we saw. Across the board, response times increased and in some cases, the average web page load time doubled.
After seeing the results, I wondered if using the month of November was not a good comparison due to the start of the holiday shopping season. Maybe sites were slightly slower then due to increased traffic. I went back and looked at the response times for eCommerce sites in October to compare. The average for October was 160 ms faster than November.
The two categories with the highest percentage of third-party content also have the slowest average page load times. Every DNS lookup, TCP connection, and request adds more time to the web page load time. With studies regularly showing the negative impact slow page loads have on key business metrics, seeing response times jump so much in a short period of time was a shock.
Published at DZone with permission of Dawn Parzych , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.