Warning: Measuring ITP impact is a classic example of attempting to measure a “moving target”. The example below uses segment definitions that were effective at showing the impact of ITP on traffic as of late 2021. This is for demonstration purposes only.
Setup for the ITP impact report
The first setup step is identifying the report suite you are going to be using for the report. This can be as easily as looking in the admin for Adobe Analytics or running the aw_get_reportsuites() function in adobeanalyticsr. Either way, this step should be fairly simple.
The second step is usually done through training and reviews but when using code we can generate visuals that more consistently aligned with our expectations. While visuals are still customized for each report, this type of code based deliverable enables us to include visualization best practices into all of our reports and presentations.
Finally, the last step of our setup process is creating the segments and calculated metrics. Historically, we have needed to go into a report suite and create these elements. There were problems with consistent naming conventions and other user errors due to having so many ‘touch points’ in that process. By using the API we have been able to streamline this step in the setup process. It is now a single function that first checks for existing segments with the same name in the account and then builds them if they do not exist.
The power of this report is in the ability to automate the segment creation process and then pull data according to each segment without ever having to log into the user interface. Since the segment definitions use basic dimensions and metrics, there is no need to customize these dimensions across report suite.
Visualize the Impact
Now that we have the setup done, we can get right into the visualization part. This has been a hot topic among my peers on the best way to present the ITP Impact. The following visuals are adjusted a little (or a lot) with every client presentation but they give us a solid start to communicating the impact of ITP on their analytics.
90 Day View
The first visual shows the distribution of the ‘Best Case’ Traffic estimate vs the ‘Worst Case’ Traffic segments over the last 90 days.
First we need to pull the 3 different data sets using the segments.
We add one column to the results, ‘type’, to help make the distinction between data sets.
Now we need to combine the data.
Due to the fact that all the columns are the same we can use the base rbind function.
Before creating the visual we need the averages and annotations.
This step includes 2 summary data points to help provide additional information on the chart
Finally we create the visual.
This can look intimidating at first but visual customization is a big reason for doing the ITP Impact Report in R
We usually only have to adjust the 2 items commented below in the code. (‘#’ signifies a comment)
Larger Trend by Month
This next visual gives a larger look-back window and summarizes it by month as opposed to day. It is intended to help the analyst answer the following questions:
Has traffic been steady, increasing, or decreasing?
Do we see seasonality trends?
It also should inform whether or not we will expect changes going forward for volume of Best and Worst Case visits.
Pull the data
Because we want the best look-back window possible we start by defining how many days March 1, 2020 was from today. This number will be used in the function argument date_range to make sure we include much of 2020 without having to do much additional math. We could add the data in the character form, ‘2020-04-01’, but then we would have to define today’s date in the same character format in order for the c() function to send in the date range correctly. It’s easier to define the days since today and then just subtract it from today’s date.
Bind the rows
Get additional data points
As in the previous section, we need to do a little data wrangling to get additional points of information.
Visualize the longer trended data
Example of ITP Analytics Impact
This final visual takes the percentage of returning after 7 day visits before and after the date ITP was implemented on November 5th, 2020. It is used to illustrate of one of the impacts of ITP on reporting.
Pull the data
Bind the data
Transform the data
The biggest change in this step over the previous transformation steps is categorizing the date as being ‘after’ or ‘before’ the ITP changes.
Visualize the data
Using this framework creates the images but most importantly, enables the analyst to quickly add in-line commentary and recommendations to the final deliverable.
This website protects your privacy by adhering to the European Union General Data Protection Regulation (GDPR). We will not use your data for any purpose that you do not consent to and only to the extent not exceeding data which is necessary in relation to a specific purpose(s) of processing. You can grant your consent(s) to use your data for specific purposes below or by clicking "Agree to all".
We will store data in an aggregated form about visitors and their experiences on our website. We use this data to fix bugs and improve the experience for all visitors.