javascript - Page Stats always show the name of an IFRAME, and not the real doc name -
I have a website with multiple pages. All pages have an embedded IFRAME (always the same iframe src).
My problem is that iframe contains some statistical tracking code (such as statcounter), and statcounter shows only the name if the page is going to iframe.
Is it possible that it is possible to include some lines of Javascript, to change this file name to make it the same as the main webpage name, so statistics shown on stat-counter, actual HTML Do not show name, and iframe name ??
Any kind of spirit can show me the lines of code I do to do this?
Thanks for any help, regards, common
Your javascript reference will be parent.document. [Whoever you are entering]
. Changing those rows in your tracking code should give you the place you are looking at.
If your iframe source is not always embedded to do conditional work to do this, you can write it as:
if (original) {var Doc = parent.document;} and {var doc = document;} doctor [whatever attribute]
Comments
Post a Comment