Written by Nick Swan. Updated on 06, June 2024
As SEOs, we celebrate when rankings go up and clicks increase, and often seem confused why clients and management aren’t as jubilant as we are.
“What is the Return on Investment (ROI)” you might be asked, and this is something that has sometimes been tricky to answer.
Calculating the ROI of SEO has been possible, but only with the exporting of data to spreadsheets and the wrangling of rows and columns to get it in the format to present.
Without being able to show how moving up the rankings has impacted business performance and revenue, you won’t get the people around the boardroom table high-fiving you.
At SEOTesting we have been using the Google Search Console API to help you run SEO tests for 3+ years.
Wouldn’t it be great to also bring GA4 event data into time-based tests so you can see how changes to a site or page have not just affected SEO results but also impacted GA4 events and conversions?
Well, we have great news. SEOTesting now integrates with GA4 to supplement your time-based SEO tests with event and conversion data, helping you show the ROI your SEO work has brought about.
There are a couple of integration steps that need to be done to set up your SEOTesting site property with GA4, which are outlined below.
Once these are done, whenever you go to set up a time-based SEO test, you will see a new checkbox on the first screen for “Track GA4 events”.
The next step in setting up the test will be selecting the GA4 events you want to track in your time-based test. SEOTesting will bring in all default and any custom events you have created in GA4.
You can also select the session source to be filtered to just Google or None (None effectively means all traffic). Having the traffic source filter set to None is a good way to record the results around how event and conversion metrics from all traffic sources are affected by the SEO changes you are testing.
Once your dates have been confirmed on the third step of creating an SEO test, SEOTesting will collect the data that is already available from Search Console and GA4, and as the days progress, update each day as new data becomes available.
When data is available from Search Console for the test period of time, you can start to analyze the results. The GA4 events selected during the setup of the test will be displayed in the main test scorecard area.
You’ll see the SEO metrics from Search Console at the top, split into two columns based on data before and after changes were made.
Below these SEO metrics, you’ll see the summarised event data from GA4.
The events are calculated on a per day basis, so you do not need to wait until the end of the test period to start to see whether the changes made are trending towards a positive or negative outcome.
This also helps in the case of a drastically negative change, in that you can spot it early and potentially reverse the page change or look to further optimize.
While the default GA4 events such as clicks and scroll can measure basic user engagement, custom GA4 events like signups and conversions can be added to GA4 and also tracked through SEOTesting. This can help you show ROI from SEO work as these custom events are usually set up to equate to real business results.
There are two main scenarios that can now be dealt with when making SEO and CRO changes to pages…
With the addition of GA4 data reported in SEO test results, we can now measure how changes that are made to positively impact SEO and improve rankings affect conversions.
There is little point in doubling the traffic to the page and patting yourself on the back if it has negatively affected conversions and led to a massive drop in sales!
When making a page change to hopefully improve CRO metrics such as engagement or conversions, how does that change affect SEO metrics? Does making the call to action section twice as big, which pushes content further down the page, mean your target query ranking drops from #3 to #34.
There’s little point in improving conversions from 3% to 4% if your landing page traffic drops from 1,000 visitors per week to 30-40.
As before, you are able to run backtests on Search Console and GA4 data. How far back you can go depends on how long you’ve had GA4 up and running.
But this does mean if you forget to setup a test for changes you made two months ago, you can setup the Changed Date accordingly when creating the test, and SEOTesting will go and collect the historical data for you.
You need to set up the integration between SEOTesting and GA4 for each website separately.
To do this, navigate to the Dashboard of the site in SEOTesting, and click the Edit button to go into the website’s settings
On the settings page click on the Integrations tab. Down towards the bottom of this section you’ll see the GA4 area.
Click the button to ‘Allow GA4 Read Only Access’, and follow the steps to authorize GA4.
Please ensure you use a Google account that has access to both the Google Search Console site property and the GA4 property for the relevant site in SEOTesting.
SEOTesting now has permission to read the GA4 data you have access to, but you still need to let SEOTesting know which GA4 property it should be getting data from.
Go into GA4 and get the property ID in one of two ways:
OR
Take the GA4 property ID you copied from GA4 and now add it to the property ID field that has become available in SEOTesting since you authorized GA4 access
Upon entering the property ID and clicking the Save button, SEOTesting will check it has the necessary permissions to GA4, and if successful you’ll see a Saved message appear in the top right corner of the app.
Now you are ready to start running SEO tests and collecting event and conversion data from GA4.