Client has two Wordpress Folders
-
My client has 2 WP folders (one is the main site, and one was for an added blog, don't ask me why they did it that way).
They sent me the login for Google Analytics, and the first thing I see is 2 profiles, one for the main site, and one for the blog. Doesn't the code in the head of the main page cover ALL the subdirectories too? I could see this if it were a subdomain, but not in a subdirectory.
Thanks in advance.
-
Ahh... good call John. If he wants everything under one analytics roof that's exactly what to do.
-
Ooh, good idea. Let me send an email to the webmaster and ask him to try that...
-
Just a thought. I'm not sure you have to have two separate GA accounts in this case. Since you have two separate WP installs, couldn't you take the code that's on the main domain and also apply it to the /blog/ installation, using whatever plugin you're using?
The main issue you're running into, I think, is that the GA installation on the main site doesn't automatically work for the /blog/ because of two different installations.
-
I was thinking the same thing with the 2 different WP folders... out of my control and I can't see why either.
-
I could be wrong, but I think they are kept separate in that case.
The WP installation in the root directory (the main site) creates the header code for only the pages that WP installation creates - not all pages that happen to be in other subdirectories.
You're right, though I'm not sure why it was done that way? Maybe it was once just WP for the blog? Maybe they wanted to keep the design different?
But I think in this case the GA accounts are kept isolated. Hopefully I've understood the question. You can always just look at the source code or the analytics themselves too to tell.
-Dan
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
-
AMP Session Stitching - How to deal with Google's Client ID AMP Policy
Hello, I recently attended SMX East and the concept of 'session stitching' for AMP was brought up (https://www.stonetemple.com/amp-tech-guide/). I reached out to my development team and they told me they could do it, but that we would need to agree to the new TOS changes and making users aware of then... https://support.google.com/analytics/answer/7486055 Has anyone here done something like this? And if so how did you deal with the Google's Client ID AMP policy? Thank you all! -Margarita
Reporting & Analytics | | MargaritaS1 -
We have a client that wants to apply UTM URL tagging to track local organic traffic in Google Analytics. Is there any benefit in doing this?
One of our clients requested that we apply UTM URL tagging to better track organic traffic in Google Analytics. We found this to be an odd request because we are most familiar with UTM tracking for special campaigns (referral tracking, PPC, email tracking, etc). Is there any benefit of applying UTM tags to urls to analyze local organic traffic in Google Analytics? Are there any resources out there about this? Thanks!
Reporting & Analytics | | RosemaryB0 -
Two Analytics Code
Hi Moz Community! I've been working with a client’s website and found it has 2 analytics code with same ID. I need to understand which one is correct before removing anyone of them, below are the both scripts. First one Second one Any help would be appreciated! Regards, S
Reporting & Analytics | | ShaunPhilips0 -
Domain Sub folder tracking from Google webmaster tool
I have created separate google webmaster access for this sub folder http://lineonebus.com/content/ Original domain http://lineonebus.com/ Search results in webmaster shows no search queries though this subfolder created in wordpress is ranking for some keywords.
Reporting & Analytics | | csfarnsworth1 -
Is it possible to link two Analytics accounts to one AdWords account
Hi Is it possible to link two Analytics accounts that I have admin access to to the one AdWords account in my MCC. Thanks
Reporting & Analytics | | BeattieGroup0 -
Wordpress + Google Analytics = Pulling My Hair Out
Hey Mozzers, Quick question for you- I have analytics set-up for a personal site I run and I know, verifiably it's receiving traffic, however, whenever I access my Google Analytics dashboard, it says I've had zero visits. Interestingly, today I had a colleague check the site from a foreign country and I could see the page views (within 15 minutes), however, I could not get any information about the site viewer. I have verified that the Analytics profile is 'receiving data' (which it is) and my Google Webmaster Tools is not reporting any issues? Finally, I went ahead and updated my profile so that it is pulling from 'www.mydomain.com' instead of 'mydomain.com', I don't know if that'll make any difference, but likewise, I didn't want to go and create the 'little kid in the elevator' analogy, where I'm just pressing a bunch of buttons just because they're there. So the only changes I've made thus far were deactivating Yoast's SEO plug-in and manually placing the GA code in the header and updating the 'Website's URL' in the profile settings tab of GA from 'mydomain.com' to 'www.mydomain.com'. With that, I am stumped and praying another one of the esteemed Mozzers out there may be able to help me resolve this. Any thoughts?
Reporting & Analytics | | NiallSmith0 -
Using Clients GA account for their over all website to Optimize Their Blog? or is there a better way to compare apples to apples
I would like to optimize my clients blog. If I am using their GA account for their over all website but put in the sub folder for SEOMOz, will it detect that I only want to optimize the blog ex. http://xxx.com/blog or will I be seeing the GA for the entire site on SEOMOZ?
Reporting & Analytics | | CliffordC0 -
I have recently switched from a html site to a Wordpress based one...
Obviously all my indexed links have changed. How can I avoid loosing page rank?
Reporting & Analytics | | HeadlandMachinery0