View Full Version : Recommendation on how to use with Typepad
morps
08-01-2004, 10:02 PM
I have been using SC on a website of mine for some time and am quite happy with it. Now I want to use SC on my blog hosted by TypePad. So I created a new project and added the resulting code snippet into each of my stories posted to my blog, no problem. However, right now 10 of the stories view on the root page of my site. As a result, 10 sets of SC code snippets are on the same page. And it appears that I get 10 hits in the stat counter report as a result.
I am interested in getting only a single count for the main page, then tracking the subsequent "downstream" traffic on the subsequent stories.
I apologize in advance, but I cannot point you to the Typepad blog as it is password protected. I'm hoping the description above is enough to help (someone) smarter than me figure this one out.
Thanks in advance!
webado
08-01-2004, 11:29 PM
I don't know how Typepad is organized. Other Blog services like Google's Blogger operate with an HTML template, which you can customize in any way you wish. I have such a blog myself and I have added the Statcounter code to the bottom of the template, just before the </body> tag. This template is used for each individual blog page, not each entry.
morps
08-02-2004, 12:13 AM
I figured it out. The blog editor I am using has three editing "areas" body, extended and excerpt. If I put the SC code in the extended area, that code will only show up on the page dedicated to that story. So now it can track hits to that story (and that story only) correctly.
As far as the main root page is concerned, I am still hunting out a way to have the code maintained in the template (like chrisooc mentions can be done with Google).
In the mean time, my workflow is to put the SC code in my top story, then take it out once it is no longer the newest post.
Aoide
08-02-2004, 03:37 AM
Do you want hits counted for each individual story? It sounds like a lot of work to have to add the code to each story. I use Typepad and I have the counter as a Typelist. The code is put in the notes section of a new link and the list is configured to show note as text. This way statcounter counts each time someone goes to my site. It also shows me when they look at other pages on my site. You can see the button for statcounter on my site. I'm not very technical, but if there is anything I can help you with let me know.
Laurie
http://www.laanba.com
morps
08-03-2004, 01:48 AM
Hi Laurie,
It sounds like a lot of work to have to add the code to each story. I use Typepad and I have the counter as a Typelist. The code is put in the notes section of a new link and the list is configured to show note as text.
Thanks for your post. I didn't think about a TypeList as a solution. Good idea. So far, adding the text into each story isn't a big deal as the blog editor I use allows me to create my own custom code blocks. It's as easy as a mouse click and all the code pours right in.
But I like the TypeList idea. Might have to investigate that one...
Aoide
08-03-2004, 03:02 AM
No problem. That is how I have mine set up. Just make sure that in the configure section for that typelist you select to display as text otherwise it won't work. And put the HTML in the notes section. That is also how you can add any kind of buttons that you need to which is especially helpful for non HTML people like me. I just use TypePad's interface and don't write my own pages. Glad I could help.
Laurie
acdouglas
08-14-2004, 11:53 AM
If I may offer another suggestion for using StatCounter with a TypePad weblog...
A "Link" TypeList is the way to go as Aoide suggested. I've found, however, that entering the StatCounter HTML in the Notes section, and then in the Configuration declaring the Notes to be displayed as text, has the disadvantage of leaving a huge blank space on the actual weblog page where it displays the now empty Title of the TypeList member (i.e., the Title of the member where you entered the StatCounter HTML in the Notes) as...an empty space.
The way to get around that is to take the StatCounter HTML, and simply remove the line-breaks at the end of each line so that you end up with the HTML as a single, humongous-length line. You then COPY that long line, and simply PASTE it directly into the *Title* of the TypeList member. Doing it that way you eliminate the huge blank space on the actual weblog page, and free up the Notes to be used in the normal way (i.e., not displayed as text, but as a tool-tip).
Works just fine.
ACD
dayfornight
01-07-2005, 09:17 PM
This doesn't work for me. If I use the title method, my sidebar gets cut off after the StatCounter javascript code. Anyone know why that might be?
dayfornight
01-07-2005, 11:00 PM
Well, I figured that out but I can't seem to make it invisible, even when it's checked in my preferences.
webado
01-07-2005, 11:13 PM
Two places where you can make the counter invisible: in Configure Counter and in Install code. Use both sets of settings.
mjgicy
06-04-2006, 01:13 AM
Anyone with typepad know if there is a method by which we can count hits to the photo albums in typepad?
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.