I have a test server (Amazon EC2). I have many websites running on it using tomcat. I want to analyze a website using google analytics. My website url is http://my.website.com:8080/site/. I have setup a google analytics account. But google doesn't allow me to enter this website name in Property settings as Default url, but when I remove the port number it allows me http://my.website.com/site/.
Now I have pasted the tracking code in my project files. But I cannot see any analytics in my google analytics account.
I have researched a lot on this. Also gone through this Getting Google Analytics to see a test server but couldn't understand.
Please guide me through this.