Cost per action (CPA) is a way of pricing online advertising. It means that you only have to pay for the ad when something specific happens. For example, if a company wants to advertise for their product and pays for an ad, they might only have to pay when someone clicks on the link or buys the product. This way, the company only pays when there is an action that proves that the ad is successful.