feat: tracking integration with GTM and CMP

This commit is contained in:
Björn Fromme committed 2026-03-16 12:02:59 +01:00
1 parent 11ab98b3d8
commit 3957f6bd09
21 files changed
+453 -51

No files matched your search

@@ -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);