ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


savant2 upgraded in 154


  • 2007-07-06 11:53:15

    savant2 upgraded in 154

    Sorry if this post is a little far off topic but ...
    I have an ATutor installation where I have implemented Google Analytics tracking. It worked in ver. 1.5.3 of ATutor, but somehow broke when upgrading to 1.5.4. I have implemented the tracking code in the new dir of the bluemin theme just before the </body> tag as I did in 1.5.3.
    The only possible explanation I see, is that the update in the Savant2 template engine that took place from 1.5.3 to 1.5.4 disrupts my attempt to use Google Analytics. Any help or hints on what's happening is very welcome :-)

    PS. the Urchin code looks ok when wieving the source code of a page.

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -1.5.4
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings - implementing Google Analytics code in theme footer
    web browser being used -
    and anything else relevant -

  • 2007-07-06 12:32:47

    Re: savant2 upgraded in 1.5.4

    Its hard to say what's happened, not knowing much about Google Analytics.

    The blumin theme has changed significantly in 1.5.4 to div/css layout. Does it work with the other table based theme? e.g. the Default theme

  • 2007-07-06 12:47:58

    Re: savant2 upgraded in 1.5.4

    I tried to disable bluemin and set the "Default" theme as the deafult, but Google Analytics still wont recognize my installed tracking code. I will look more in to the problem and return here if I find a solution. Seems like beeing Google related.
    Thanks for helping.

  • 2007-07-06 12:58:13

    Re: savant2 upgraded in 1.5.4

    We'd like to hear more about what you're doing with google tools, perhaps sharing the code if its modular enough.

    Is it something that could be distributed through a theme and/or module?

  • 2007-07-06 15:10:00

    Re: savant2 upgraded in 1.5.4

    It's really simple what im trying to do and I have done it some times before, but somehow it wont work this time.
    I use the Google Analytic (GA) to track use of my sites including ATutor sites. I use drupal a lot for community sites and use there the module for GA. Normally I do the integration of GA in ATutor by editing the footer.inc.php for a theme to include the code for tracking visitors. When it works you can set a "Goal" which could be how many visitors visits your ATutor installation and actually complete a login and so on - really nice.
    When I (hopefully) get it working I could make a description of how to do it, but to be really elegant it ought to be a module where you type in the GA ID given (GA gives you a unique ID that should be inserted).
    I have considered making another module (Skype integration) but somehow stopped at the same point as purifier: http://atutor.ca/view/7/11015/1.html . There I would need an extra text field in the registration form [skype name] but with my relatively sparesomme PHP knowledge I don't see the way ahead for my module :-)

  • 2007-10-11 15:47:04

    Re: savant2 upgraded in 1.5.4

    Sorry that I'm late in answering your question- you know been busy.
    You go to google.com/analytics and make an account. There you make an account for the URL you want to survey.
    You are going to get some code from google that look like this:
    <code><script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-xxxxxxx-xx";
    urchinTracker();
    </script></code>
    This code should be inserted right before the ending body tag.
    When I get some spare time I will try to make a module for ATutor where you can type in the "UA-xxxxxxx-xx" part and then it will be in every theme.
    That rises a question. Does every theme in ATutor have a footer with an ending body tag? Meaning is it enough to search every footer.tmpl.php for the closing body tag or will I have to search the hole theme for the closing body tag?

    [reply][b]In reply to:[/b]
    Is it something that could be distributed through a theme and/or module?
    [op]forums/view.php?fid=7;pid=11016;page=1#11022[/op][/reply]