Woopra Forums » General Discussion

Joomla 1.5 Woopra Plugin Available

(8 posts)
  • Ok, per request here's a Joomla! 1.5 plugin to quickly add the Woopra js to your site. Open installing the plugin you must "Enable" it and add your Woopra Website ID to the properties.

    http://joomlacode.org/gf/project/rocketwerx/frs/?action=FrsReleaseBrowse&frs_package_id=3605

    For Joomla 1.0 the required plugin even "onAfterRender" is not available so the best way to setup Woopra on a Joomla 1.0 install is to create "Custom HTML module" and paste in your woopra code:

    <script type="text/javascript">
     var woopra_id = 'XXXXX';
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script></body>

    Be sure to turn OFF your HTML editor (not just toggle to HTML mode) as most JS WYSIWYG editors strip javascript code out of the content.

    Then assign this to the debug module position.

    You can test if your template has a debug module position by going to:

    http://yoursite.com/?tp=1

    If your template does not have "debug" module position you can add one right before the </body> tag in your template's index.php file with this code:

    <?php mosLoadModules('debug',-1); ?>

    Good luck!

    Posted 7 months ago #
  • Thank you! We'll run it through some tests and make an announcement if all works. Wonderful!!!!!

    Posted 7 months ago #
  • mihunter62
    Member

    Andy,
    If I understand you correctly I have to insert my site's ID number somewhere is it here and if so what do I replace:
    <param name="website_id" type="text" default="0" label="Website ID" description="Your Website ID for the Woopra-enabled website" />

    if not, where would I edit the .xml file, using joomla 1.5?

    TIA
    Mike

    Posted 7 months ago #
  • When the plugin is installed, you go to the plugin manager, and then click on the plugin name to get to the plugin properties. There you set your website id, and enable it. After that's done, reload the frontpage and view the source to check the output is as expected.

    Posted 7 months ago #
  • mihunter62
    Member

    Andy,
    Thanks for all the help, I'm not sure why the first time I installed the PI, that I couldn't get to settings, but now no problem, set the web ID, here is the section of code on main page:

    <script type="text/javascript">
    var woopra_id = 'xxxxxxxxx';
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>
    </body>

    but no stats report in woopra, does this look correct for what you would expect?

    Really appreciate all the help, can't even imagine what you site will look like ;-)

    Posted 7 months ago #
  • that looks good, assuming you replaced the xxxxxxx bit with your Website ID.

    Posted 7 months ago #
  • mihunter62
    Member

    Thanks,
    I'm still not seeing anything in the way of even a single hit to the web site through woopra, verified the number, against the source, they match.
    This is why I got out of IT, but I'm not sure that School Uniforms is any better, remember the old saying 'the grass is always greener', it's not true ;-)
    Appreciate the help
    Mike

    Posted 7 months ago #
  • I've created a 1.0 plugin now (inserts in head) and also added user tagging to both 1.0 and 1.5 versions. Latest version is 1.2

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.