It's not a good idea to add code to index.html as this is generated by Actinic and will be recreated every time you update - overwriting your modifications.
Instead you should add the code to Act_Primary.html or Act_BrochurePrimary.html (depending on which index.html you mean). If you don't want that code on every page then copy the primary template to a new name, add your code to that, and use this template for a single page only.
What I am trying to do on the site is a count on people that actually place an order against the number that look at the site, so would the primary in brochure be the one to use ?
1) Overall visitors. Code in Act_Primary.html or Act_BrochurePrimary.html. It's up to you which one to use depending whether you expect them to start at your Brochure home page or if you send then directly to acatalog/index.html which is the start of you product and sections pages.
2) If you also want to count those who checkout (rather than simply counting orders received) then look in Design / layouts / Primary Templates where you will see alternative templates listed for the checkout. Adding a different counter to one of the checkout templates (e.g. the "Done" page) would count buyers.
What I have is my onestat code in the site index already, this will tell me who is looking. What you have said Norman is if I go to design/options/layouts I can then add the code into 'Alternative Overall Layout (for checkout)' and this will give me a count on punters that checkout/buy the goods ?
For Jo/Pinbrook - what I am trying to setup is something simple for our marketing person so all he has to do is get a report from OneStat ?
Yes. That should do it. Try it and see. You can also look at Act_Order01.html through Act_Order04.html as they are the pages for each step of the checkout.
Comment