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
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
-
Two Tracking for Banners - Internal Promotion & Event Tracking -Any Impact on Analytic Figure or Bounce Rate?
Hi All, I have implemented Internal Promotion - https://developers.google.com/tag-manager/enhanced-ecommerce#promo-clicks for my ecommerce site on homepage banners. Along with this I did event tracking for Banner click. So any negative impact of bounce rate or other reports? Thanks
Reporting & Analytics | | Arnold30 -
Google Analytics, Wordpress, Sumo - who to trust
Something is wrong. I have a website that according to Google Analytics gets zero relevant clicks, with most of the clicks it does get coming from Russia. Wordpress says it gets a hundred or so visitors a month, with most traffic going to the pages that I know rank. Sumo says the heat map got 76 clicks. How would you figure out what's really going on?
Reporting & Analytics | | julie-getonthemap0 -
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
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 -
Wordpress SEO vs Regular Site SEO
Hey Mozzers I'm building a Wordpress-powered site (self hosted on different domain). I know there are different plug-ins and whatnot for Wordpress SEO, but what exactly am I getting myself into? Am I required to use these plug-ins even if I already know how to do regular SEO on-page coding, or are they mainly dumbed-down tools for mom-bloggers to use? Am I still able to use Google Analytics as I am with a regular site?
Reporting & Analytics | | Travis-W
What else is there to think about? Thanks!0 -
Google Analytics Best Practice Set up for Clients
Hi When setting up new Google Analytics accounts for clinets what is the preferred/best practice. At present we have our own company google account and add new clinets this way (to our account) - the disadvantage with this, we can only grant them limited account access otherwise they would be able to view all the accounts we cretaed. Plus we can't link their adwords to the GA account we cretaed them. Is it best practice to set the client up with their own Google Account and then we just link to their account. Advise would be appreciated, thank you.
Reporting & Analytics | | daracreative0 -
Tracking pages in two separate analytics accounts
Hi All, I'm trying to track some pages on one website in two separate Google Analytics accounts. Has anybody done this before that could help with the tracking code? Thanks in advance, Elias
Reporting & Analytics | | A_Q0 -
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