feat: tracking integration with GTM and CMP

This commit is contained in:
Björn Fromme
2026-03-16 12:02:59 +01:00
parent 11ab98b3d8
commit 3957f6bd09
21 changed files with 453 additions and 51 deletions
@@ -92,8 +92,11 @@ class Step4Controller extends AbstractController
);
}
// Success: Store booking number in flash and clear session
// Success: Store booking data in flash for conversion tracking
$summaryData = $this->summaryDataService->getSummaryData($bookingCreateDto);
$this->addFlash('booking_number', $bookingResponse->bookingNumber);
$this->addFlash('booking_total', $summaryData->payableAmount);
$this->addFlash('booking_travel_name', $bookingCreateDto->travel->label);
$this->clearTravelDataCache($bookingCreateDto);
$this->bookingService->clearBookingDto($request, BookingDto::MODE_CREATE);