Solved

Invisible counters on web page without ads for cgi/html based web pages.

Posted on 2011-02-15
5
402 Views
Last Modified: 2013-12-25
I can't seem to find free  code for invisible page counters without adds. This seems like it should be a simple script. I am creating the pages manually and remember a while back it was relatively easy to include free visible counter code in web pages. Any ideas for the invisible counters?
0
Comment
Question by:libertyforall2
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:TimBare
ID: 34900745
0
 

Author Comment

by:libertyforall2
ID: 34901050
Well it generate the code below but I need to embed it within a cgi file. I know I need to add print in front of the beginning scripts but not sure where.

<!-- Free Hit Count Code START --><a href="http://www.freehitcount.com" target="_blank">
<script>var id="royhuff"; var showme='n'; var st='img'</script>
<script language="JavaScript" type="text/javascript" src="http://www.freehitcount.com/pphlogger.js"></script>
<noscript><img alt="free hit counter with web statistics logs" src="http://www.freehitcount.com/pphlogger.php?id=royhuff&st=img"></noscript>
</a><!-- Free Hit Count Code END -->

Open in new window

0
 
LVL 2

Expert Comment

by:TimBare
ID: 34901494
i'm not a CGI guy, but i would imagine you would put it b/w the </body> and </html> tags where you have all of your html... give that a go, and if it doesn't work, let me know...
0
 
LVL 2

Accepted Solution

by:
TimBare earned 500 total points
ID: 34901535
print qq{<!-- Free Hit Count Code START --><a href="http://www.freehitcount.com" target="_blank">
<script>var id="royhuff"; var showme='n'; var st='img'</script>
<script language="JavaScript" type="text/javascript" src="http://www.freehitcount.com/pphlogger.js"></script>
<noscript><img alt="free hit counter with web statistics logs" src="http://www.freehitcount.com/pphlogger.php?id=royhuff&st=img"></noscript>
</a><!-- Free Hit Count Code END -->};

Open in new window


or that... if it doesn't work, try moving/removing the html parts of the code.... (<!--blah--> and <a href ...></a>)
0
 

Author Closing Comment

by:libertyforall2
ID: 34912050
This seems to work.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now