How Piwik Tracks First Party Cookie?

Hi,

Could anybody tell me which approach Piwik is following, in order to track the analytics through First-Party Cookie? e.g; CNAME etc…

Best Regards!

First party cookies are set in javascript

You mean as Page Tag?