Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Conversion Rate Optimization (https://www.warriorforum.com/conversion-rate-optimization/)
-   -   Quick Google Analytics Question (https://www.warriorforum.com/conversion-rate-optimization/1100484-quick-google-analytics-question.html)

BrianFish 14th August 2015 08:22 PM

Quick Google Analytics Question
 
I have a forum on vBulletin (domain.com/forum) and a Wordpress blog (domain.com/blog) - originally I had one analytic's ID for the forums and a different one for the blog.

All worked well until yesterday when I got this message
Property Domain Blog is receiving data from redundant hostnames. Some of the redundant hostnames are: Redundant hostnames are counted as separate rows in reports, so hits that are going to the same page on your site from different hostnames will be split into multiple rows. With data split across multiple rows, traffic to specific pages will appear lower than it actually is.

To avoid this problem, consider setting up a 301 redirect from one of your redundant hostnames to the other, or create a search-and-replace filter that strips "www." from hostnames.

I did this so that I could easily see how the blog was performing over the forums since I could control SEO much tighter in the blog over freeform user posts.

But now the data isnt split. Can I have two different IDs or should I really be doing this in a different way? Thanks.

savidge4 14th August 2015 09:19 PM

Re: Quick Google Analytics Question
 
Maybe this might help you - https://developers.google.com/analyt...leSubDirectory

nature123 14th August 2015 10:22 PM

Re: Quick Google Analytics Question
 
I think you did a htaccess redirect.Right?If you successfully redirected your domain to www version of no www version this can't be happening.If you didn't do an htaccess redirect, use below code.
RewriteBase /
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.yourdomain.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]


All times are GMT -6. The time now is 12:26 PM.