No problems here using DP6 and the Statcounter code.
Try using a placeholder as suggested by myself in post#2 and by staggers.
Works fine.
Printable View
No problems here using DP6 and the Statcounter code.
Try using a placeholder as suggested by myself in post#2 and by staggers.
Works fine.
Thanks Sledger ... I'll give that a try. However I am concerned that the Xara include isn't working properly. Great to have work-arounds though!
Cheers
Paul
Hi John
Q1 The 'include' is where you go to the website/webpage properties ... there is the space for page name, title, description, keywords and then tracking code ... puts the code right before the </body> tag where Statcounter advises to place it for best results.
Q2 When I log into Statcounter I can see that I have had page loads ... but just the number of loads. Usually I can then go to 'Veiw Recent Pageload Activity' where I can see the details of each visitor including location, referring link and so on. That's the part that isn't working. Same code is working fine in all my other sites ... ones built with XPP5, WebDesigner, FrontPage and Expression web ... its just a problem with the new Xara release (XDP 6)
Thanks!!
Paul
Ok. But don't call it this way to avoid any possible confusion.
Please tell me why do you think that: "Xara include isn't working properly."? The recommended code placing is right before the </body> tag, isn't it? Are you expecting it to be placed somewhere else? Is it placed in the wrong place? As far as I can see all works exactly as it is supposed to. The Statcounter code is placed exactly where they advice, where you expect it to, and where it is documented. So the tracker code field works perfectly in XDP6.Quote:
Q2 When I log into Statcounter I can see that I have had page loads ... but just the number of loads.
If the Statcounter snippet is not compatible with the pages exported by DP6, that is an obvious flaw in the Statcounter code. After all it is supposed to work with any page, isn't it?
Hi Again John
My terminology was a bit off there regarding the 'include'.
The Xara module places the code just fine and right where it ought to be. I've been back & forth with Statcounter on this a couple of times. Their first suggestion was to:
"My apologies for the inconvenience and confusion. Please try moving our
code up to just before the <!--[if lt IE 7]> to see if that helps."
That didn't work, so next they suggested:
"Thanks for the reply. Please try moving this code below our tracking
code, right now it's directly before our code :
<script type="text/javascript">xr_aeh()</script>"
That didn't work either and I'm awaiting further input from them. In both cases their suggestion involved what they thought could be a conflict with Xara-generated code and their code. Not being a 'code writer' I can't identify what that Xara-generated code is there to do.
Yes its supposed to work with any page and has for the 10 years I've been using it.
Thanks & cheers
Paul
At the risk of repeating myself Paul.
Try using a placeholder as suggested by myself in post#2 and by staggers.
Works fine.
"No problems here using DP6 and the Statcounter code."
I'm doing that placeholder change as that will get it working and appreciate the tip.
I am curious though as to why a placeholder works and the built-in method seems not to.
That is true ... Statcounder advises the code to be right before the </body> tag ... where the built-in method places it.