This TYPO3 Extension adds piwik tracking codes to the rendered frontend.
Please refer to the fully renderer Documentation on https://docs.typo3.org/typo3cms/extensions/piwik/
Piwiktrackingcode for TYPO3
Home Page: http://forge.typo3.org/projects/extension-piwik
This TYPO3 Extension adds piwik tracking codes to the rendered frontend.
Please refer to the fully renderer Documentation on https://docs.typo3.org/typo3cms/extensions/piwik/
Hi Kay,
we developed some enhancements for the piwik extension in the past. Please feel free to merge the features from:
https://github.com/Intera/typo3-extension-piwik
The changes are already rebased on the latest version of your repository.
Please let me know if we can help.
Cheers,
Alex
Piwik has new optional options for his tracking-code.
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
paq.push(["setCookieDomain", ".example.com, http"]);
paq.push(["setDomains", [".example.com, http","*.example.com"]]);
Test OpenId Plugin for that -> needs to add user + permissions before via API
I've installed the master branch in TYPO3 7.5 and get an error
PHP Fatal error: Class 'Tx_Piwik_PiwikApi_PiwikTracker' not found in typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4348
If I add
require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('piwik').'Classes/PiwikApi/PiwikTracker.php');
in ext_localconf.php like it is done for Footer.php
everything works like it should.
I thing this is just a workaround and not a real fix.
Greets
Markus
Piwik offers to evaluate internal search parameters.
Piwikintegration could offer to search for such parameters in typo3 and installed extensions (e.g. tx_indexedsearch[sword],tx_browser_pi1[sword]) and auto-configure piwik.
Hi,
the -Tag ends up with invalid markup because the ampersand sign of the src attribute of the tracking pixel isn't masked as entity. I did a little change to footer.php as a workaround (line numbers 131-135:
131 if (strlen($this->piwikOptions['trackGoal'])) {
132 $template = str_replace('###TRACKING_IMAGE_URL###', str_replace('&','&', $this->piwikTracker->getUrlTrackGoal($this->piwikOptions['trackGoal'])), $template);
133 } else {
134 $template = str_replace('###TRACKING_IMAGE_URL###', str_replace('&','&', $this->piwikTracker->getUrlTrackPageView()), $template);
135 }
The second str_replace(...)
instruction does the trick.
HTH
Thomas.
There have been some bugfixes since the 3.1.0 release. Can we expect a new release sometime soon?
I think in getBaseUrl() we should change self::$URL .= '/piwik.php'; ==> self::$URL .= 'piwik.php';
The slash is already in piwik_host and causes double slashes in the fallback image url.
With older Piwik versions it was possible to use multiple tracking codes in one page.
This does not seem to work any more. When trying to call trackPageView
multiple times you get a JavaScript error.
There is a possiblity to provide an addtional tracking URL and website ID to track the same page to multiple trackers:
https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers
Feel free to cherry-pick a solution for this from:
Intera@c99ce4e
Right now ext_emconf.php states compatibility wirth TYPO3 CMS 4.5.0-6.0.99
This is a bit annoying on 6.2 LTS instances, as the extension seems to work nicely... :-)
With newer Matomo versions you will likely get some tracking error messages because the IP address is submitted as a parameter which requires a valid API token:
https://matomo.org/faq/how-to/faq_30835/
You see a failed tracking request with this error message when you use specific tracking parameters as part of the HTTP tracking API without authenticating the request correctly. Some parameters that require authentication are for example cip (forcing a specific IP address), or cdt (overrides the datetime of the request).
The updated version of the Matomo PHP API fixes this problem by only submitting the IP address if an API token is available.
Feel fee to cherr-pick an updated version of the API from:
Intera@775f252
Right now trackBackendUsers = 0
does only work within the same domain you are logged in to the backend.
Is there a possibility to enhance this functionality that it would work for a page tree serving multiple domains?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.