Display an ID to the user?

We do a lot of phone sales in our business.

We’ve been tracking phone conversions using a home grown script that displays a unique ID to site visitors, and asking them for that when they call in.

I’m considering upgrading to Piwik, and wondering what would be involved in setting it up to behave in a similar way.

I have seen in the documentation that there is a user ID assigned… could that be easily accessed and displayed with a php include or something?

If so, will we be able to later drill down into that user’s ID to see their initial entry page (which could be from weeks earlier) and referrer?

Thanks,
Chris

You could easily do something similar with Piwik. If you need help writing a custom variable, see Custom Variables Analytics - Analytics Platform - Matomo

for professional services see: http://piwik.org/consulting/

I’ve finally gotten Piwik installed for testing.

I’ve set up custom variables, but I’m having some trouble accessing them how I need.

  1. Ideally, I’d like to use the variable that the system has assigned to the visitor. Looks like this would be ‘idvisitor’ (I have 3rd party cookies enabled) or ‘config_id’. Is there a way to retreive this with javascript (or PHP) so I can echo it to the user?

  2. Regardless of where the identifier comes from, once I have their ID I’m not seeing any way within the dashboards to match it to an entry page or any other info about the visitor’s time on the site.

I’m trying to track phone conversions by landing page, as well as time elapsed between initial visits and sales.

In the custom variables widget, search functionality only filters results for the name of the field, not the value. That leaves me unable to even find the user in the first place if I use this on live sites with substantial amounts of visitors.

Now there are only a few hits on a test site so it’s not a problem. Even being able to find the user, there’s no drill down or anything?

I’ve tried using the landing pages tab, but can’t find a way to filter these by custom fields or any other metric.

I don’t actually see how to make useful combinations of data at all. Say I want to know the bounce rates for different devices or screen resolutions (I do).

I feel like I’m missing something simple about the basic way to manipulate the data.

  1. you can get the visitor ID by calling in JS piwikTracker.getVisitorId()

  2. to segment visitors based on the custom variable AND/OR any other attribute such as entry page, you can use segmentation API http://piwik.org/docs/analytics-api/segmentation/

In the custom variables widget, search functionality only filters results for the name of the field, not the value. That leaves me unable to even find the user in the first place if I use this on live sites with substantial amounts of visitors.

It could be changed in Piwik, that would make sense. PLease create a ticket with your request

Say I want to know the bounce rates for different devices or screen resolutions (I do).

You can see the bounce rate in most reports, by clicking on the “Table” icon below the report. See http://piwik.org/docs/piwik-tour/#toc-a-look-at-a-piwik-report

I’m trying to track phone conversions by landing page, as well as time elapsed between initial visits and sales.

Tracking conversions by landing page is unfortunately not yet possible (unless you use Segmentation: http://piwik.org/docs/analytics-api/segmentation/ via the API).
there is a ticket: http://dev.piwik.org/trac/ticket/2030