For your case I would recommend to have two sites set up in Piwik PRO (by the way, you don’t need two accounts for that) - one for the 100% tracking and one for the tracking based on cookies. Since you can’t just add two containers to one website, you can use our addTracker method (API — Piwik PRO Analytics Suite 18.0 documentation) in Tag Manager to get the same result. You would also need to set up both sites so they track data accordingly to your expectations. Here are some articles you may find useful:
Other than that, the solution you proposed would work too (you can do it on one Piwik PRO account only - no need to have two), the decision is up to you and your preferences
I tried to use your addTracker method to track the second site.
But with the information you supplied I can’t figure out how.
Should I created a tag with the script ? Or should I ask to my dev team to implement this script in the pages :
_paq.push([“addTracker”, “https://example.piwik.pro/piwik.php”, “45e07cbf-c8b3-42f3-a6d6-a5a176f623ef”]);
Do you have any documentation for this procedure ?
Thank you very much