Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all 4243 articles
Browse latest View live

Basics about Piwik (2 replies)

$
0
0
Hello,
I could not get clear picture of piwik. Piwik is similar to google analytics or is it an extension that shows the google analytics data on its dashboard?
Would one need to put piwik code separately on pages to get the analytics?

Thanks

No. of Real-time Visits in Dashboard (no replies)

$
0
0
Is there a way of changing the number of of real-time visits displays in the dashboard widget? Say I wanted 5 instead of the default 10. Other widgets have a number select at bottom-right but real-time doesn't.

Thanks!

How to save the set timespan for the next login? (no replies)

$
0
0
Hello!


With Piwik 1.11.1 I still have 2 problems:

1. I cannot save the timespan I set - it's lost after each logout. But I would really like to have it remember my timespan settings ...

2. For new sites I like to protokoll their overall development from start up till now. Within the user preferences I can only set the timespan for reports to the last 30 days... So how can I add an option to show the timespan from installation day to today?

thx for reading,
piedro

Huge archive blob (no replies)

$
0
0
Hello,

I could only find this other topic, but am not sure if it's relevant:
[forum.piwik.org]

My blobs are generally small in size and number of rows as I receive few visitors (~50/day), but I have this really huge table:

count_archive_blob_2012_01 - 875,200 rows - 391.1 MiB

The other blobs are relatively small - no more than 5MB.

I was wondering - can I delete this blob?

How can I retreive SiteID via API with site url. (1 reply)

$
0
0
Is there a simple method of getting the SiteID when I only know the site URL using an PHP API ?

Adjust clustering on visitor maps (no replies)

$
0
0
Can the visitor map clustering be configured/adjusted . Most of our visitors are in cities within only 100 miles of one another and they therefore are mostly all clustered on the maps into a single circle.

Thanks!

Get data for static files (e.g., .pdf, .txt, .xls etc.) from the logs? (no replies)

$
0
0
Is following script the one to run with the command --enable-static to get data for static files (e.g., .pdf, .txt, .xls etc.) from the logs?

python /path/to/piwik/misc/log-analytics/import_logs.py --url=http://analytics.example.com access.log
--idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static
--enable-bots

Archiving not working - empty API respopnse (1 reply)

$
0
0
I've scoured the forums, Google and everywhere for a possible solution, but this has me stumped. I installed Piwik through cpanel's Softaculous auto-installer. It setup a cron job automatically, but the auto-archive appears to never work. I have tested that the system is tracking visits and pageviews, but I am not able to get the auto-archive cron job to finish successfully. I have tried changing the memory_limit in php.ini to 1024M, restarting Apache and still nothing. I am ussing suhosin, but I don't know where to edit suhosin.ini (I read somewhere that somebody had success with this). The error message I am getting is this:

Error in the last Piwik archive.php run:
The Piwik URL http://www.greenerlytics.com/index.php does not seem to be pointing to a Piwik server. Response was ''.

Here is the full errors output:

---------------------------
INIT
Querying Piwik API at: http://www.greenerlytics.com/index.php
Running Piwik 1.11.1 as Super User: greenerlyticsadmin
ERROR: Got invalid response from API request: http://www.greenerlytics.com/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your Web server Error Log file for more details.
ERROR: The Piwik URL http://www.greenerlytics.com/index.php does not seem to be pointing to a Piwik server. Response was ''.


My server configuration is as follows:

cPanel Version 11.36.1 (build 5)
CENTOS 5, Linux kernel = 2.6.18-194.3.1.el5.028stab069.6
MySQL version 5.0.96-community
PHP version 5.4.14
Apache version 2.2.24

Any assistance will be greatly appreciated.

Bug since 1.11.1: Broken time range and dropdown for sites (1 reply)

$
0
0
Hi,

since the update to 1.11.1 we have the problem that the time range picker is buggy (see picture)
and the dropdown for site overview doesn't work at all.

We tried different browers and pc's, same errors.

