How to enable Google Analytics for Datawrapper visualizations | GA4
To track how often your visualizations are viewed, you can include a Google Analytics tracking script in your published visualizations. This is a free feature for every Datawrapper user.
This article explains how to enable our Google Analytics integration.
⚠️ If you're still using Universal Analytics (and a Tracking ID that begins with UA- ), we recommend that you migrate to Google Analytics 4 before July 1, 2023, when Universal Analytics will stop processing data. You will still be able to use Universal Analytics Tracking ID for your Datawrapper integration which is explained in this article.
How to find your Google Analytics tracker
To activate this Datawrapper integration, you first need a Google Analytics account and the Measurement ID that comes with it. Here's how to find it:
Visit analytics.google.com. In the bottom left corner, click on Admin:
If you don't already have an account, create one. Then go to Property, click on Data Streams and choose a platform and follow instructions to create a strea
In your Stream details, you'll find a Measurement ID. It will always start with "G-..."
How to activate the Google Analytics integration in Datawrapper
Go to your settings ( app.datawrapper.de/account/teams) and then select the team you want to enable the integration for. In our case, that's Newsroom A:
This will bring you to the settings for the selected team. Here, select Integrations on the left:
And now scroll all the way down on the Integrations page, until you see the words Google Analytics. Enable the integrations with a click on Enable Google Analytics integration, then add your Measurement ID:
If you entered a valid ID, Datawrapper will tell you that "✓ All visualizations published by your team will now include the tracking script."
Where to find your chart views in Google Analytics
Once you've created a Measurement ID and set up the Google Analytics integration in Datawrapper, all visualizations that are published inside your team can now be tracked with Google Analytics. The tracking can be added to those that have been published or republished after enabling the GA integration so if you want to track old charts you've created in the past, you'll have to republish them again.
To see how often your charts are viewed, click on Reports snapshot or Real-time menu in the left panel:
To learn more about reports, go to Google Analytics support page.
If you have any problems setting up our Google Analytics integration, don't hesitate to get in touch with us at support@datawrapper.de.