This is a full guide on how to set up Google Analytics 4 (GA4) and connect it to RebelMouse’s
Stats Dashboard.
Create a Google Analytics Account
First, you will need to set up a Google Analytics account. If you already have one, move on to the next step, unless you want to create a separate account for your particular website or app. For example, you may want to create another account if this website or app belongs to a separate business.
In
Admin, in the Account column, click Create Account.
Then, provide an account name and configure the
data-sharing settings to control which data you share with Google.
Click
Next to add the first property to the account.
Create a Google Analytics 4 Property
You need to be assigned to the
Editor role to add properties to a Google Analytics account. If you created this account, you automatically have this permission.
To create a property:
Are you continuing from the "Create a Google Analytics Account" step above? If so, skip to Step 2. Otherwise, under the Admin tab, look at the Account column to make sure that you've selected the right account. Then, in the Property column, click
Create Property.
Enter a name for your website, and select the reporting time zone and currency. Time zone determines the day boundary for your reports, regardless of where the data originates. If you have a Universal Analytics (UA) property from before, it’s suggested that you match the time zone to the UA property's time zone.
If you choose a time zone that observes daylight saving time, Google Analytics automatically adjusts for time changes. Use Greenwich Mean Time if you don't want to adjust for daylight saving time.
Changing the time zone only affects data moving forward. If you change the time zone for an existing property, you may see a flat spot or a spike in your data that is caused by the time shift forward or backward, respectively. Report data may refer to the old time zone for a short period of time after you update your settings, until Google Analytics’ servers have processed the change.
Click
Next. Select your industry category and business size.
Click
Create and accept the Google Analytics Terms of Service and the Data Processing Amendment.
Add a Data Stream
Inside your GA4 property, navigate to the Admin tab. Then select
Data Streams. Click Add Stream.
Click
Web.
Enter the URL of your primary website, e.g., "example.com,” and a stream name, e.g. "Example, Inc. (web stream)."
You have the option to enable or disable
enhanced measurement. Enhanced measurement automatically collects pageviews and other events. Once the data stream has been created, you can always go back and individually disable the enhanced measurement events that you don’t want to collect. So we recommend that you enable enhanced measurement now.
Click
Create Stream.
Set up Data Collection to Your RebelMouse Website
Copy your G-ID from your GA4 data stream as shown below. Your G-ID appears in the upper-right corner.
Then, add your G-ID to your RebelMouse Stats Dashboard.
Once you are logged in to your RebelMouse dashboard, navigate to the Third-Party Analytics tab in your Stats Dashboard.
You can access it by adding the following to the end of your site’s home page URL:
core/dashboard/stats/thirdparty. You can also navigate to this page by clicking on the hamburger icon (☰) and selecting Stats Overview. Then, click the Third-Party Analytics tab.
Paste your G-ID into the Google Analytics v4 field. Click
+Add.
This update can take up to 48 hours to start reflecting in Google Analytics. You can then use the
Realtime report to verify that you're receiving data.
Advanced Configuration
The more data you have, the better decisions you and your team can make. In case you used custom dimensions or events, you’ll need to reconfigure the code in RebelMouse’s Layout & Design Tool to match the new format Google requires, or to make changes in your Google Analytics dashboard.
With the move to GA4 and Google tag (
gtag.js), you or your technical developer need to make sure that your old custom setup is translated into the latest code. Google has prepared instructions here.
Migrating RebelMouse Custom Dimensions in GA4
RebelMouse supports eight custom dimensions that are ready to use out of the box:
Author
Primary Section
Tags
Publication Date
Layout
Primary Tag
Post ID
Logged In/Out
In GA4, these custom dimensions will be translated as custom parameters. In order for these RebelMouse custom dimensions to also appear in GA4 reporting, we need to configure them inside GA4 as custom definitions.
Please follow the steps below 24 hours after connecting your GA4 ID to your site. This will ensure that data has flown in properly.
Take inventory of the custom dimension index numbers inside your UA by going to your UA property and navigating to the Admin tab. Click
Custom Definitions, then select Custom Dimensions.
Here are the notes from our example above:
Author = dimension1
Primary Section = dimension2
Tags = dimension3
Publication Date = dimension4
Layout = dimension5
Primary Tag = dimension6
Go to your GA4 property. Select
Configure and then Custom Definitions. Click Create Custom Dimensions on the right-hand side.
Create the custom dimensions according to your notes from Step 1.
Input the dimension name and event parameter.
Choose “Event” for the scope and click
Save.
For example:
Repeat Step 3 for all of the other custom dimensions applicable to your UA setup.
Once saved, you should be able to see RebelMouse custom dimensions as secondary dimensions below.
Go to your GA4 property and select
Reports. Click Acquisition and then select Traffic Acquisition. Click on + button next to “Session Default Channel Grouping.”
Click
Custom (Event-scoped) and you should see your custom dimensions:
Adding Event Category, Event Action, and Event Label as Custom Dimensions
Events from UA have an Event Category, Event Action, and Event Label. In GA4, they will be translated as Event Parameters.
If you would like to see this information in your GA4 reporting, you’ll need to add them as Custom Dimensions.
To do this, navigate to your GA4 property. Click
Configure, then select Custom Definitions. Click Create Custom Dimensions.
Then, add Event Category (event_category), Event Action (event_action), and Event Label (event_label) as custom dimensions. Click
Save.
Connecting GA4 to Search Console (Optional)
In GA4, there is an option to link Google’s Search Console (GSC) to your GA4 property. This allows users to see the performance of organic search queries within the acquisition overview.
To enable this, you require Editor access to the GA4 property and verified GSC access, not delegated access.
To do this, navigate to the Admin tab of your GA4 property. Select
Search Console Links.
Click the
Link button in the upper-right corner.
Click the
Choose Accounts button on the right-hand side, and choose the matching GSC account for the GA4 property.
Select the matching web stream of the GSC account. Click the Next button. Then, select Submit.
Events in GA4
Since GA4 is fully driven by events, it’s important to remember that everything now becomes “Event Parameters” and “User Properties.” Events are identified by their “Event Name.”
The translation works as follows:
Event Action becomes an Event Name in the GA4 property.
Event Category, Event Label, and Value become parameters in the GA4 property.
Limits on parameters are detailed as follows:
Event Parameters
Parameters can be used if you want to send information along with an event beyond what is sent by the automatically collected parameters. Any parameters you collect are available for audience definitions and in Google’s BigQuery.
Please note that if you think that your “action” parameter does not fit its new purpose, it might be a good opportunity to give it a meaningful name.
In a GA4 property, the custom dimensions and metrics use case is implemented in a different way. Custom dimensions and metrics measurements in a UA property implemented via analytics.js need to be reimplemented as parameters in a GA4 property.
If you use the set command, every subsequent hit will carry the dimension and its value.
GA Custom Events Translated to Layout & Design Tool
In order to search for all the calls to the deprecated ga() method in Layout & Design Tool, we recommend that you first delete all of your A/B tests that are not being used.
For non-post page layouts, remove non-live A/B tests from all non-post page layouts, unless a page has split A/B testing, in which case remove only the non-live A/B tests that are not included in the split A/B testing.
For post page layouts, remove all of the non-live A/B tests that have no posts in Layout & Design Tool.
Then, after you have cleaned up your Layout & Design Tool, search for the actual ga() calls using the advanced search function. Search for
JavaScript and input “ga(“ into the Code field using the contains method.
Remember that ga() calls can also be made from Custom HTML elements, so search for those as well.
The search results page will show all of the appearances of ga( in either Custom HTML or JavaScript elements.
Each appearance will have to be replaced with the new format following the instructions
provided by Google.
GA4 Tracker in Feeds
A lot of our publishers distribute their content using RSS Feeds, and some of them require adding a tracker to see the performance of that content. For example, some clients use
SmartNews to reach new audiences.
To add a new G-ID into custom feeds, please reference the following example to see how we configured SmartNews for one of our clients.
Go to your feed. Add this to the URL of your home page to quickly access RebelMouse’s
Feed Builder: /r/dashboard/feed_builder
Click the
Edit icon. You will see the code for your SmartNews feed.
Find the line that starts with “snf__analytics: print(”
Add the following code snippet to the field that reads “Here you will insert your GA code.”
Update the MEASUREMENT ID with your new G-ID that starts with “G-.” There should be two of them, and it should look like the following:
Click the
Save button in the bottom-right corner.
If you want to track GA4 and UA data in your SmartNews feed, follow all of the steps described above. Then, after you’ve finished those steps, add the same code, but with the UA measurement ID after your code with the GA4 ID.
It should look like the following:
If you have any questions about GA4 or RebelMouse’s integration, please email
support@rebelmouse.com or talk to your account manager today.
Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:
Why RebelMouse?
Unprecedented Scale
RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.
120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User
Today's Top Websites Use RebelMouse
Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.
What Clients Say
We’re here to help you weigh and understand every tech and strategic decision that affects
your digital presence. Spend less time managing everything yourself, and more time focused on
creating the quality content your users deserve.
From start to finish,
RebelMouse blasted away our expectations!
Kelley Beaucar Vlahos
Editorial Director
Responsible Statecraft
RebelMouse
brings the strengths of a large publisher (large datasets, expertise, lessons learned from trial and error, close
relationships with search and ad platforms) to smaller publishers. During the build and launch, the team went above
and beyond to ensure we were happy with the new site, and
they flawlessly migrated over 20,000 articles. I can't recommend them highly enough.
Ryan Koo
CEO
No Film School
I love the control panel. Awesome work. I have to say, what an amazing creative team RebelMouse is. I am so grateful!
Terrence O'Hanlon
Founder and Chairman
Reliabilityweb
It’s like we’ve been riding horses to commute all our lives and someone just showed us a Tesla.
Brendan Farley
Vice President, Product Management
Strada Education Network
Thanks to RebelMouse, United doesn’t have to sacrifice great content for speed. You can have both!
Ryan Bujeker
Director, Social Media Strategy & Digital Engagement
United Airlines
We're in a much better position to make it through the current crisis in part due to RebelMouse and their platform.
We've not only saved on overhead costs, we've more easily optimized our traffic with their smart measuring and SEO
tools, as well as their social integrations.
Jill Braff
President/Chief Operating Officer
Brit + Co
THANK YOU for all the good, fast work you put into making our public rollout such a big success. I know we threw a lot
at you very quickly, but you were calm under pressure and pulled it all off perfectly. Very glad to be working with
you all.
Tim Grieve
Executive Editor
Protocol
So inspired and impressed by these results from RebelMouse. Check them out and ask Andrea Breanna how they got there!
Just goes to show that spending millions doesn't necessarily get you to the right destination. It's spending no more
than you need on the right technology with the right platform that does! 🌐💙🏎️
Andrey Lipattsev
Partner Development Manager
Google
It is not often I jump out of my chair and scream in a positive way, but I just did! This is the happiest I have seen
my Managing Editor in 2021! Thank you.
Nick Smith
CEO
Investing News Network
Working with RebelMouse is an actual treat. From the CEO down, every single member of the team has partnered with us
to meet our needs. Everyone willingly (and with endless patience!) shares their expertise and insights to ensure we
optimize search and create a great audience experience. As we have implemented the various search tactics, positive
results are almost instantaneous. Training our content creators has been simple. The system is incredibly user
friendly. As a co-worker commented, "RebelMouse doesn't just sell you something, they partner with you to deliver
exactly what you want." I couldn't agree more!
Emma Schofield
Director of Change Management
Investing News Network
We continue to be huge fans of RebelMouse and envision a very long-term relationship with the platform. The service
has been impeccable.
Douglas Fischer
Executive Director
Environmental Health News
I am a HUGE RebelMouse fan, and basically tell everyone I meet who's looking to overhaul their website to get in touch
right away.
Susan Hassler
Editor Emeritus
IEEE Spectrum
Every member of the RebelMouse team, but especially our project team, are superstars! Our site launch on the platform
met all our expectations and we love the technology. We are positive about the future of our site and look forward to
improving our approaches and processes with RebelMouse's guidance!
Terrence O'Hanlon
Founder and Chairman
Reliabilityweb
RebelMouse's Layout & Design Tool is one of the most comprehensive and flexible tools I have ever used of any CMS.
Their product team is also extremely helpful and constantly supports to make sure your properties are up to date and
use the best industry standards, especially in terms of page speed.
Chuck Lapointe
CEO
Narcity Media
The best thing about RebelMouse is how much they care about their customers. When working with them, I always get a
sense that they go above and beyond for their customers. When working with the RebelMouse team, I very much consider
them to be a partner, rather than just a vendor. Upon migrating to their technology, we have seen tremendous
improvements in many key areas, particularly technical SEO. They have out-of-the-box functionality that is
tremendously helpful to customers. At the same time, their system is flexible enough to allow us to adapt it to any
new business needs that we have.
David Nguyen
Senior Director of Digital Marketing
Investing News Network
RebelMouse has shepherded us through the modernization phase, and has been keen, practical, and nimble throughout the
entire journey. They have helped modernize our website through an infinite scroll setup that allows us more
advertising real estate while creating more time on site to capture reader engagement. Plus, the RebelMouse team has
helped educate our own team on the various aspects of programmatic advertising and worked to best implement them.
Premier Guitar joining forces with RebelMouse in 2020 was one of the best choices we could have made!
Luke Viertel
Digital Strategist
Premier Guitar
RebelMouse has stepped up our content management process by providing a user-friendly interface, robust customization
options, and seamless collaboration tools. The platform's analytics and reporting capabilities have empowered us to
make data-driven decisions, while their exceptional customer support ensures any issues are promptly addressed in a
professional, respectful, and friendly way!
RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.
Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.