Don't know if it's broken widget or something else? Anybody has the same problem or suggestions what to to?

Regards
Benjamin George

Error when VisitsSummary plugin is deactivated (no replies)

$
0
0
The following error message is shown in 'Visitors -> Location&Provider -> Visitor Map' when the plugin VisitsSummary is deactivated. Everything is fine as long as this plugin is active.

There is an error. Please report the message (Piwik 1.11.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: nb_visits in /var/www/vhosts/www.domainname.de/piwik/plugins/UserCountryMap/Controller.php on line 85

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [/var/www/vhosts/www.domainname.de/piwik/plugins/UserCountryMap/Controller.php:85]
#1 Piwik_UserCountryMap_Controller->visitorMap(...) called at [:]
#2 call_user_func_array(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/FrontController.php:136]
#3 Piwik_FrontController->dispatch(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/FrontController.php:158]
#4 Piwik_FrontController->fetchDispatch(...) called at [/var/www/vhosts/www.domainname.de/piwik/plugins/UserCountryMap/UserCountryMap.php:41]
#5 Piwik_UserCountryMap::insertMapInLocationReport(...) called at [:]
#6 call_user_func_array(...) called at [/var/www/vhosts/www.domainname.de/piwik/libs/Event/Dispatcher.php:284]
#7 Event_Dispatcher->postNotification(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/PluginsManager.php:722]
#8 Piwik_PostEvent(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/SmartyPlugins/function.postEvent.php:40]
#9 smarty_function_postEvent(...) called at [/var/www/vhosts/www.domainname.de/piwik/tmp/templates_c/%%7A^7AC^7AC033CF%%index.tpl.php:7]
#10 include(...) called at [/var/www/vhosts/www.domainname.de/piwik/libs/Smarty/Smarty.class.php:1263]
#11 Smarty->fetch(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/View.php:127]
#12 Piwik_View->render(...) called at [/var/www/vhosts/www.domainname.de/piwik/plugins/UserCountry/Controller.php:30]
#13 Piwik_UserCountry_Controller->index(...) called at [:]
#14 call_user_func_array(...) called at [/var/www/vhosts/www.domainname.de/piwik/core/FrontController.php:136]
#15 Piwik_FrontController->dispatch(...) called at [/var/www/vhosts/www.domainname.de/piwik/index.php:52]

Maybe it is the same issue as [forum.piwik.org]

Best regards

Howto filter a (download) result with wildcards? (2013*someFile.zip) (1 reply)

$
0
0
Hello everybody,

i am trying to filter a report.
I have some files named by date, like 2013-04-22-someFile.zip.

the download action report has a search field and i try to search like "+2013 +someFile" to get only those results. Is this possible?

Tried a lot like "+2013 + someFile", "2013*someFile"...

Greetings
Max

Change Widget Default view to Flat (no replies)

$
0
0
This is kind of a two in one, but hopefully solving the default flat view will also solve my other issue. Here's the details.

I am making my own widget. It basically pulls the actions, just like the Actions->Pages widget. But what my end goal is to have this widget only display actions for a specific directory. So I'm filtering it by the URL, but this is causing an issue because in the default expanded view, the full url is not shown. It only shows the specific name of the current page/directory that it is in. When you choose to flatten the widget, it displays the full URL.

The main answer I am seeking with this post is, how do I make my widget default to the Flat view? I have tried playing with the section in the Controller.php where is checks if flat is true or false, but all that does is tells the menu in the footer cog whether to show flatten or hierarchical. I have messed around with code all over the place trying to set the variable $expanded to true, then tried false. Then tried changing that variable to $flat and set it to true, then false. Then set it to 1, and 0. I'm just shooting in the dark now, trying anything that might possibly work.

My hope is, if I can get it to default to flat (which I need it to do whether it fixes my other problem or not), is that the filter using the URL will actually work then. If not, then I suppose that would be my next task/question.

Any help is much appreciated! If I missed somewhere that discusses this please direct me there. I tried doing an extensive search before posting this but didn't see anything that answered my question.

Thanks!

Proxy tracker doesn't work (1 reply)

$
0
0
Hello,

I want to use the Piwik tracker through proxy like in this example : https://github.com/piwik/piwik/tree/master/misc/proxy-hide-piwik-url

If I check in my source code the tracker is here linking the correct piwik.php
And if I check the file piwik.php load the good remote piwik.js

But If I go to my piwik administration stats are steal blocked to 0, even if I force the cron...
If I remove the "proxy" and call directly the remote piwik.js it's working well, but I want to hide my footprints.

The script (https://github.com/piwik/piwik/tree/master/misc/proxy-hide-piwik-url) is still working ? Or people have trouble too ?

Thanks

Having trouble with custom variables (1 reply)

$
0
0
I'm new to Piwik but so far very impressed. I've recently been adding some tracking to a very simple Backbone app and have run into some difficulty around custom variables.

This app is running in an environment where I can name the clients ( and that gets exposed in another javascript object ) and want to pass that name up. So no problem right, custom variable. So I did the following in the router initialization:

      window._paq.push(['setCustomVariable', 1, "Client", kioskID, "visit"]);

and then later something like:
        window._paq.push(["trackPageView", '/trend/tap/'+ pid]);

For just simple brute force sake I've gone ahead and replicated the setCustomVariable command directly above a couple of the trackPageView calls and I'm still not seeing them tracked. Also I've changed between 'visit' and 'page' just for grins, still no joy.

and I'm not seeing anything under the visitors > custom variables tab in the analytics interface. Though I am seeing the title getting tracked properly

Any suggestions? We're running 1.11.1

remove some widgets from "Widgets & Dashboard" (no replies)

$
0
0
Greetings,

I am new to Piwik and I'm really thrilled about what it can do!

I have the following problem: I would like to provide the dashboard to a colleague in the iframe version that provides the whole dashboard.

However, I'd like to remove some widgets from the list "Widgets & Dashboard" where the user can add widgets and assemble his personal dashboard. Is that possible? I'd much prefer this to only giving some widgets on a static page via <embed> as I like the possibility to create a personal dashboard.

Hope I don't sound too confusing!

Best regards
Boris

Using API for getRowEvolution with nb_visits (2 replies)

$
0
0
I'm trying to get the nb_visits datatables by using the Piwik API like:

apiModule = VisitsSummary; apiAction = get:
http://demo.piwik.org/?module=API&method=API.getRowEvolution&idSite=7&period=range&date=2013-01-01,2013-01-20&apiModule=VisitsSummary&apiAction=get&legendAppendMetric=1&labelUseAbsoluteUrl=1&format=JSON&token_auth=anonymous

or

apiModule = Actions; apiAction = get:
http://demo.piwik.org/?module=API&method=API.getRowEvolution&idSite=7&period=range&date=2013-01-01,2013-01-20&apiModule=Actions&apiAction=get&legendAppendMetric=1&labelUseAbsoluteUrl=1&format=JSON&token_auth=anonymous

But as a result i'm getting this error messages:


<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'>
	    <strong>There is an error. Please report the message (Piwik 1.12-b14)
	    and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/>
	    Warning:</strong> <i>array_flip() [&lt;a href=&#039;function.array-flip&#039;&gt;function.array-flip&lt;/a&gt;]: Can only flip STRING and INTEGER values!</i> in <b>/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php</b> on line <b>1194</b>
<br /><br />Backtrace --&gt;<div style="font-family:Courier;font-size:10pt"><br />
#0  Piwik_ErrorHandler(...) called at [:]<br />
#1  array_flip(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php:1194]<br />
#2  Piwik_API_API-&gt;getRowEvolution(...) called at [:]<br />
#3  call_user_func_array(...) called at [/home/piwik-demo/www/demo.piwik.org/core/API/Proxy.php:187]<br />
#4  Piwik_API_Proxy-&gt;call(...) called at [/home/piwik-demo/www/demo.piwik.org/core/API/Request.php:138]<br />
#5  Piwik_API_Request-&gt;process(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/Controller.php:25]<br />
#6  Piwik_API_Controller-&gt;index(...) called at [:]<br />
#7  call_user_func_array(...) called at [/home/piwik-demo/www/demo.piwik.org/core/FrontController.php:125]<br />
#8  Piwik_FrontController-&gt;dispatch(...) called at [/home/piwik-demo/www/demo.piwik.org/index.php:47]</div><br />
 </pre></div><br />
<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'>
	    <strong>There is an error. Please report the message (Piwik 1.12-b14)
	    and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/>
	    Notice:</strong> <i>Undefined index: dimension</i> in <b>/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php</b> on line <b>1413</b>
<br /><br />Backtrace --&gt;<div style="font-family:Courier;font-size:10pt"><br />
#0  Piwik_ErrorHandler(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php:1413]<br />
#1  Piwik_API_API-&gt;getRowEvolutionMetaData(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php:1245]<br />
#2  Piwik_API_API-&gt;getSingleRowEvolution(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/API.php:1234]<br />
#3  Piwik_API_API-&gt;getRowEvolution(...) called at [:]<br />
#4  call_user_func_array(...) called at [/home/piwik-demo/www/demo.piwik.org/core/API/Proxy.php:187]<br />
#5  Piwik_API_Proxy-&gt;call(...) called at [/home/piwik-demo/www/demo.piwik.org/core/API/Request.php:138]<br />
#6  Piwik_API_Request-&gt;process(...) called at [/home/piwik-demo/www/demo.piwik.org/plugins/API/Controller.php:25]<br />
#7  Piwik_API_Controller-&gt;index(...) called at [:]<br />
#8  call_user_func_array(...) called at [/home/piwik-demo/www/demo.piwik.org/core/FrontController.php:125]<br />
#9  Piwik_FrontController-&gt;dispatch(...) called at [/home/piwik-demo/www/demo.piwik.org/index.php:47]</div><br />
 </pre></div><br />{"label":"","reportData":{"2013-01-01":


same with apiAction = getVisits,..

Is there any other way to get visits of every day of a month? Or any ideas to fix the problem?

Error when trying to import apache logs (2 replies)

$
0
0
Hi, I'm having trouble....

python import_logs.py --url=http://mydomain.com /var/log/apache2/access.log

Fatal error: Piwik returned an invalid response: <!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lan

Any ideas?

problems with geoip pecl (4 replies)

$
0
0
Hello,

I have a problem with geolocation using geoip pecl.

On the admin page I have:

Note: The 'geoip.custom_directory' PHP ini option is set to '/var/www/piwik/misc'.

Cette implémentation GeoIP a accès aux types de bases de données suivants: Ville.

That's true and the database is automatically updated too.
But when I want to test on the admin page, Piwik says that my place is unknown.

I don't have any error anywhere neither in the interface nor the log.

Currently, Piwik can only find countries and continents, no region, city or ISP.

howto include *.js files in own plugins (1 reply)

$
0
0
Hello,

I'm developing a own Piwik plugin and I cant include a JS file. So far I made the hook in the myPlugin.php see as below:

function getListHooksRegistered()
{
	return array( 
		'AdminMenu.add' => 'addMenu',
		'AssetManager.getJsFiles' => 'getJsFiles',
	);
}

function getJsFiles($notification)
{
	$jsFiles = &$notification->getNotificationObject();
	$jsFiles[] = "plugins/myPlugin/templates/MyPlugin.js";		
}

do I have to do something else, because so far, this is not working. My *.js file is on the server and has just a console.log in it.

thanks in advance, Peter

Read token_auth value from root of xml result?? (no replies)

$
0
0
Hello people :)

Have problem with parsing value in result returned from api call , token auth value is kept in root element of xml. How to read it with php simplexml function ??
Viewing all 4243 articles
Browse latest View live