Hallo,
ich habe Piwik auf einer separaten Domain installiert. Ich möchte auch die Besucher auf der Startseite dieser Domain auswerten. Ich habe den Javascript Code dazu in der Datei “plugins\Login\templates\login.tpl” vor dem eingebaut.
Das funktioniert jedoch nicht und ich bekomme eine Fehlermeldung:
"There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
User Error: Smarty error: [in /home/www/piwik/plugins/Login/templates/login.tpl line 52]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590) in /home/www/piwik/libs/Smarty/Smarty.class.php on line 1093
Backtrace -->
#0 Piwik_ErrorHandler(…) called at [:]#1 trigger_error(…) called at [/home/www/piwik/libs/Smarty/Smarty.class.php:1093]#2 Smarty->trigger_error(…) called at [/home/www/piwik/libs/Smarty/Smarty.class.php:1815]#3 Smarty->_trigger_fatal_error(…) called at [/home/www/piwik/libs/Smarty/Smarty_Compiler.class.php:2256]#4 Smarty_Compiler->_syntax_error(…) called at [/home/www/piwik/libs/Smarty/Smarty_Compiler.class.php:590]#5 Smarty_Compiler->_compile_tag(…) called at [/home/www/piwik/libs/Smarty/Smarty_Compiler.class.php:312]#6 Smarty_Compiler->_compile_file(…) called at [/home/www/piwik/libs/Smarty/Smarty.class.php:1489]#7 Smarty->_compile_source(…) called at [/home/www/piwik/libs/Smarty/Smarty.class.php:1422]#8 Smarty->_compile_resource(…) called at [/home/www/piwik/libs/Smarty/Smarty.class.php:1261]#9 Smarty->fetch(…) called at [/home/www/piwik/core/View.php:138]#10 Piwik_View->render(…) called at [/home/www/piwik/plugins/Login/Controller.php:86]#11 Piwik_Login_Controller->login(…) called at [/home/www/piwik/plugins/Login/Controller.php:46]#12 Piwik_Login_Controller->index(…) called at [:]#13 call_user_func_array(…) called at [/home/www/piwik/core/FrontController.php:138]#14 Piwik_FrontController->dispatch(…) called at [/home/www/piwik/core/Controller.php:632]#15 Piwik_Controller->redirectToIndex(…) called at [/home/www/piwik/plugins/CoreHome/Controller.php:42]#16 Piwik_CoreHome_Controller->redirectToCoreHomeIndex(…) called at [:]#17 call_user_func_array(…) called at [/home/www/piwik/core/FrontController.php:138]#18 Piwik_FrontController->dispatch(…) called at [/home/www/piwik/index.php:53]"
Wie kann ich die Besuche der Startseite der “Piwik Domain” auswerten?
Tschau
domdes