Goal tracking not working on 0.5.5

I was running 0.5.4 and everything was working fine. I upgraded to 0.5.5 and now the goal tracking doesn’t work, getting 0 conversions (when I know there are loads of conversions).

I’ve not done or changed anything else.

thanks, Rob

can you try and delete all files in piwik/tmp/cache/tracker/* ? after a few hours or days, are goals being tracked again?

Thanks. I tried this but it still isn’t working.

Rob

please paste here the content of tmp/cache/tracker/ *.php for the idsite you are trying to fire a goal from.
then post the URL you access that should trigger the goal.
we can check if the tracking is expected or not and whether there is a bug in piwik

The contents of tmp/cache/tracker/ 1.php are:

<?php

$content   = array (
  'hosts' =>
  array (
    0 => 'www.funkyraw.com',
  ),
  'goals' =>
  array (
    2 =>
    array (
      'idgoal' => 2,
      'name' => 'Purchase',
      'match_attribute' => 'manually',
      'revenue' => 0,
      'deleted' => 0,
    ),
  ),
);

$cache_complete   = true;

?>

The goal is not triggered by a URL, it is triggered by a call to trackGoal(2) when a purchase is made.

thanks, Rob

Can you try the following:

  • set $GLOBALS[‘PIWIK_TRACKER_DEBUG’] = true; line 17 of piwik.php
  • install firebug on firefox
  • call trackGoal(2) on your page
  • look at the http request to piwik.php in firebug and open it in a new window. You should see debug text of what Piwik is doing. The loaded page should contain idgoal=2
  • copy paste the text here
  • disable the debug by setting back $GLOBALS[‘PIWIK_TRACKER_DEBUG’] = false;

[quote=matthieu @ Mar 25 2010, 08:14 AM]- call trackGoal(2) on your page

  • look at the http request to piwik.php in firebug and open it in a new window. You should see debug text of what Piwik is doing. The loaded page should contain idgoal=2[/quote]

Hi

Thanks for your help. I’m not sure how to do the bits above. I have Firebug installed but have never used it and I can’t work out how to do that.

Rob

Hi,

we have the same problem since the update from 0.5.4 to 0.5.5.

Contents of tmp/cache/tracker/2.php (URLs masked):

<?php

$content   = array (
  'hosts' =>
  array (
    0 => 'www.example.de',
    1 => 'www.example.com',
  ),
  'goals' =>
  array (
    1 =>
    array (
      'idgoal' => '1',
      'name' => 'Kontaktformular',
      'match_attribute' => 'url',
      'pattern' => 'kontakt.html',
      'pattern_type' => 'contains',
      'case_sensitive' => '0',
      'revenue' => '0',
      'deleted' => '0',
    ),
  ),
);

$cache_complete   = true;

?>

Where exactly can I find the http request in Firebug?

Lars

Just to update on this - I never solved the problem with 0.5.5, but yesterday I upgraded to 0.6.1 and goal tracking is working again now. (I didn’t change anything except for doing the update.)

Thanks to the devs for the new version.

Rob

Update: As my co-worker told me after I had updates to 0.6.1, this was already running with the old version again. Don´t know why…