Tuesday, 1 September 2020

"Posted by ipfister Since Moz released the new Google Data Studio Connectors for STAT, you might be..."

“““““““““““““““““““““““““““““““““““““““““““““““““““““““““

Posted by ipfister

Since Moz released the new Google Data Studio Connectors for STAT, you might be wondering how to best implement them for your reporting strategy. My colleagues at Path Interactive and I absolutely love how granular you can get with your reports in STAT, and finally having the ability to cleanly and effectively pull those reports into Data Studio (the tool we use for our own reporting) is a godsend.

While the Historical Keyword Rankings connector reports on rank over time, it may not be as obvious how to report on rank change over time. In this post, I'll give you step-by-step guidance on how to report on rank change — as well as a couple other filtering and reporting tips — while using the connectors within Google Data Studio.

If you aren’t a STAT user yet but you want to know how it might fit into your SEO toolkit, you can take a tour of the product. Click on the button below to set one up!

Learn More About STAT

Connecting your data source

Before you begin, you need to identify a few things to set up the connector: your STAT Keyword API Key, the Project ID, and your Site ID. If you don’t already know how to identify these via the STAT API, you can head over to STAT’s documentation here to learn more. After you’ve identified these, it’s time to connect your data source. 

We’re going to be doing something a little out of the ordinary here, but stay with me — you’ll see why in just a second!

For this step, we’ll be connecting two instances of the same source. Because our goal is to compare rank change over time, we’ll use the same source twice to identify those deltas.

When setting up your connector, be sure to name the source something that you’ll easily recognize:

In my case, I usually go with something simple such as “[client name] STAT Keyword Connector.” When this is complete, repeat the step above, but name it something different, e.g. “[client name] STAT Keyword Connector 2.”

Finally, make sure the metrics you plan on comparing have unique names for each connector. To do so, go into your data source. Click on the metric’s name so that you can rename it, and then rename it something unique. For this case we’ll be doing it for “Google Base Rank,” since we’re comparing ranks, but it can also be done for “Google Rank,” if we wanted to compare that. Again, I like to just keep it simple: for the first data source call it “Google Base Rank 1,” and then for the second data source call it “Google Base Rank 2.” When all is said and done, it should look something like this:

Building your table and blending data

Now we’ll start to get a bit more technical. Blending the data of the two connectors lets you compare two instances of rankings against each other. Your final result will produce a table showing the ranks of two given dates, as well as their rank change. The five-step process will look like this:

  1. Blend data of keyword connectors one and two
  2. Add in your common metrics for the two sources (keyword at the minimum, but you can also add in location, device, market, and search volume)
  3. Add in the metric you’d like reported (Google base rank and/or Google rank)
  4. Set date range
  5. Apply “No Null” filter

1. Blend data of keyword connectors one and two

The first step here is to blend the two connectors so that you can compare two instances of ranks against each other. 

First, you need to create a new report, or go into a report that’s already set up. Next, select your data source. Here you’ll select the first instance of the source that you set up earlier (if you’re starting on a fresh report, it’ll ask you to add a data source immediately). Once selected, click on “Blend Data” underneath the data source on the right hand side of Google Data Studio, seen here:

This will bring you to the Blend Data source tool. From here you select to add another data source, being your second instance of the connector.

2. Add in your common metrics

Once you’ve chosen to blend both connectors, you need to set your metrics. Towards the top, you’ll see “Join keys.” This is in reference to what’s going to be the same for both instances, so here at the minimum, you want to include “keyword.” Feel free to play around here with adding different metrics.

Note: We’ll go over this later, but if you plan on having different graphs filtered by a certain tag or location, make sure to add these in here.

3. Add in the type of rank you want reported

After setting your metrics under “Join keys,” now select the metrics that will be unique for each date. Depending on what you want to compare, under “Metrics” you’ll pick “Google Base Rank,” “Google Rank,” or both. You may also include “Date” here too if you’d like. Once done, click on “SUM” next to the metric name, and change this to “MIN.” You’ll see why in just a moment.

At this point, your blended data should look something like this:

4. Set date range

Now you need to set the two date ranges you’re comparing to each other. 

To do this, under the first connection, set your first date: Under “Date Range,” click on “Custom,” then click on the field to select your date. Here you might see that there’s an option for two dates, but for this solution, we’re using the same date for each connector.

In the end, it’ll be something like “Connector 1” selected for the “start date” and “end date” as the first of the month, and for “Connector 2,” the “start date” and “end date” will be the last of the month. This is essentially pulling in the rank for the first instance as well as the second instance, so you can compare the two.

5. Set “No Null” filter

The last step in setting up your blended data is creating a “No Null” filter. When the keyword connector reports on ranks that your site is not ranking for, it will return as “null.” To avoid flooding your data with fluff, you need to create a filter removing instances of “null.”

First, click on “Add A Filter” below where you selected the date range. Next, towards the bottom, click on “Create A Filter.” Set the parameters of the filter as “Exclude” > “Google Base Rank 1 (2)” > “Is Null.” Be sure to name the filter something identifiable such as “No Null.” It should look like this:

