Is there any way to track CPC of a campaign?

Hi, I’m new to Piwik. I have read through Tracking Goals Conversion & Campaign Tracking section from Piwik site.
But I can’t find a way to let the system calculate CPC of a campaign.

eg. I spend $1,000 on a campaign. 500 visitors click the campaign url on other site and come to my campaign page. The CPC of this campaign is $2.

Is there a way I can track like this?