Anyone know how to switch environments in Google Optimize.
currently google optimize is set to a production environment mySite.com.
Do I need to create a new account for my dev environment by editing container information, or can I just edit the property name under Google Analytics to match my Dev Analytics ?
Container setup >
Container information
mySite.com
XXX-xxxxxxx
Google Analytics
Property
myWebsite
XX-xxxxxxxxx-xx
Views
Master View
Related
My company manages several websites for clients. We build Wordpress sites and manage them all on Flywheel. Whenever we make a new website, we typically duplicate an existing site so that we can reuse some general settings. I recently found out that the Google Site Kit plugin has been getting duplicated, along with its existing settings, so that multiple separate websites have been pointing to the same google analytics account. Because they are all pointing to the same account, the Google Analytics account is just tracking slugs, thinking all traffic is coming from the same base url. Now all traffic on common pages, such as Home, Contact, and About are being clumped together, highly inflating the numbers of what traffic would be on any one of the sites. Is there a way to separate the data by base url, so I could see accurate data for each site?
In that case what you'll need to do on the sites with the same property is revisit the Site Kit settings and connect to the correct Google Analytics property (and Tag Manager / AdSense if applicable).
Note also that if your site URL changes Site Kit does recognize this, asking users to connect once more on the new domain. If you then connect on the new site you'll need to change the connected Google Analytics property.
Going forward, before you duplicate a site that has Site Kit active you can disconnect the Google Analytics, AdSense and Tag Manager modules before duplicating, before connecting once more after copying. Alternatively you can reset Site Kit before duplicating. Resetting will mean you'll need to connect all services once more (after duplicating).
Hopefully the above helps.
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!!
I'm facing a problem that none of the google tags fire on the website.
For example, this is what I see in the page view event
google analytic tag not firing successfully
FYI: This is the setting of my Google Analytics variable:
Google Analytics Setting Variable
Here is the webpage link: https://www.canfitpro.com/convention-2020/
I'm wondering if anyone knows what is happening here and how to fix it? Thanks a lot for the help!
The subdirectory install of WP that you linked to when checked with tag manager is showing a different GA tracking ID in place to that in the screenshot of your GTM GA Settings Variable, and seems to indicate it is not firing pageviews via a tag in GTM. Tag Assistant is indicating a Universal Analytics tracking code snippet for UA-110328630-1
Initializing Google Analytics.
analytics_debug.js:25 Running command: ga("create", "UA-110328630-1", "auto")
analytics_debug.js:25 Creating new tracker: t0
The main website installation https://www.canfitpro.com shows the install of the same GTM container and does indicate pageviews firing for via GTM
Initializing Google Analytics.
analytics_debug.js:25 Running command: ga("create", "UA-110328630-1", {name: "gtm1"})
analytics_debug.js:25 Creating new tracker: gtm1
Did you refresh the GTM container after making changes in it, so that debug and preview mode in GTM would acknowledge the changes?
If you have published the container with the changes, have you flushed the site cache for whatever site caching is being used?
Alternatively, in some instances where a GA installation is restricted to a subdirectory, you will need to set cookiePath to the subdirectory. Which would be done in the GA Settings Variable under Fields to Set option
By default, Google Analytics sets the cookie path to the root level
(/). In most situations, this is the appropriate option and works
correctly with the tracking code you install on your website, blog, or
corporate web directory. However, in a few cases where user access is
restricted to only a sub-directory of a domain, this method can
resolve tracking issues by setting a sub-directory as the default path
for all tracking.
https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs#cookiepath
From your first screenshot I see that you have true value for 'Enabled overriding settings in this tag'. To prevent your Google Analytics Settings variable from being overwritten you should remove that tick from the Analytics Tag.
However it is very strange that you see {}, it may be that you have a second Google Analytics Settings variable that you have created but that is empty and you have incorrectly associated it with the tag instead of the good one.
I am trying to add google analytics to a project that is located under a subdomain. The subdomain has been was pointed to my my project by the domain owner, so I do not have access to the domain itself.
When I add the tracking code the status (shown under Property > Tracking Info)
Status: Tracking Not Installed
Last checked: 04-Jan-2014 00:00:05 PST
The Google Analytics tracking code has not been detected on your
website's home page. For Analytics to function, you or your web
administrator must add the code to each page of your website.
Is there any way to verify the tracking code is installed on the subdomain without having to access the domain root?
Although the tracking status is uninstalled, I am getting activity in Standard Reports > Realtime.
Does this mean that it is working despite the status report?
Am I likely to get correct tracking information with this setup?
You do not need access to the root domain and if the realtime statistics track traffic then most likely your GA setup works correctly. Most likey you did not implement the code at the place in the source code where Google expects it (which usually works but is still flagged as an error in verification).
If you use Google Chrome as browser you can additionally use two nice extensions to verify that your setup is correct:
Google Tag Assistant - verifys various Google Tags without mch detail
Google Analytics Debugger - provides some detail which data is sent to google, which plugins (e.g. ecommerce) are loaded by the analytics code etc.
So let me rephrase and give a bit more detail. So basically I have a single site but I run the site in a production and UAT environment, separately. The production website uses Google Analytics and the UAT does not and my current development workflow is dev -> uat -> production. I do not want the analytics to be active for UAT, so I have a choice of either removing the script tags when the site is moved from uat to production or to build logic that will render the scripts when the Google Analytics is required.
I don’t understand your request, but if you are going to install the tracking code Past all your tags to the production website. You can use manual tagging or Google Tag Manager.