-
- Téléchargements
Fixes #3776, Fixes #3787
Adding integration test to test this code. I also updated [ tracking api reference] to explain "cid" parameter. cid — (requires token_auth to be set) defines the visitor ID for this request. You must set this value to exactly a 16 character hexadecimal string (containing only characters 01234567890abcdefABCDEF). When specified, the Visitor ID will be “enforced”. This means that if there is no recent visit with this visitor ID, a new one will be created. If a visit is found in the last 30 minutes with your specified Visitor Id, then the new action will be recorded to this existing visit.
parent
dcd13747
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- core/Tracker.php 1 ajout, 1 suppressioncore/Tracker.php
- core/Tracker/Visit.php 55 ajouts, 32 suppressionscore/Tracker/Visit.php
- libs/PiwikTracker/PiwikTracker.php 8 ajouts, 2 suppressionslibs/PiwikTracker/PiwikTracker.php
- tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php 115 ajouts, 0 suppressiontests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php
- tests/PHPUnit/Integration/expected/test_apiGetReportMetadata_year__SitesManager.getJavascriptTag.xml 1 ajout, 1 suppression...GetReportMetadata_year__SitesManager.getJavascriptTag.xml
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter