Solved

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

Posted on 2011-02-15
5
405 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

724 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