AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.7K members online now
4.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

GA code to Wordpress site?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

I have installed GA code for several of my sites:

 

kgsid.com

kgsid.com/bg

kgcargo-bg.com

kgcargo-bg.com/bg

 

All are under different GA codes.

 

However I suspect that I have made a wrong installation and the data which I receive is not correct. please advise how can I improve this.


Where actually should I put the GA code - on each post I would like to track or only in the main Wordpress page?

 

Also sites kgsid.com and kgsid.com/bg are old ones but have good amount of links and I do not want to miss them. What is needed to be done in order to have the traffic for this site to be re-directed as follow:

 

kgsid.com => kgcargo-bg.com

kgsid.com/bg => kgcargo-bg.com/bg

 

Without having my website punished

 

Best regards

Georgi

 

1 Expert replyverified_user

Re: GA code to Wordpress site?

Top Contributor
# 2
Top Contributor
Hi Georgi,

You can add Google Analytics to your WP site using a plugin like https://wordpress.org/plugins/pc-google-analytics/

In order to redirect your old sites to the new ones you need to set up a 301 redirect in the htaccess file on the old sites. http://301redirects.net/redirect-old-domain-to-new-website.php

Let me know if you have questions.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital