Connecting a Universal Analytics property to GA4

If you're running the new Google Analytics 4 and don't have the old Universal Analytics running alongside it, you’ll need to create a UA property, which we use to build your AdThrive dashboard. 

Google defaults to GA4 for new properties. When setting up a new property, click "Show advanced options," then choose between creating both a GA4 and Universal property or just a Universal property.

image8.png

Create another property and choose the option to create a Universal property under the advanced options. 

Then, replace (or edit) the existing GA script on your site with the following code, making sure to insert your own UA and GA4 IDs:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-XXXXXX');
  gtag('config', 'G-XXXXXX');
</script>


Wait 24 hours before completing your application and connecting the new Universal property so the data has time to populate. Once your application is submitted, our ad partners let things track for a week to use the updated data for review.

Was this article helpful?
1 out of 2 found this helpful
Have more questions? Send a message

Want to join AdThrive? Apply here!