Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Custom Events Not Showing in GA4
-
I have some experience in successfully creating custom events for GA4 via Tag Manager, but I have one account where my events are firing in GTM but not showing at all in GA4 (not real time or anywhere). I have twice done them over and published my changes but still no luck. Any ideas what else the issue can be? There are no internal filters at the moment. Thank you.
-
If you've set up custom events in Google Tag Manager (GTM) and they're not showing up in Google Analytics 4 (GA4), here are a few simple steps to troubleshoot:
Check Configuration in GTM:
Ensure that the tags and triggers for your custom events are set up correctly in GTM.
Verify that the triggers are firing as expected in the GTM preview mode.
Preview Mode in GA4:Use the preview mode in GA4 to check if the events are being received. Open your website, enable the GA4 preview mode, and see if events are triggered.
Real-Time Events in GA4:Check the "Realtime" section in GA4 to see if your events are showing up. Sometimes there might be a delay, so wait a few minutes after triggering an event.
Check Debugging in GTM:Use the GTM debugging console to check if there are any errors or issues when the tags are fired. Look for error messages that could indicate a problem.
Tag Version and Publishing:Confirm that the correct version of the GTM container is published. Sometimes changes might not take effect if the correct version is not published.
Network Requests:Use browser developer tools to inspect network requests. Look for requests to the GA4 endpoint and check if your events are included in those requests.
GA4 Configuration:Double-check your GA4 configuration to make sure you are looking at the correct property, and that the events are not filtered out due to any configuration settings in GA4.
User Permissions:Ensure that your GA4 user account has the necessary permissions to view the events. Check if there are any filters or settings restricting the visibility of events.
Ad Blockers and Browser Extensions:Some ad blockers or browser extensions may interfere with the tracking. Disable them temporarily to see if it makes a difference.
Event Names and Parameters:Ensure that the event names and parameters you are sending match the configuration in GA4. Mismatched names can lead to events not being recognized.
If after going through these steps, the issue persists, it might be helpful to consult the GTM and GA4 documentation for any specific known issues or troubleshooting steps related to your setup. -
If you've set up custom events in Google Tag Manager (GTM) and they're not showing up in Google Analytics 4 (GA4), here are a few simple steps to troubleshoot:
Check Configuration in GTM:
Ensure that the tags and triggers for your custom events are set up correctly in GTM.
Verify that the triggers are firing as expected in the GTM preview mode.
Preview Mode in GA4:Use the preview mode in GA4 to check if the events are being received. Open your website, enable the GA4 preview mode, and see if events are triggered.
Real-Time Events in GA4:Check the "Realtime" section in GA4 to see if your events are showing up. Sometimes there might be a delay, so wait a few minutes after triggering an event.
Check Debugging in GTM:Use the GTM debugging console to check if there are any errors or issues when the tags are fired. Look for error messages that could indicate a problem.
Tag Version and Publishing:Confirm that the correct version of the GTM container is published. Sometimes changes might not take effect if the correct version is not published.
Network Requests:Use browser developer tools to inspect network requests. Look for requests to the GA4 endpoint and check if your events are included in those requests.
GA4 Configuration:Double-check your GA4 configuration to make sure you are looking at the correct property, and that the events are not filtered out due to any configuration settings in GA4.
User Permissions:Ensure that your GA4 user account has the necessary permissions to view the events. Check if there are any filters or settings restricting the visibility of events.
Ad Blockers and Browser Extensions:Some ad blockers or browser extensions may interfere with the tracking. Disable them temporarily to see if it makes a difference.
Event Names and Parameters:Ensure that the event names and parameters you are sending match the configuration in GA4. Mismatched names can lead to events not being recognized.
If after going through these steps, the issue persists, it might be helpful to consult the GTM and GA4 documentation for any specific known issues or troubleshooting steps related to your setup.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What's Causing My Extremely Low Bounce Rate
My client's site that is reporting an under 10% bounce rate for all sources. Direct is the highest at 8%. I'm no expert in GA but wondering if there is a problem with the analytics/tag manager code on the site. I'm especially concerned about the GTM body script being in an iframe which I read could be trouble. <!-- Google Tag Manager (noscript) -->
Reporting & Analytics | | bradsimonis
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MWGMNW6"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> You can see all the source code here:
view-source:https://nfinit.com/0 -
Fire a tag when element is loaded on page (Google Tag Manager)
I'm using an Element Visibility trigger to track a value that appears on a page. However, I want to track this value even when the user doesn't scroll to the area of the page where the element is (i.e. when the page is loaded, and the value is displayed below the fold, but the user doesn't scroll down there). Is there a way of doing this
Reporting & Analytics | | RWesley0 -
How does Google Maps/G+ traffic show up in Analytics?
Hi Moz Community, I've been trying to figure out how traffic from Google Maps (and G+) shows up in Google Analytics and am struggling to find a good answer online. If someone finds a business through Google Maps and then clicks on the website in the Maps listing, does that show up as a referral from Google Maps? Our site shows virtually zero traffic from Google Maps even though we have a number of listing. Two related questions: if someone clicks through to a G+ page from a Maps result and then visits our website from the G+ page, does that show up in Analytics as a referral from G+? Is traffic from Google Maps or G+ ALSO counted as organic traffic? (Would it be possible to accidentally double-count a visit as both organic and a referral from Maps/G+? Thanks everybody!
Reporting & Analytics | | JohnGroves0 -
Google Analytics Goal/Event/SOMETHING to show only Wordpress "Posts", not pages, etc
Hi all, Our site is build on Wordpress and formerly the post URL's had the typical date format at the beginning. This made it easy for me to look at, for example, all search traffic to the blog. I would just view URL's containing /2014/ and /2015/ and boom. We have since removed the dates from the URL's with proper redirects etc, which is great, but now I can't figure out a way to look at ONLY the blog in GA. I like to track a KPI of 'search visits to blog posts' and I can't figure out how to now. Can I set up a GA event that only fires when the post type template for blog posts loads? Some other solution? I'm lost here, and there's gotta be a good way to do it...
Reporting & Analytics | | 3DR0 -
Google SERP showing a URL with UTM_source attached - why? Can I stop it?
I just found a Google search results page showing a URL with a UTM source tag attached. Any idea how or why this has happened? How can I stop it as I'm guessing this is overwriting my organic visits with referrals from this site. See attached photo for pic of SERP page. The link is going here: http://employment.govt.nz/er/holidaysandleave/parentalleave/?utm_source=newzealandnow.govt.nz 5vxTDTi.png
Reporting & Analytics | | DanielleNZ0 -
Google Analytics shows most referrers as "Direct" -- What are some better tools?
Very often Google Analytics will show 50-90% of our referrers as (direct) which is not very helpful. Are there other tools out there that will provide a clearer breakdown of what other websites are sending us our traffic? Specifically, I want to be able to be able to tell who are the top traffic referrers to my top performing pages on my site for the last 30 days. (I want to be able to study this on a per-page basis.) Thanks in advance!
Reporting & Analytics | | Brand_Psychic0 -
Why is Google Analytics showing index.php after every page URL?
Hi, My client's site has GA tracking code gathering correct data on the site, but the pages are listed in GA as having /index.php at the end of every URL, although this does not appear when you visit the site pages. Even if there is a redirect happening for site visitors, shouldn't GA be showing the pages as their redirect destination, i.e. the URL that visitors actually see? Could this discrepancy be adversely affecting my search performance? Example page: http://freshstarttax.com/innocent-spouse/ shows up in GA as http://freshstarttax.com/innocent-spouse/index.php thanks
Reporting & Analytics | | JMagary0 -
Stats show /blog/wp-cron.php at the top. What is it?
Hi, I have worked with websites for years but have no clue when it comes to Wordpress. We have our main website and then a Wordpress blog running in a subfolder that is only about a year old. The blog has only 7 posts so you can see how small it is vs main website with 200 pages. Usually our main index page of the site is at the top of the stats with the most views and this page /blog/wp-cron.php is about 30% lower. Now suddenly over the last month this page has jumped to the top and accessed almost as much as the home page of the site. We took a big hit with the latest Google Update so we are tyring to determine if there is anything technical in our site that has caused an issue. Thanks in advance Force7
Reporting & Analytics | | Force70