In any browser if I use www.example.com
or just example.com
the web page is correctly retrieved, but I am having trouble with Google Analytics and Facebook App.
Facebook:
To be able to get Likes, I create the Facebook App needed and set the site URL to http://example.com/
. Using their tool http://developers.facebook.com/tools/debug/ when I test my page using http://example.org
it works but using http://www.example.org
fails with the message:
Object at URL 'http://www.example.com/' of type 'website' is invalid because the domain 'www.mysite.com' is not allowed for the specified application id.
Google Analytics:
To be able to get traffic statistics, I created a Property and a Profile both with the URL http://www.example.com
and no statistics were gathered in a week, when I changed the configured URL to http://example.org
statistics where available a few hours later.
What should I do to have statistics and likes for both www.example.com
and example.com
??