Jump to content

[Resolved] Web Analytics


Chris_St

Recommended Posts

Hi,

I would like to use Logaholic to track site visits. To do this I need to paste a code into each page I want tracked. Below is the code from the demo version. Can someone please tell me where to paste this? I tried it in the product description source with no luck and also in the skins default.css.

<script type='text/javascript'>
var lg_url = 'http://demos4.softaculous.com/Logaholic/';
var lg_profile = 'mysite';
</script>
<script type='text/javascript' src='http://demos4.softaculous.com/Logaholic/inpage.js' ></script>

I already have google anayltics tracking OK and would like to use this as a tool to provide artists with details of the visits (views) of their artworks. An alternative is a hit counter on each page. Tried a few of those but pasting into each page just gives a total for all views instead of individual pages, where with this I could generate a report for email. Plus I don't really like hit counters!

Hope this one is easy to do,

Regards,

Chris

Link to comment
Share on other sites

13 hours ago, Dirty Butter said:

I'm guessing about this - Try it in main.php in the head and enclose it in {literal} {/literal}.

Thanks for the suggestion. I have now trialled it in there (just before the closing head tag) with and without {literal} but didn't work,

Thanks, Chris

Link to comment
Share on other sites

4 hours ago, Chris_St said:

Now trialing it after the body tag

Thanks DB, here is an update.

It works before the closing body tag without the {literal} {literal}

This might be worth keeping for other users. I also found that a site https://statcounter.com provide provide a tracking function with good drill downs that works in the main.php too 500 page hits on the free plan

Regards,

Chris

Australian United Artists

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...