Ticket #774 (closed New feature: fixed)

Opened 3 years ago

Last modified 19 months ago

Finish the Goal Tracking plugin

Reported by: matt Owned by:
Priority: critical Milestone: Piwik 0.6.3
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt) (diff)

UPDATE: Goal tracking plugin is available as stable release in Piwik 0.6.3.

Documentation available at http://piwik.org/docs/tracking-goals-web-analytics/

New feature requests on the Goals plugin are tracked in a new ticket: #1434


The goal tracking plugin is currently in beta version, but there are many sub tasks to finish before releasing the plugin in stable stage; all the TODOs can be found in the  release notes file.

Some highlights:

  • add a new UI element (vertical stacked tabs?) to allow display of various segments in the reporting (goals by keywords, goals by search engines, goal by country, etc.)
  • ~add a new function in the piwik.js public API to trigger a goal + corresponding code to add in the core/Tracker/*.php, so that users can trigger a goal on demand, with a custom parameter revenue; currently only goals matching URLs can be triggered in the piwik.php tracking by defining goals as such in the Piwik UI, but many users wish to trigger goals on demand - for example to trigger ecommerce transactions with custom revenue.~ see #778
  • GoalManager.detectGoalsMatchingUrl() should allow for a check against the action.name in addition to the action.url.
  • write documentation see #616
  • i18n
  • various small UI polishing
  • fix the few existing bugs

Check out the detailed list of  TODOs.

if anybody would like to help, please let us know in a comment :)

Change History

  Changed 3 years ago by matt

(In [1201]) refs #774 goal tracking todo list -

  Changed 3 years ago by MarcLindsay

Now your talking, that's some sexy tracking.

Now to map it out in Piwik :D

  Changed 3 years ago by matt

  • description modified (diff)

  Changed 3 years ago by vipsoft

  • description modified (diff)

  Changed 2 years ago by matt

  • sensitive unset

  Changed 2 years ago by vipsoft

That's a better fit for #220.

  Changed 2 years ago by vipsoft

From forum post, should multiple goals in the same visit be aggregated/summed?

  Changed 2 years ago by matt

multiple triggers of the same goal by a visitor should not trigger multiple conversions. In a future version, we could have this as a setting where a goal could be triggered multiple times by a same visitor.

  Changed 23 months ago by matt

  • priority changed from major to critical

  Changed 21 months ago by matt

(In [2125]) Refs #774 fixing tooltip for "Conversions"

  Changed 21 months ago by matt

(In [2204]) Refs #774 conversions display as expected on Overview tab also after clicking a specific goal report

  Changed 21 months ago by matt

(In [2248]) Refs #774 Fixes Your top converting keyword include keyword without conversions

  Changed 21 months ago by matt

(In [2251]) Refs #774 After adding goal, the window should ideally refresh to the goal report page

  Changed 21 months ago by matt

(In [2253]) Refs #774 fixes clicking on the graph for a given goal redirects to the dashboard instead of redirecting to the goal report for the clicked date. Also now clicks on graphs redirect to the correct subpage directly (Visitors>Overview, Referers>Evolution etc.)

  Changed 20 months ago by matt

(In [2303]) Refs #774

  • Adding table by segments in the Goal Overview and in each specific Goal report. Data table is ajax loaded when the segment is clicked. In the 'Goal overview', the datatable displays all goals (this can be a lot of columns). In a specific goal tab, the datatable will only show columns for the sum of all goals and for this specific goal.
  • The 'Goals' datatable is now showing, for each goal: conversions, conversion rate and revenue per visit
  • Adding widgets for the Goals plugins: Goals overview, and one widget for each goal report

  Changed 20 months ago by matt

(In [2307]) Refs #774

  • lazy scrolling to a DOM node should always use the helper piwikHelper.lazyScrollTo proxy to jquery scroll

  Changed 20 months ago by matt

(In [2308]) Refs #774

  • Visits by server time now report in the correct website timezone
  • Fixing issue with the datatable showing conv / conv rates / revenues for all goals (previously only the first goal would show)

  Changed 20 months ago by matt

(In [2309]) Refs #774

  • Moving 'segments' definition to a hook that each plugin can listen to. So far only referers, user country and visit server time define segments.
  • Fixing issue related to column sorting. By default it was sorting by nb_uniq_visitors, now sorting by nb_visits (because unique visitors column is not displayed in the goals table)

  Changed 20 months ago by matt

(In [2319]) Refs #774 minor edits

follow-up: ↓ 24   Changed 20 months ago by matt

(In [2320]) Refs #774

  • Numeric records by the goal plugin can contain a lot of value=0 rows. Instead, we should only record the numeric value if it is not zero, and assume zero when not found.

  Changed 20 months ago by matt

(In [2321]) Refs #774

  • must have segments define the group name in the array, not in the row index

  Changed 20 months ago by matt

(In [2322]) Refs #774

  • Small styles updates in the Goals > Overview links. Adding link to the Goals Tracking documentation page on piwik.org

in reply to: ↑ 21   Changed 20 months ago by SteveG

Replying to matt:

(In [2320]) Refs #774 * Numeric records by the goal plugin can contain a lot of value=0 rows. Instead, we should only record the numeric value if it is not zero, and assume zero when not found.


your check for 0 values in [2320] has broken the complete archieving for blob values. Changing the code like this should fix it:

// table to use to save the data
if(is_numeric($record->value))
{
	// We choose not to record records with a value of 0
	if($record->value == 0)
	{
		return;
	}
	$table = $this->tableArchiveNumeric;
}
else
{
	$table = $this->tableArchiveBlob;
}

  Changed 20 months ago by matt

(In [2323]) Refs #774 Fixing regression thanks for review SteveG! Fixes #1389 Sparklines for bounce rate now displaying OK

  Changed 20 months ago by matt

  • status changed from new to closed
  • resolution set to fixed

(In [2325]) Fixes #774

  • last known bug of the Goals plugin: show relevant columns when clicking the Goal icons. Show all columns when looking at the Goals report. Show only columns for the selected goal if looking at goal report.

  Changed 20 months ago by matt

(In [2326]) Refs #774 Adding a 'cancel' link below the add/edit Goals forms (to restore screen state previous to click)

  Changed 20 months ago by matt

  • description modified (diff)

  Changed 20 months ago by matt

See #1434 for the ticket keeping track of feature ideas for the Goals plugin.

  Changed 20 months ago by matt

(In [2355]) Refs #774 Fixing 'Your best converting countries are [...]'

  Changed 20 months ago by matt

(In [2356]) Refs #774

  • Goals plugin enabled by default
  • other minor edits

  Changed 20 months ago by SteveG

(In [2375]) refs #774 fixed test. goal plugin is enabled by default since [2356]

  Changed 19 months ago by vipsoft

(In [2683]) refs #774 - goals enabled by default

Note: See TracTickets for help on using tickets.