PDA

View Full Version : site meter


k10tweet
02-01-2008, 03:35 PM
Can someone tell me if you can site meter to pixle post?

dakwegmo
02-01-2008, 03:46 PM
I think you're missing a verb in that statement. I'm going to assume the verb is 'add' and say yes. You can add site meter to pixelpost. They will provide you with code to stick into your site. All you have to do is paste the code they provide into the template(s) for the page(s) you want to track.

If however the verb you meant is 'tickle', well then I can't help you. You'll have to figure it out on your own.

k10tweet
02-01-2008, 09:15 PM
So if I want to track each image that I post with site meter I have to add the code to each new page every time I post?

Can you tell me specifically where I am to place this code if I want my images tracked?

dakwegmo
02-01-2008, 11:43 PM
So if I want to track each image that I post with site meter I have to add the code to each new page every time I post?
No, pixelpost dynamically generates the page view. Each image has a unique id so that the page is loaded as http://www.yoursite.com/index.php?showimage=1, http://www.yoursite.com/index.php?showimage=2 ... http://www.yoursite.com/index.php?showimage=n. Most statistics programs are smart enough to recognize these as different pages.


Can you tell me specifically where I am to place this code if I want my images tracked? Without knowing any of the specifics, like what template you're using, I can't be too specific. Generally, though, you would add the code to pixelpostfolder/templates/yourtemplatename/image_template.html. You'll need to follow the site meter instructions for where exactly the code goes on the page. If they say to put it in the header then it would go somewhere between the <head> and </head> tags. If they say put it at the bottom of the page, then it would usually go right before the </body> tag.

k10tweet
02-02-2008, 01:22 PM
This is my photoblog address: http://www.kristenritchie.com//index.php
v1.7.1

Perhaps you can tell me what template I'm using based on seeing my blog. (I thought I was getting a specific template, but it looks like I got something else and I don't know its name).

Based on the above information perhaps you can tell me exactly what folder I am to put the information you shared with me. Site meter does say to put the code in between the headers, but I don't know exactly where that is to go.

many thanks

dakwegmo
02-02-2008, 02:44 PM
open templates/simple/image_template.html

The head of the document looks like this

<head>
<title><SITE_TITLE> - <SUB_TITLE></title>
<!-- Link for FEED autodiscovery -->
<FEED_AUTO_DISCOVERY>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixelpost" />
<meta http-equiv="content-type" name="description" content="<SITE_TITLE>-PhotoBlog: <IMAGE_TITLE>, <IMAGE_NOTES_CLEAN>" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />
<!-- SCRIPTS -->
<script type="text/javascript" src="templates/simple/scripts/styleswitcher.js"></script>

</head>

Notice the <head> and </head> tags.

The best place to put the site meter code is going to be right after this

<!-- SCRIPTS -->
<script type="text/javascript" src="templates/simple/scripts/styleswitcher.js"></script>


but before this

</head>

k10tweet
02-02-2008, 03:05 PM
When I go to templates/simple/image_template, I don't get the code you sent.
I get a screen that says:

Home/Browse/About
Site Style: Light/Dark
Valid HTML Valid CSS

Dkozikowski
02-02-2008, 07:53 PM
You must open this file in a simple TEXT editor (EG: Notepad for Windows, Textedit for MAC).

DO NOT open in MS Word or the like.

k10tweet
02-03-2008, 12:24 AM
Right! Should have thought of that!

Okay, so I've done as you suggested. I added JavaScript HTML in the areas you indicated and then uploaded the file to my public_html.
When I go to my blog I don't see the site meter logo anywhere and when I check my account it's not tracking my visits.
I've tried regular HTML with the same results.

Any ideas?

dakwegmo
02-03-2008, 12:44 AM
I'm looking at your page and there's no site-meter code in the template. Go ahead and upload the template with the changes so we can check it.

k10tweet
02-04-2008, 12:57 AM
Code has been added as instructed in earlier email. Uploaded it to public_html.
Let me know what you see.

dakwegmo
02-04-2008, 02:42 AM
<!-- Site Meter -->
<a href="http://s38.sitemeter.com/stats.asp?site=s38friend" target="_top">
<img src="http://s38.sitemeter.com/meter.asp?site=s38friend" alt="Site Meter" border="0"/></a>
<!-- Copyright (c)2006 Site Meter -->

This code should go somewhere in the body of your page, not in the head. I would recommend at the end of the page, just before the </body> tag.

Once you've made the change, upload it to the same folder on the server (i.e. public_html/templates/simple/).

k10tweet
02-04-2008, 12:36 PM
Done.

Still don't see site meter logo.

dakwegmo
02-04-2008, 08:29 PM
You're uploading the changed image_template.html to your root directory http://www.kristenritchie.com/image_template.html. You need to move this file into the templates/simple/ directory. Overwriting the one that is in there now.

k10tweet
02-04-2008, 09:31 PM
Sorry, I don't understand what you're saying to me. I'm sure you're being very clear, but I don't understand what my root directory is and where exactly I'm to move it.
Are you talking about moving the file in FileZilla?

k10tweet
02-04-2008, 09:44 PM
I wasn't sure if in your post you were telling me that I was doing one thing and needed to be doing another, or if you were telling me what I needed to do.

These have been my steps:
I save the changes I made to image_template in TextPad.
I open FileZilla and move the updated image_template to the public_html folder.
I open my blog and see no changes.

Will you tell me in the same manner as I have written above what steps I need to make.

Thanks so much!

dakwegmo
02-05-2008, 03:22 AM
This is the step where you're going wrong:

I open FileZilla and move the updated image_template to the public_html folder.


It should be something like this.
Open FileZilla.
You'll see a box "remote site:" and a list of the files and folders on your web server.
If you see a folder titled, public_html Double Click it.
Double Click "templates".
Double Click "simple"
Drag the updated image_template file from the Local Site to the Remote Site.

You will be warned about the file existing on the server.
Select Overwrite.
Click Ok.
Open your blog in a browser.

k10tweet
02-05-2008, 11:53 AM
Woohoo! Finally! Thank you!