In order to analyze one domain, we created two Piwik websites.
One of the web sites aggregates only some pages.
The other one is to total all the pages.
When I place two tags on one page, it seems that the tag I wrote above does not work.The total value is too small.
Is it impossible to send tags from one page to two website?
Hi, there is a chapter in the manual about this:
https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers
var secondaryTracker = 'https://analytics.example.com/piwik.php';
var secondaryWebsiteId = 77;
// Also send all of the tracking data to this other Piwik server, in website ID 77
_paq.push(['addTracker', secondaryTracker, secondaryWebsiteId]);