I have a simple web page hosted in an EC2 machine, using nginx. Let's say my web page is reachable by:
I've put a Google Analytics tracking code inside my page, in the head section. After that, I've bought a domain name, and redirected it to the above address.
I've used the "invisible redirection" of my domain provider, to avoid showing the IP in the address bar, and show the domain name instead. As result, my domain provider construct a web page with a
frameset that contains the real URL of my site. This way:
<FRAMESET ROWS="*,0" FRAMEBORDER=0 BORDER=0 FRAMESPACING=0> <FRAME SRC="http://<my_ec2_machine_static_ip>/my_web_page" NORESIZE> </FRAMESET>
The Analytics support page for framed sites says: "We recommend that a site using frames includes the tracking code in the
<head> section of the frameset (parent) page, as well as directly before the
</head> tag of each child frame that you want to track."
The problem is I don't have access to the "parent" page (the page that contains the frameset code above). I just have access to my page. So, I can't put the tracking code in this "parent" page.
Is there a cleaner way of doing this? Am I going to get fake statistics for this reason?
Many thanks in advance