I was asked today the million dollar question. How many hits are you getting?? :uglystupid2: I was baffled and didn't know where to look for this information.
Now is there such a thing where I can put a simple MODULE for Stats showing my hits? How do I install this?
In simple laymen terms please.
Thanks!
-AventuraMan :coolsmiley:
There are several stats sites out there that will do this for you. A google search will bring up many options. I haven't see any posted here.
Quote from: IchBinâ,,¢ on August 28, 2008, 08:52:59 PM
There are several stats sites out there that will do this for you. A google search will bring up many options. I haven't see any posted here.
I tried putting this one in:
<center><a href="http://www.instantecom.net/" ><img border="0" src="http://www.yourhitstats.com/website_builder-3722188.png" ></a>
website builder (http://www.instantecom.net/)</center>
Not scriptbox, html or php box made it work.
-AventuraMan
here is one here for you http://www.tinyportal.net/index.php?topic=16579.msg136997#msg136997 real easy to use too
Quote from: Lesmondâ,,¢ on August 28, 2008, 09:10:22 PM
here is one here for you http://www.tinyportal.net/index.php?topic=16579.msg136997#msg136997 real easy to use too
Gives me this error message:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.brooklyninvestigator.com%2Ferror.gif&hash=936105b47734befba7e9ec19987b7e7b21cce0fd)
Quote from: Lesmondâ,,¢ on August 28, 2008, 09:10:22 PM
here is one here for you http://www.tinyportal.net/index.php?topic=16579.msg136997#msg136997 real easy to use too
I made a counter.txt file in notepad. I uploaded it with 10000 that's it. I did then a phpbox which shows the above error then i did, html and scriptbox nothing works. What am I missing from this?
Take a look at this one from Google:
http://www.google.com/analytics/
Quote from: Ken. on August 28, 2008, 09:43:41 PM
Take a look at this one from Google:
http://www.google.com/analytics/
Ok, I got the script. It saids to place the script in every page that I want to track. What is the main front page of TP site.
Take a look at this topic on SMF... there are others as well.
http://www.simplemachines.org/community/index.php?topic=257245.0
Quote from: AventuraMan on August 28, 2008, 09:33:14 PM
Gives me this error message:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.brooklyninvestigator.com%2Ferror.gif&hash=936105b47734befba7e9ec19987b7e7b21cce0fd)
where did you put the text file?it should be in the same directory as your forum, I just got it working fine on one of my test sites
Quote from: Ken. on August 28, 2008, 09:58:19 PM
Take a look at this topic on SMF... there are others as well.
http://www.simplemachines.org/community/index.php?topic=257245.0
Wow, i never thought this would be so tough. Really! Amazing. I'm trying to put the google analytics info :
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5440312-1");
pageTracker._trackPageview();
</script>
Before the </body> tag. I found it and put it right before squeezing this tag as copy and paste right before the body tag and </div> tag. And it shows an error page. THANK GOD!! I backed my index.php template page and downloaded it in my PC. If not my FORUM was a goner!!
For the life of me I don't know what to do or how to place this tag. Looks like I would need expert help. This tag seems to be more for regular HTML page and not PHP page. What do you think?
Quote from: Lesmondâ,,¢ on August 28, 2008, 10:04:36 PM
Quote from: AventuraMan on August 28, 2008, 09:33:14 PM
Gives me this error message:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.brooklyninvestigator.com%2Ferror.gif&hash=936105b47734befba7e9ec19987b7e7b21cce0fd)
I placed it inside of the CITYSCAPE TP Theme folder.
where did you put the text file?it should be in the same directory as your forum, I just got it working fine on one of my test sites
This is a sad day for me! I never had soooooooooooo much problem with doing a counter. Amazing! I'm going nuts on this one. Or GOOGLE ANALYTICS doesn't record right away? or work? :uglystupid2:
OK. I went to my other site and it's a normal HTML page. I placed the script in that site and page. I visited it with my browser and nothing.
What am I doing wrong here? :tickedoff:
QuoteI placed it inside of the CITYSCAPE TP Theme folder.
thats why it wont work it needs to be in the main forum folder
AventuraMan, take a step back and take a good deep breath. I don't think I've ever seen anyone panic so much.... First of all I hope you've learned a great lesson from making your changes. And that is, NEVER make any changes to your site without BACKING UP. Had you done this, all you'd have to do is restore the file you messed up. All of the SMF templates are PHP. You can see this by looking at their file extension. index.template.php <-- notice the ending?
If you're using TP, why not put your google code into a script block? In order to place your code into one of the SMF files you must first learn a little php. The echo() statement is what is used in ALL of smf's files to output the HTML. Take a read here on how to use it.
http://www.ichbin.us/index.php?topic=19.0
More than welcome to try this one: http://www.tinyportal.net/index.php?topic=18435.0
It resets daily, according to the server's time...