I saw that Piwik has an official connector with HubSpot. But I suppose that this only allow HubSpot to catch on which page of the site a lead happened.
Is there a way to use HubSpot leads to counts Conversions on Piwik? What we want is that every time HubSpot catches a new lead, Piwik counts it as a new conversion.
In this case, whenever there is a lead you will have to create a goal on Piwik. Also, if you would like to count conversions then you will have to set a up goal conversion based on the condition that when Hubspot catches a lead then Piwik tracks a conversion. The easiest way would be to create a custom tag for such a condition.
Below you will find articles about setting up goals and their conversions.
Setting up a goal: Set up goals | Piwik PRO help center
Setting up goal conversions: Goal conversion tag | Piwik PRO help center
Thank you for your reply.
Is there any documentation on how to set up a goal specifically based on when Hubspot catches a lead? How can I set up that condition?
Unfortunately, there is no such documentation. However, you might find this article helpful while creating the setup: How to (correctly) track Hubspot Form Submissions - #5 by anthonybartczak