Thanks for your help so far!
We’re using Piwik 1.2.
I believe I’m getting successful responses from the API when I use CoreAdminHome.invalidateArchivedReports (Sample URL with params is http://path/to/piwik/piwik.php?idsite=38&rec=1&url=http%3A%2F%2Fsitetobetracked.com&action_name=Home&rand=12&apiv=1&_idvc=1&res=1366x768&ua=Mozilla%2F5.0+(Windows+NT+6.1%3B+WOW64%3B+rv%3A13.0)+Gecko%2F20100101+Firefox%2F13.0.1&lang=en-us%2Cen&cip=11.22.33.44&cdt=2013-10-13&new_visit=1&country=us®ion=MI&format=JSON&module=API&method=CoreAdminHome.invalidateArchivedReports&token_auth=xxxx )
Here are the responses I get…
WITHOUT the debugging on:
string(43) “GIF89a�!�,D;”
WITH debugging on:
string(5557) "Debug enabled - Input parameters:
array ( ‘idsite’ => ‘38’, ‘rec’ => ‘1’, ‘url’ => ‘http://sitetobetracked.com’, ‘action_name’ => ‘Home’, ‘rand’ => ‘659’, ‘apiv’ => ‘1’, ‘_idvc’ => ‘1’, ‘res’ => ‘1366x768’, ‘ua’ => ‘Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1’, ‘lang’ => ‘en-us,en’, ‘cip’ => ‘’, ‘cdt’ => ‘2013-10-13’, ‘new_visit’ => ‘1’, ‘country’ => ‘US’, ‘region’ => ‘MI’, ‘format’ => ‘JSON’, ‘module’ => ‘API’, ‘method’ => ‘CoreAdminHome.invalidateArchivedReports’, ‘token_auth’ => ‘xxxx’, )
token_auth is authenticated!
Loading plugins: { Provider,Goals,DoNotTrack,UserCountry }
Current datetime: 2013-10-13 00:00:00
(this is not a Site Search request)
Action is a Page URL, Action name = Home, Action URL = http://annarborartsandcrafts.com
Piwik_Cookie::__set_state(array(
‘name’ => ‘_pk_uid’,
‘expire’ => 1444694400,
‘path’ => ‘’,
‘domain’ => ‘’,
‘secure’ => false,
‘httponly’ => false,
‘value’ =>
array (
),
‘keyStore’ => false,
))
Visitor doesn’t have the piwik cookie…
The visitor was not matched with an existing visitor…
Visitor detected, but last action was more than 30 minutes ago…
New Visit (IP = 11.22.33.44)
GEO: no current location provider sent, falling back to default ‘default’ one.
GEO: Found IP location (provider ‘default’): array ( ‘country_code’ => ‘us’, ‘continent_code’ => ‘amn’, ‘continent_name’ => ‘UserCountry_continent_amn’, ‘country_name’ => ‘UserCountry_country_us’, )
array (
‘idsite’ => 38,
‘visitor_localtime’ => ‘00:00:00’,
‘idvisitor’ => ‘xxxx’,
‘visitor_returning’ => 0,
‘visitor_count_visits’ => 1,
‘visitor_days_since_last’ => 0,
‘visitor_days_since_order’ => 0,
‘visitor_days_since_first’ => 0,
‘visit_first_action_time’ => ‘2013-10-13 00:00:00’,
‘visit_last_action_time’ => ‘2013-10-13 00:00:00’,
‘visit_entry_idaction_url’ => 2405,
‘visit_entry_idaction_name’ => 2404,
‘visit_exit_idaction_url’ => 2405,
‘visit_exit_idaction_name’ => 2404,
‘visit_total_actions’ => 1,
‘visit_total_searches’ => 0,
‘visit_total_time’ => 0,
‘visit_goal_converted’ => 0,
‘visit_goal_buyer’ => 0,
‘referer_type’ => 1,
‘referer_name’ => ‘’,
‘referer_url’ => ‘’,
‘referer_keyword’ => ‘’,
‘config_id’ => ‘xxxx’,
‘config_os’ => ‘WI7’,
‘config_browser_name’ => ‘FF’,
‘config_browser_version’ => ‘13.0’,
‘config_resolution’ => ‘1366x768’,
‘config_pdf’ => 0,
‘config_flash’ => 0,
‘config_java’ => 0,
‘config_director’ => 0,
‘config_quicktime’ => 0,
‘config_realplayer’ => 0,
‘config_windowsmedia’ => 0,
‘config_gears’ => 0,
‘config_silverlight’ => 0,
‘config_cookie’ => 0,
‘location_ip’ => ‘xxxx’,
‘location_browser_lang’ => ‘en-us,en’,
‘location_country’ => ‘us’,
‘location_region’ => ‘MI’,
‘location_provider’ => ‘verizon.net’,
)
array (
‘idvisit’ => 1127,
‘idsite’ => 38,
‘idvisitor’ => ‘xxxx’,
‘server_time’ => ‘2013-10-13 00:00:00’,
‘idaction_url’ => ‘2405’,
‘idaction_name’ => 2404,
‘idaction_url_ref’ => 0,
‘idaction_name_ref’ => 0,
‘time_spent_ref_action’ => 0,
)
Piwik_Cookie::__set_state(array(
‘name’ => ‘_pk_uid’,
‘expire’ => 1444694400,
‘path’ => ‘’,
‘domain’ => ‘’,
‘secure’ => false,
‘httponly’ => false,
‘value’ =>
array (
),
‘keyStore’ => false,
))
-> Scheduled tasks not triggered.
Next run will be from: 2013-12-11 18:31:37 UTC
Nothing to notice => default behaviour
End of the page.
array (
)
Piwik_Timer::__set_state(array(
‘timerStart’ => 1386784910.6297,
‘memoryStart’ => 1078744,
))