Solved

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

Posted on 2011-02-15
5
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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