Custom Integration for AB testing

I would like to understand how to create a custom code to integrate Piwik Pro with AB testing tool we intend to use as there is no information available for the same.

What AB testing tool do you plan to use and does it send data to dataLayer?