Counter not working

13 posts / 0 new
Last post
jealith
jealith's picture
Offline
Last seen: 1 year 4 months ago
Joined: 22/06/2016 - 4:31pm
Counter not working
8/25/22 My counter is again not showing up on my shop page. I can see the stats here but not there. Can you fix this or let me know who to contact please?
neoatic_101
neoatic_101's picture
Offline
Last seen: 1 year 8 months ago
Joined: 08/08/2012 - 11:26am
Mine hasn't been working either. :/
jetcitywoman13
jetcitywoman13's picture
Offline
Last seen: 2 years 2 months ago
Joined: 29/12/2008 - 2:44am
I noticed that they are not working when you look in the shops, but when I log in here I see I am still getting hits.
ayamayei
ayamayei's picture
Offline
Last seen: 8 months 3 days ago
Joined: 05/04/2009 - 11:17am
I actually logged on here to see if anyone else said something! It's frustrating because I know I should be getting huge page hits, but it's showing I'm at under 100 for the day. I really hope we don't lose this information because I'm so proud of my total number.
peetree87871
peetree87871's picture
Offline
Last seen: 5 days 3 hours ago
Joined: 30/09/2007 - 9:03pm
There was a recent change in regards to tracking for most popular browsers and so a lot of the hits aren't being counted unfortunately
Brandon James
saudor
saudor's picture
Offline
Last seen: 1 day 6 hours ago
Joined: 10/06/2007 - 12:30pm
The issue arises from the privacy features built into modern web browsers (chrome and safari mainly). Normally, when people load your shop with your banners, counters, etc, your browser sends the URL of that shop to the servers hosting those images. So when your counter is loaded, your browser normally tells the server where that visitor was accessing the counter from. Neomallers was built to save those stats when it receives this information from the browser. This is how the &banner, &hut, etc work. However, it also uses this information to make sure only you can use your counter from your shop. For mallers, this means if your counter is loaded from your hut in the marketplace, that hit is ignored by neomallers (and rightfully so) because that hit is not a hit from someone entering your shop. They're just loading the hut and your shop could be at the bottom of the hut, etc. The problem arises with newer versions where your browser only tells NeoMallers that it's loaded the counter on neopets.com. This tells our server nothing as it has no idea whose shop it was loaded and cannot tell the difference between a load from browseshop.phtml (your shop) vs market.phtml (the hut). Unfortunately, a fix is not possible at this time as the problem seems pretty complex (at least without the use of javascript which neopets blocks). I did patch the code so that it will continue to ignore those hits but still display your stats anyways (hence the "E"). This also means that the other neopets counters are completely broken and cannot be fixed. Without the referring url information being sent to us, the server cant tell if "saudor" is the petpage, the user lookup or the pet lookup, etc. That being said, it is possible to create a "normal" counter based on the shop counter code. It's basically like a normal counter usable anywhere. This version of the counter should be enough for lookups, petpages, etc. It can still inflate hits if someone takes the counter and puts it on a high traffic page but i can still restrict the counter to only work on neopets.
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
jealith
jealith's picture
Offline
Last seen: 1 year 4 months ago
Joined: 22/06/2016 - 4:31pm
Thank you. At least we now know what the problem is.
saudor
saudor's picture
Offline
Last seen: 1 day 6 hours ago
Joined: 10/06/2007 - 12:30pm
An update to the shop counters! I removed the validation checks so hits should get counted better than they are now. A few side effects. 1.) Marketplace will now be counted towards your totals since the validation checks also made sure those hits came from your shop and your shop only. Without this information, there is no way to check for this. 2.) Stuff like &banner, &nb are all dead and wont work until i can come up with a workaround. Everything will get counted into other (unless you are using firefox or any old versions of chrome, etc that hasn't removed this functionality 3.) These changes will be pushed to other counters as well (e.g. userlookup)
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
Crow
Crow's picture
Offline
Last seen: 2 years 3 months ago
Joined: 12/05/2015 - 9:51am
The images appear broken for the counters. Is that a known issue right now? I'm using Chrome.
saudor
saudor's picture
Offline
Last seen: 1 day 6 hours ago
Joined: 10/06/2007 - 12:30pm
Can you link me to a shop where it's broken? They were broken for a bit but should not be broken now
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
o_ya_toe_knee_is_gr8
o_ya_toe_knee_is_gr8's picture
Offline
Last seen: 1 year 3 weeks ago
Joined: 14/05/2010 - 8:23pm
does the relatively recent https addition to most of Neopets (I think the Neoboards are excluded?) affect counters showing the visitor numbers? I view say a petpage with the URL as https and the image is broken but I manually change it to http and the image is there but I can't see what the numbers are (today, total, #viewing) which are only showing dashes but Last Visit does show recent dates

Pages