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
-
Client Dashboard Options
My company is an agency, and we manage many SEO Campaigns. I love the reports, but I'd really like to add an online dashboard that my clients can login to and see the same up to date stats as I do in Moz Pro. I can't do it with Seats because you can't limit a seat to a specific campaign (as far as I know). Has anyone found a solution for this?
Reporting & Analytics | | bizmarquee3 -
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 -
Two of Four Google Analytics Views Not Showing Data
Question for you MOZ friends: We added two new views about a week ago, the same views that we have added for more than 50 Accounts, and they are not showing any data. The views are for 'Filtered Traffic' (no IPs or spam) and 'Organic Only' including only the organic medium. Any ideas why this may not be working? First time we've come across this and couldn't find much help researching it... Thanks as always! street%20ga_zpsorfdnemi.png
Reporting & Analytics | | ReunionMarketing0 -
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 -
Is It Possible to have Cross Domain Tracking on Two Different Accounts?
Good afternoon to all, I have this kind of dilemma regarding setting up tracking code on two different accounts, namely bioglass.com with GA Code UA-12345678-1 where all the product information has been listed and shopbioglass.com with GA Code UA-87654321-1 where the prices are located and transaction takes place. Both of them are connected since if you click the buy button on bioglass.com for a specific product, it will automatically redirect to shopbioglass.com where the prices and transactions comes into place. Dilemma: I want to check how many conversion took place from bioglass.com to shopbioglass.com. I know they have different GA Code but is it possible for me to have a cross domain tracking for this?? What are the possible remedies if not? Thanks to all 🙂
Reporting & Analytics | | TWSOM0 -
How to turn on persistent urls in WordPress?
I'm using an appointment form on my website and I have the option to add a referral url to form submissions so that i know which pages the form submission came from. I need to be able to distinguish between organically generated form submissions and those that come in via AdWords. If referral url shows the AdWords tracking code i know the form submission came in from AdWords. My problem is that when a visitor comes in after clicking an ad and then visits another page on my website that AdWords tracking code disappears from the url. I was told that there was a way to turn on persistent urls in WordPress but I can't figure out how to do it. I'm assuming that if i turn persistent urls on the AdWords tracking code will remain on every subsequent url that they visit on my website. Is this true? Any help with this will be greatly appreciated.
Reporting & Analytics | | SpaMedica0 -
Deleting Wordpress Labels
When I delete a labels how do I prevent crawlers form tagging these as not found? Tried a word press 301 redirect, didn't help....help! I've got 1,000's of these errors from removing excess tags and labels from my blog.
Reporting & Analytics | | AmazingUniverse560 -
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