Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from 'Universal Analytics' to 'Google Analytics 4' #109

Open
0xdevalias opened this issue Jun 19, 2024 · 1 comment · Fixed by #110
Open

Update from 'Universal Analytics' to 'Google Analytics 4' #109

0xdevalias opened this issue Jun 19, 2024 · 1 comment · Fixed by #110
Assignees

Comments

@0xdevalias
Copy link
Owner

0xdevalias commented Jun 19, 2024

There is a need to update from the old 'Universal Analytics' to the new 'Google Analytics 4':

  • https://support.google.com/analytics/answer/11583528

    • Google Analytics 4 has replaced Universal Analytics

    • https://support.google.com/analytics/answer/11583528#export&zippy=%2Chow-can-i-export-data-from-my-universal-analytics-property
      • How can I export data from my Universal Analytics property?

        There are several ways to export data from your Universal Analytics property:

      • Can I delete my Universal Analytics property?

        Yes. However, deleting your Universal Analytics property may in some instances affect your Google Analytics 4 property. If you reused your Universal Analytics tagging to send data to your GA4 property, deleting the Universal Analytics property may stop data flow to your GA4 property, and you’ll need to set up a new Google tag. Learn more about the Google tag. Proceed with deletion of your Universal Analytics property only if you’re certain you no longer need data to flow to your GA4 property or other configured destinations.

        For Google Analytics 4 properties that rely on Universal Analytics tagging for data collection, there is no additional risk when those Universal Analytics properties are shut down and deleted by Google. Once Google deletes your Universal Analytics property we’ll automatically continue to use your Universal Analytics tagging for your Google Analytics 4 property, however only if your UA tags are still on your website. If you decide to remove your UA tags, you can replace them with a Google tag.

  • https://support.google.com/analytics/answer/10759417

    • [GA4] Make the switch to Google Analytics 4

    • Google Analytics 4 has replaced Universal Analytics. Starting July 1, 2023, standard Universal Analytics properties stopped processing data. (360 Universal Analytics properties with a current order will receive a one-time processing extension ending on July 1, 2024.)

    • Starting March 2023: If you didn't manually migrate your active standard Universal Analytics property to a new Google Analytics 4 property and didn't opt out of an automatic property creation, we created a Google Analytics 4 property on your behalf. Automatically created Google Analytics 4 properties reuse existing site tags whenever possible.

    • Starting July 1, 2023: Standard Universal Analytics properties stopped processing hits, including standard properties in accounts that also contain 360 properties. Some properties continued to process data for a short period after this as we staged the shutdown of Universal Analytics. You'll be able to access your previously processed data in your Universal Analytics property until July 1, 2024.

  • https://support.google.com/analytics/answer/11583832

    • [UA→GA4] How to check whether you have Universal Analytics or Google Analytics 4 (GA4)

    • Universal Analytics property IDs start with UA and end with a number (UA-XXXXXXXXX-1).

    • Google Analytics 4 property IDs have only numbers (XXXXXXXXX).

    • google_analytics: UA-27970144-1
    • <!-- Google Analytics Tracking code -->
      <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', '{{ site.google_analytics }}', 'auto');
      ga('send', 'pageview');
      </script>
    • {% include scripts/analytics.html %}

See Also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant