EXON Posted December 9, 2010 Share Posted December 9, 2010 Hello all, thanks for any possible help or guidance in this issue.I have multiple domain names pointing at one single installation of prestashop. I have setup a Google Analytics account tracking one of my domains and set up this code in presta back office. So I would like to add more tracking codes, for the other google analytics accounts that will keep track of the other domains. first, I'd like to know what template should I edit for doing so?second, I am not sure that having multimple domain names on a single installation of presta is good or has benefits or downsides for SEOthanks for all commentshttp://www.exongames.com Link to comment Share on other sites More sharing options...
FredActin Posted December 9, 2010 Share Posted December 9, 2010 Hi Exon,If you want to put the code before the </head> tag you can edit the "header.tpl" file.If you want to place it before the </body> tag then edit "footer.tpl"I'm not too sure what you are doing with the different domains. Are all the domains pointing independently to the same shop? Or do you use some kind or redirect?If you don't use a redirect (mod rewrite etc...) then yes it is bad for SEO - it is called content duplication. Link to comment Share on other sites More sharing options...
EXON Posted December 9, 2010 Author Share Posted December 9, 2010 Hi FredActin, thank you for your reply.Well my store is located in Chile so I have .cl domain. I also have .com and .com.ar (argentina) domains.Yes, all the domains are pointing independently to the same shop. Up to a few days ago I had .cl and .com.ar domains forwaded to .com. I guess I will go back to the old situation and do some research, I`m still no so clear about forwading, redirects, etc, and what is my best optionthank you Link to comment Share on other sites More sharing options...
FredActin Posted December 9, 2010 Share Posted December 9, 2010 Hi Exon,I believe that the best method for search engines is a 301 redirect.Google recommends 301 RedirectIt is done basically by editing your .htaccess file that sits on the root of your Prestashop installation.I have found a tutorial for you but many are available:301 redirect tutorialHope this helps! Link to comment Share on other sites More sharing options...
FredActin Posted December 10, 2010 Share Posted December 10, 2010 Glad it helps :-)Exon if you are happy with the solution please add [solved] to your title.Cheers Link to comment Share on other sites More sharing options...
EXON Posted December 10, 2010 Author Share Posted December 10, 2010 Yes, it did help me, I finally did some redirects based on that info, thank you FredActin!.I don't know how to add [solved] to my title, any help? thanks! Link to comment Share on other sites More sharing options...
jackendonald Posted December 10, 2010 Share Posted December 10, 2010 The Google Analytics does not work if I install two identical tracking code (UA-Fe 111111-11 and 111111-11 UA-) in different parts of the site (before Fe <body> and after </body> ) Or I can install two tracking codes to my account manager ([email protected]) different profiles? (Fe, I can create multiple accounts on my administrator account - ACC1, ACC2 ACC3, and create a profile on my site there and get the code from there) Link to comment Share on other sites More sharing options...
FredActin Posted December 10, 2010 Share Posted December 10, 2010 I never tried to be honest because I don't really see the point of doing it... Once you will have set up your redirect Google will only consider one domain for your website, that's the whole point of the redirection. Therefore the amount of people accessing your website using the other domains should be small (only those typing it on their browser bar)If you still want to do it: my understanding is that you need one website profile / domain name and therefore one tracking code / domain name.After that you put both tracking codes before the </head> tag OR before the </body> tag (not twice!) Link to comment Share on other sites More sharing options...
Usman Ahmed Posted June 13, 2011 Share Posted June 13, 2011 You should only add the code to the main website you are pointing too. You only need to analyze the main website. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now