Applying rank change to your report

Now you can create a new field that will report on the rank change by making a calculated field to find the difference of the two ranks. 

Under dimensions, select “Add Dimension,” and click on “Create Field.” You can name it “Rank Change,” but to create the field, start typing “Google Base Rank,” and you’ll see your instances from each connector come up. To make the calculated field, select your “Google Base Rank 1” and subtract it from “Google Base Rank 2,” so it should look something like this:

Hit apply, and now your rank change should be calculated!

There is also an additional way to get the same result, but with a few drawbacks, such as not being able to name the header, as well as not being able to filter or sort your rank change. The benefit to this approach is that it’s easier to set up initially, as you don’t actually need to blend the data. However, not setting up the blended data will also forfeit having the initial rank visible. When in your edit view, set a custom date range that you’re reporting on under “Default date range.” Here, you can then set a comparison date: if looking back a month, you can set this to the first. If you go with this option, it should look like this:



Head into the “Style” tab, where you can change the comparison to “Show Absolute Change” under “Metrics.” You can also change the colors of your positive and negative arrows to more accurately represent the movement (you can see from above that the “negative” change is a green arrow, this defaults to red).

Using filters

Applying filters to your data set can be extremely beneficial to making sense of your data! Using filters with the connector can help you segment out rankings for a particular location, or create charts that show rankings for a specific keyword group that you’ve set up using keyword tags. 

Take a look at this report I set up as an example. Within STAT, I created keyword tags to target locations determined by what zip code they were. Then, I was able to create a filter for each chart targeting that keyword tag:

Setting filters up is extremely simple. First, go into edit mode. Next, scroll down the side until you find “Filter.” Then under Filter > Table Filter, click on “Add a Filter.” This will bring you to the filter picker. Toward the bottom, click on “Create a Filter.” Here you can set the parameters for the filter you’d like to show.

Some of my other favorites include filtering to only show the top few pages (filters out non-relevant and high ranks), using the keyword tag filter like I showed before, and also filtering by location. But you don’t have to stop there! Adding in the additional dimensions available to you in the connector, you can use the filter to show things such as desktop vs. mobile or how your keyword ranking performance does in different markets.

Blending your Google Analytics, Google Search Console, and STAT data

One of my favorite uses for the connectors is the ability to blend the data with your Google Analytics and Google Search Console data. By blending this data together, you’re able to directly tie keyword rankings with different metrics, such as clicks or goal completions.

You’re probably a pro at blended data at this point, but just for reference, the data blended should look like this:

A few things to note: it’s important what order you put the connectors in. I’ve found that adding the STAT connector first works best (i.e. if you put Google Analytics first, you’ll get a report with the infamous “not found” keyword). Additionally, to pull in Search Console data in order to match with your other connectors, using “Query” will have the same effect as “Keyword.”

The result would look something like this, but feel free to edit the design how you wish!

Now you can go even further with this and match up URLs, but this will require some RegEx. 

You’ll rename the “Google URL” field in STAT and “Landing Page” field in Google Search Console in order to match the URL structure convection within Google Analytics by taking out the domain portion of the URL. To do this, go into your data source for each STAT connector and Google Search Console, and click “Add A Field” in the top right.

Next, enter to following RegEx for the STAT connector:

REGEXP_REPLACE(Google URL, “.*[.]com”, “”)

And for Google Search console:

REGEXP_REPLACE(Landing Page, “.*[.]com”, “”)

Remember to name them something to differentiate from the default field. I use “Landing Page (no domain).”

When building a report, use these new fields for consistency across the URL structure so that, when you select them when blending data, they’ll match. 

Use this method in the same way as above to get the desired results of pulling in data from across all three connectors to match up with each other! In the end you should be able to find what keyword ranks for what URL, as well as have many sessions or clicks that are brought in as well as goal completions, or any other combination.

Well there you have it! Hope this was helpful to you. If you have any other questions you can comment below or find me on Twitter @ianpfister. Happy reporting!


To help us serve you better, please consider taking the 2020 Moz Blog Reader Survey, which asks about who you are, what challenges you face, and what you’d like to see more of on the Moz Blog.

Take the Survey

Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don’t have time to hunt down but want to read!



