Ticket #1140 (closed New feature: duplicate)

Opened 2 years ago

Last modified 10 months ago

piwikTracker.setCustomData do nothing!!! help!!

Reported by: kaosland Owned by:
Priority: major Milestone: Piwik 0.8 - A Web Analytics platform
Component: Core Keywords: piwikTracker.setCustomData
Cc: Sensitive: no

Description

Hello. I read on this page http://piwik.org/docs/javascript-tracking/ this: Send custom JSON data to the piwik.php tracking scripts (plugins developers)

For example, sending user ID data in an (imaginary) user tracking plugin:

[...] var user = { 'userId' : user_id( i put my user_id) }; piwikTracker.setCustomData( user ); piwikTracker.trackPageView(); [...]

But 2 problemes 1: a seen anaywhere en database where customdata had save. 2: I find anywhere what API&method call to get this data.

Thanks for answer.

Change History

Changed 2 years ago by vipsoft

  • status changed from new to closed
  • resolution set to duplicate
  • milestone set to 3 - Piwik 0.8 - A Web Analytics platform

Not in Piwik core. You'll have to write a plugin or wait for #998.

Changed 2 years ago by kaosland

Not in Piwik core. You'll have to write a plugin or wait for #998. 1° what tell you can do this if can't do!!!! 2° at #998 there nothing 3° So it'is no in core neither in dev version? refert at 1°

Changed 10 months ago by matt

just in case you're still interested this is now possible with Custom Variables

Note: See TracTickets for help on using tickets.