Woopra Forums » Troubleshooting

js code in footer iframe.

(4 posts)
  • Started 6 months ago by hansps
  • Latest reply from pmk
  • This topic is not a support question
  • hansps
    Member

    Hi - list

    I have put my js code in a footer.html page that is being called from all my pages via an iframe...now all stat shows footer.html as the only page that is being visited.
    How do I put the js code in a iframe and how do I put the same js code in an dynamic CMS page template later on.

    thanks for your time and answer
    Hans Peter

    Posted 6 months ago #
  • pmk
    Member

    Hello Hans Peter,

    Ive put my code in a CMS aswell.

    Im quite sure you cant use an Iframe for it. Is it any known Open Source CMS?

    However, I believe you should put the code at the bottom of your index file, which I believe controls and calls to all other files/pages, so I'd believe it would be right before </body> in your index file. Either index for the template you are using in the CMS, or the root index file.

    Posted 6 months ago #
  • hansps
    Member

    Oi pmk...thanks for taking you time to answer.

    Nice to hear it will eventually work on a CMS - but for now I only have one account which I am testing on a google/aps site.

    google/aps do not have an master template and I can`t manual insert the js code on 400 pages.

    The footer.html iframe link work's and I have all the data given by Woopra but without the click true path...only page visited is footer.html ;)

    I don't know how this problem is solved on sites based on frames but it would be nice to hear if woopra plans a script detection on iframes or I just have to dump it all and move on to my CMS site

    thanks
    Hans Peter

    Posted 6 months ago #
  • pmk
    Member

    Hello(Davs) Hans Peter,

    I dont think it will work with iframe :/

    In my CMS, I simply use a php call to call footer.php where the code is; that would be something like;
    <?php include_once( 'footer.php' ); ?>

    However if it isnt anything to do with the iframe, I bet it might be the url parameter "issue" which has been mentioned by some others.

    Please check below links:

    1) http://www.woopra.com/forums/topic/deleting-site-information-038-url-error

    2) http://www.woopra.com/forums/topic/track-exactly-url-where-visitors-are

    3) Admins gave this answer: http://www.woopra.com/forums/topic/jad-need-your-help-admins-need-help-stats-messed-up

    /Abdul

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.