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
-
What are best SEO plugins for wordpress?
Hi, I hope you are doing well. I want to know what are the best SEO plugins for wordpress website? https://www.myqurantutor.com/
Reporting & Analytics | | Bigbrand0 -
Why would our client's site be receiving significant levels of organic traffic for a keyword they do not rank for?
We have a client that has received 100+ organic visits for the keyword 'airport transfers', yet the site does not rank in the top 100 search results for this keyword. We have checked that it is not untagged PPC traffic. Truly baffling. Can anybody help?
Reporting & Analytics | | mrdavidingram0 -
Does analytics track an order two times by refresh on the confirmation-page?
Hi there,
Reporting & Analytics | | Webdannmark
I have a quick question. Does Google analytics track an order two times, if the user buys a product, see the confirmation page and then click refresh/click or back and forward again?
The order/tracking data must be the same, but i guess the tracking code runs for every refresh and therefore tracks the order two times in Analytics or does analytics know that it is the same order? Someone that can clearify this?Thanks! Regards
Kasper0 -
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 -
Too many links because mega menu within wordpress
I have a mega menu on my website with a lot of product categories. In my site analysis its coming up as a problem because there are too many links and its on every page. Is this something i should worry about or how should i correct it?
Reporting & Analytics | | Inbuilds0 -
Has anyone used pageinvasion as a plugin for wordpress?
Is this a good or bad for SEO and overall increase in business? Does it have negative effects on your relationship with google and other search engines?
Reporting & Analytics | | headeulogy0 -
The client's website serves as the main referral?
Hi mozzers, I have this weird case where one of my client's first referral is its own website!! I am really confused especially that I have checked there www vs non www and the non www is redirected to the www. This means that it resolve to one version which is good! Any thoughts on why the main referral is its own site? Thanks
Reporting & Analytics | | Ideas-Money-Art0 -
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