Skip to content
Snippets Groups Projects
Commit fa9b312c authored by efalcy's avatar efalcy
Browse files

dev #71435 : fix RT

parent 5dbb6a87
Branches
Tags
4 merge requests!2869Master,!2846Dev#71435 bonus piwik est devenu matomo,!2841Dev#71435 bonus piwik est devenu matomo,!2822Dev#71435 bonus piwik est devenu matomo
Pipeline #4987 passed with stage
in 47 minutes and 16 seconds
......@@ -16,3 +16,6 @@
[submodule "library/PhpParser"]
path = library/PhpParser
url = http://git.afi-sa.net/afi/PHP-Parser.git
[submodule "library/matomo-php-tracker"]
path = library/matomo-php-tracker
url = http://git.afi-sa.fr/afi/matomo-php-tracker.git
......@@ -7,5 +7,4 @@ try {
$adapter->query('update bib_admin_var set CLEF="MATOMO_AUTH_TOKEN" where CLEF="PIWIK_AUTH_TOKEN"');
}
$adapter->query('update bib_admin_var set VALEUR=replace(VALEUR, "piwik", "matomo") where CLEF="JS_STAT"');
} catch(Exception $e) {var_dump($e);}
matomo-php-tracker @ c635dc3b
Subproject commit c635dc3b5ed656838d433ad5e373cb3487807185
/.idea/
\ No newline at end of file
Copyright (c) 2014, Piwik Open Source Analytics
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the {organization} nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This diff is collapsed.
# PHP Client for Piwik Analytics Tracking API
The PHP Tracker Client provides all features of the [Piwik Javascript Tracker](http://developer.piwik.org/api-reference/tracking-javascript),
such as Ecommerce Tracking, Custom Variable, Event tracking and more.
## Documentation and examples
Check out our [Piwik-PHP-Tracker developer documentation](http://developer.piwik.org/api-reference/PHP-Piwik-Tracker) and
[Piwik Tracking API guide](http://piwik.org/docs/tracking-api/).
## Requirements:
* json extension (json_decode, json_encode)
* CURL or STREAM extensions (to issue the HTTP request to Piwik)
## License
Released under the [BSD License](http://www.opensource.org/licenses/bsd-license.php)
\ No newline at end of file
{
"name": "piwik/piwik-php-tracker",
"description": "PHP Client for Piwik Analytics Tracking API",
"keywords": ["piwik","tracker","analytics"],
"homepage": "http://piwik.org",
"license": "BSD-2-Clause",
"authors": [
{
"name": "The Piwik Team",
"email": "hello@piwik.org",
"homepage": "http://piwik.org/the-piwik-team/"
}
],
"support": {
"forum": "http://forum.piwik.org/",
"issues": "https://github.com/piwik/piwik-php-tracker/issues",
"source": "https://github.com/piwik/piwik-php-tracker"
},
"autoload": {
"classmap": ["."]
}
}
......@@ -2240,7 +2240,7 @@ class UpgradeDB_354_Test extends UpgradeDBTestCase {
/** @test */
public function piwikBecomeJsMatomo() {
$data =$this->query('select valeur from bib_admin_var where clef = "JS_STAT"')->fetch();
$this->assertContains('matomo.biblibre.com',$data['valeur']);
$this->assertContains('piwik.biblibre.com',$data['valeur']);
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment