Previously, we explored the fundamental concepts and terminology utilized in Domain Driven Design (DDD), as well as the layers that make up its architecture. In this section, we will examine the artifacts employed to integrate these concepts and construct our application, using PHP as an example.
Goals measure how well your site or app fulfills your target objectives. A goal represents a completed activity, called a conversion, that contributes to the success of your business. Google Analytics goals are a way to capture interactions and allow reports to analyze behavioral, acquisition and demographic data against that information. When a visitor to your site or user of your app performs an action defined as a goal, Analytics records that as a conversion.