- http://monleyhomes.blogspot.com/2020/08/reporting-on-ranking-changes-with-stats.html
from Tumblr https://monleyhomes.tumblr.com/post/627413739098062848

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz.html
from Tumblr https://monleyhomes.tumblr.com/post/627425064935145473

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_25.html
from Tumblr https://monleyhomes.tumblr.com/post/627436393045622784

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_81.html
from Tumblr https://monleyhomes.tumblr.com/post/627447716260216832

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_6.html
from Tumblr https://monleyhomes.tumblr.com/post/627459039723470848

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_43.html
from Tumblr https://monleyhomes.tumblr.com/post/627470363326070784

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_30.html
from Tumblr https://monleyhomes.tumblr.com/post/627481686300672000

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_51.html
from Tumblr https://monleyhomes.tumblr.com/post/627493009299275776

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_26.html
from Tumblr https://monleyhomes.tumblr.com/post/627504333491257344

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_5.html
from Tumblr https://monleyhomes.tumblr.com/post/627515665150099456

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_34.html
from Tumblr https://monleyhomes.tumblr.com/post/627526987063459840

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_15.html
from Tumblr https://monleyhomes.tumblr.com/post/627538313485713408

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_12.html
from Tumblr https://monleyhomes.tumblr.com/post/627549636659429376

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_94.html
from Tumblr https://monleyhomes.tumblr.com/post/627560963117318144

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_96.html
from Tumblr https://monleyhomes.tumblr.com/post/627572283222933504

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_85.html
from Tumblr https://monleyhomes.tumblr.com/post/627583607964303360

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_27.html
from Tumblr https://monleyhomes.tumblr.com/post/627594933436579840

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_9.html
from Tumblr https://monleyhomes.tumblr.com/post/627606257381031936

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_97.html
from Tumblr https://monleyhomes.tumblr.com/post/627617586196201472

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_80.html
from Tumblr https://monleyhomes.tumblr.com/post/627628909639401472

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_67.html
from Tumblr https://monleyhomes.tumblr.com/post/627640233018703872

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_46.html
from Tumblr https://monleyhomes.tumblr.com/post/627651557236817920

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_39.html
from Tumblr https://monleyhomes.tumblr.com/post/627662881456062464

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_10.html
from Tumblr https://monleyhomes.tumblr.com/post/627674206089478144

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_28.html
from Tumblr https://monleyhomes.tumblr.com/post/627685529674235904

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_91.html
from Tumblr https://monleyhomes.tumblr.com/post/627696855934009344

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_24.html
from Tumblr https://monleyhomes.tumblr.com/post/627708181247819776

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_4.html
from Tumblr https://monleyhomes.tumblr.com/post/627719507647053824

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_70.html
from Tumblr https://monleyhomes.tumblr.com/post/627730829101187072

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_33.html
from Tumblr https://monleyhomes.tumblr.com/post/627742154258890752

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_50.html
from Tumblr https://monleyhomes.tumblr.com/post/627753477857263617

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_35.html
from Tumblr https://monleyhomes.tumblr.com/post/627764800984891392

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_29.html
from Tumblr https://monleyhomes.tumblr.com/post/627776125735714816

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_64.html
from Tumblr https://monleyhomes.tumblr.com/post/627787450996195328

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_11.html
from Tumblr https://monleyhomes.tumblr.com/post/627798776528191488

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_79.html
from Tumblr https://monleyhomes.tumblr.com/post/627810100410728448

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_47.html
from Tumblr https://monleyhomes.tumblr.com/post/627821425808523265

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_63.html
from Tumblr https://monleyhomes.tumblr.com/post/627832752664936448

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_7.html
from Tumblr https://monleyhomes.tumblr.com/post/627844074574135296

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_22.html
from Tumblr https://monleyhomes.tumblr.com/post/627855398057230336

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_36.html
from Tumblr https://monleyhomes.tumblr.com/post/627866721670365184

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_48.html
from Tumblr https://monleyhomes.tumblr.com/post/627878048977616896

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_98.html
from Tumblr https://monleyhomes.tumblr.com/post/627889374202298368

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_92.html
from Tumblr https://monleyhomes.tumblr.com/post/627900703737839616

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_62.html
from Tumblr https://monleyhomes.tumblr.com/post/627912029221584897

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_95.html
from Tumblr https://monleyhomes.tumblr.com/post/627923355799044096

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_74.html
from Tumblr https://monleyhomes.tumblr.com/post/627934680134680576

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_53.html
from Tumblr https://monleyhomes.tumblr.com/post/627946004120043520

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_31.html
from Tumblr https://monleyhomes.tumblr.com/post/627957330727829505

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_20.html
from Tumblr https://monleyhomes.tumblr.com/post/627968654935506944

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_49.html
from Tumblr https://monleyhomes.tumblr.com/post/627979981315833856

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_65.html
from Tumblr https://monleyhomes.tumblr.com/post/627991304088993792

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_84.html
from Tumblr https://monleyhomes.tumblr.com/post/628002627387621376

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_59.html
from Tumblr https://monleyhomes.tumblr.com/post/628013949718315008

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_0.html
from Tumblr https://monleyhomes.tumblr.com/post/628025276039872512

- http://monleyhomes.blogspot.com/2020/08/posted-by-ipfister-since-moz_42.html
from Tumblr https://monleyhomes.tumblr.com/post/628036600572559360

- http://monleyhomes.blogspot.com/2020/09/posted-by-ipfister-since-moz-releasedthe.html
from Tumblr https://monleyhomes.tumblr.com/post/628047923946635264

No comments:

Post a Comment

How to Use Chrome to View a Website as Googlebot

The author's views are entirely their own (excluding the unlikely event of hypnosis) and may not always reflect the views of Moz.