Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Simplify Visitor Generator > Use piwik access logs #2458

Closed
mattab opened this Issue · 1 comment

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

Code for the visitor generator is old and does not use the tracking API, instead it rebuilds tracking requests manually.

Instead, Visitor Generator should take a "Piwik access logs" (requests to piwik.php) from demo.piwik.org by default (but possible to put your own custom access logs) and it should replay this log file, for N days and playing it M times per day.

the other advantage is that this will be usable for API consumers who wish to "initiate" piwik DB with a fixed set of data and run their own tests on it (rather than the current "random" data sets).

Also, logs will be more "standard" and not use the many random strings etc.

Matthieu Aubry
Owner

(In [4841]) Fixes #2458 - Visitor Generator now based on a "piwik access log, combined format" that is replayed faking Time/IP/User Agent/Accept language header. The file can be swapped for any other log file containing requests to piwik.php

The current log file generates a little bit of ecommerce activity, as well as various pages & custom variables (based off Forum.piwik.org log file)

Matthieu Aubry mattab added this to the 1.5 - Piwik 1.5 milestone
Matthieu Aubry mattab self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.