How to Setup Google Analytics 4 on WordPress Website
by Motassem Billah
- Step 1
Click Admin after login into your analytics account
- Step 2
Click Create Property
- Step 3
Click Property name
- Step 4
Enter Property name
- Step 5
Click Select one
- Step 6
Click Food & Drink
- Step 7
Click where you see the pulse
- Step 8
Click where you see the pulse
- Step 9
Click where you see the pulse
- Step 10
Click Web
- Step 11
Click Website URL
- Step 12
Enter Website URL
- Step 13
My Website
- Step 14
Click where you see the pulse
- Step 15
Click SAVE
- Step 16
Click Create stream
- Step 17
Click Global site tag (gtag.js) Use this if you're using a website builder or CMS-hosted site
- Step 18
Click <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-11X48RB5GT"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-11X48RB5GT'); </script>
- Step 19
Copy the gtag.js and paste that code to your wordpress website <head> section
Description:
By the help of this recipe you will be able to configure GA4 for an WordPress website
Total steps:
19
Time to complete:
4 min
Explore More Guides
💪
Do more, in less time.
Shortcuts for everything on the internet.