Cannot get Google Analytics (GA4) Realtime to Work - wordpress

Hello Community!
A friend hired me for SEO implementation and a re-design for his website ( https://intercosultores.net). Among these implementations comes the integration for Google Analytics, GA4.
For Context:
The site has been mounted on Wordpress and previously he had used Google Ads for his website, that's why he inserted a Global Site Tag and a Remarketing Tag with a snippet plugin to add these.
The issue is:
I've created a property for this website within Google Analytics and created a standard Data Stream as I've always done for any other web, copied the Global Site Tag and placed it in the head tag of the website as usual. The problem is, after a while, I'm still not able to view any realtime users even if I'm navigating in it and blocking my ID is not a setting so I should appear. (I'm not using any ad-blocker of any sort which could interfere with the script)
I've tried other options to mounting the GA tag such as through Google Tag Manager and still the same result. Also through the Jetpack pluggin for wordpress which only asks for the Measurement ID and still the same result...
Could there be a problem with the GA Tag and the Global Site Tag from Google Ads?
By the way, the google ads account is of my client, my plan as it has worked before is to set up the property of Analytics and then transfer it later on (we have that trust) but I don't know why this simple task is having such a persistent issue.
Thanks in advance for any advice, really appreciate it!!

Related

Google Tag Manager for iframe

Does anyone know how to deploy Google Tag Manager succesfully in an Iframe?
I am working on the JavaScript widget for external partners which will be embedded on their websites as an iframe.
I want to track some of the events in my widget with Google Tag Manager which sends collected data to Google Analytics. I went through the whole configuration and set up some of the first triggers and events. For testing purposes, I put my iframe with the source code to my widget on one of the clients' websites. When I use a Google Tag manager for debugging my tags I can see all of my tags being fired and working correctly as they should from that iframe. Unfortunately, when testing it on the website without the debugger, none of the events appear in Google Analytics. Since I am the creator of the widget and I have full control over my source code what could be the reason for those events not being registered to Google Analytics but still being fired in the debugger? I went through the documentation of Google Tag Manager, and it says clearly that I can track my iframe if I have the access to the source code to configure it.
Any help and insight will be very appreciated here, did anyone faced a similar problem, and what could be the possible solution?

Google Tag Manager not including Universal Analytics

I have a site that the Tag Assistant extension shows is loading GTM, but not our Universal Analytics code. What is strange about this is, this site has the same URL structure as all of our other sites. I exported a known working container and imported into this site, changing only the Universal Analytics variable, and it still doesn't work.
Even stranger. When I open preview mode from GTM, it shows everything firing as it should: Universal Analytics and Data Layers. We offer a cookie-cutter white-label solution in our industry and this same setup works for all other customers.
I've published again. I've wiped out the container and rebuilt it.
Any ideas about what to look for?

Google tag manager - multiple tags detected, is this correct?

I've just replaced my google analytics tag with a Google Tag manager installation integrated into GA. When I inspect my page with Google Tag assistant I see the installation of tag manager and 2 GA tags, is this correct?
I only have 1 GA property setup, is there a reason I'm seeing a second one?
There are many third-party widgets or plugins such as comment boxes or forms that use Google Analytics to track user interaction with their plugin. Considering the fact that the two Google Analytics Id's are from different accounts, this seems like a plausible reason.
To check this, copy the GA Id in question, view the page source, and search, (cmd+F) for the Id in the code. If this is the reason, the GA code will likely be embedded with the widget's code.

Implementing Google Analytics and Google Tag Manager tracking codes on a Wordpress site with Personal plan

I have a Wordpress website and have the Personal plan.
My goal is to implement the tracking code of the Google Tag Manager on each site.
When I am on the Wordpress site in the HTML view, I should be able to paste one tracking code as close to the opening <head> tag as possible on every page of my website but this is not possible.
That´s why I had a talk with somebody from the Wordpress Support team and their answer was the following:
I believe the code for Google Analytics is meant to go in the header of the site. Since WordPress.com is a fully managed environment, we don't have access to the header code.
Instead, we have a built in Google Analytics option available as part of the Business upgrade.
The issue is I don´t want to spend 25$ a month just to have Google Analytics integrated on my website. There must be also a way for somebody like me with a Personal plan to implement the tracking codes.
When I tried to implement them, they were not hidden on the website which should not be the case (because "hidden" is in the code).
Did anybody of you have the same issue like I am facing?
P.S.: There are also Plugins for Google Analytics but with my plan I can´t upload any Plugins. :/
I integrated the code on a text widget. It worked just fine. If you dont give title to the widget, its even completly invisible. so dont spend unecessary money

Does Google Analytics by MonsterInsights wordpress plugin insert tracking code automatically or does it just fetch the analytics data?

Here's what I did,
Installed Google Analytics by MonsterInsighs plugin on WordPress
site.
Authenticated and Connected the plugin to use corresponding Google
Analytics Property
I have not manually inserted any tracking code on my site. I am under the impression that the tracking code insertion is (and should be) the task of MonsterInsights plugin. With that strong supposition, I cleared the cache on Site CDN and Site Server to check if the tracking code is inserted. The three verification methods I used are;
Verification through Google Tag Assistant Chrome Plugin
Verification through Google Analytics Debugger Chrome Plugin
Manual Verification by Viewing Page Source
Ther are no errors in the plugin page. None of the methods have indicated the presence of tracking code. You can have a look yourself at https://techmars.org
PS: All of these activities are very recent i.e. It has just been an hour. Does it usually take some waiting? I haven't encountered such a prerequisite anywhere.
MonsterInsights automatically adds the tracking script. It appears to have done so on your site. The only time it would require waiting is if you were to use some sort of page caching that needs to clear for new frontend output tags to show.

Resources