View Full Version : is there a way to log the visitors of your xanga site?


xazntemptationx
08-01-2004, 05:17 AM
ive seen journalish things that arent xanga that log visitors. infitineprofiles, for example. is there a way to add something like that to your xanga...maybe make it show the last 10-15 visitors or something. if any of you know how i could do that, it would be great. please send an email to mistie1612@aol.com
i get a lot of junk mail, so please make the subject all caps and relating to this topic so i know not to delete it. thank you. xazntemptationx

JiNgLeBeLLz77
08-01-2004, 06:09 AM
hmm... i'm not sure if this'll work... but try this =] put it in your website stats...

<script>
/* Change your options here.
See the documentation at
http://suhock.net/xanga/xasm.html
for more info. */

var show = true;
var title = "Subscriptions";
var before = "My Blogrings";
var sortby = "date";
var order = "desc";
var limit = 0;

/* Don't change anything beyond this point, unless you know
what you're doing (not that you would pay any attention
to this warning if you do know what you're doing) */

function getElement(id) {
if(document.all) {
return document.all[id];
} else {
return document.getElementById(id);
}
}

function getUser() {
var user = '';
for (var i=0; i<document.links.length; i++) {
if (document.links[i].href.substring(0,38) ==
"http://www.xanga.com/private/home.aspx") {
var link = document.links[i];
if (link.innerText) {
user = link.innerText;
} else if (link.text) {
user = link.text;
}
break;
}
}
return user;
}

var tagname = 'script';

function getOwner() {
var url = document.URL;
var b = url.indexOf("?user=");
if (b==-1)
b = url.indexOf("&user=");
if (b==-1)
return getUser();
b += 6;
var e = url.indexOf("&", b);
if (e==-1)
e = url.length;
return url.substring(b, e);
}
</script>

<img id="xasm_img" src="http://suhock.net/xanga/logs/bit.gif"
width="1" height="1">
<span id="xasm_mod"></span>

<script>
document.images["xasm_img"].src = "http://suhock.net/xanga/logs/img.php?" +
"u=" + escape(getOwner()) + "&" +
"v=" + escape(getUser()) + "&" +
"r=" + escape(document['referrer']);

if (show) {
var el1 = document.createElement(tagname);
el1.src =
"http://suhock.net/xanga/logs/stalkers.js.php?" +
"u=" + escape(getOwner()) + "&" +
"title=" + escape(title) + "&" +
"before=" + escape(before) + "&" +
"sortby=" + escape(sortby) + "&" +
"order=" + escape(order) + "&" +
"limit=" + escape(limit);
getElement('xasm_mod').appendChild(el1);
}
</script>

0206
08-11-2005, 07:42 AM
i know this post been a long time ago...
but i wonder if this program still works...
cuz it doesn't work on my xanga...

tokyo bleu
08-11-2005, 07:59 AM
Try other Xanga trackers.

http://s7.invisionfree.com/xblog/index.php?showtopic=4365

actorderick
08-13-2005, 02:40 AM
Xanga doesn't alow you to track who has seen your xanga, and will close anyone's xanga who is tracking the people

tokyo bleu
08-13-2005, 03:09 AM
Xanga doesn't alow you to track who has seen your xanga, and will close anyone's xanga who is tracking the people

:rolleyes:

Xanga disapproves of it, but they won't shut your Xanga down.

supererman
08-13-2005, 07:20 AM
no u can. just through another site. that code upthere should have worked...it was slightly modified i duno why but thats the one i use and it works fine for most ppl that dont have there computer set up to block the script http://suhock.net/xanga/xasm.html use that if ya want. if it doesnt pop up the option on ur xanga to look at the log which it doesnt on mine u can type ur name in at the bottom of that site and it will take u to the log page.