diff --git a/src/v0/destinations/ga4_v2/transform.ts b/src/v0/destinations/ga4_v2/transform.ts index b42d163073..76adc00e00 100644 --- a/src/v0/destinations/ga4_v2/transform.ts +++ b/src/v0/destinations/ga4_v2/transform.ts @@ -8,8 +8,6 @@ export function process(event: ProcessorTransformationRequest) { const { message, destination } = event; const { Config } = destination; - basicConfigvalidaiton(Config); - const eventPayload = message as RudderStackEvent; if (!eventPayload.type) { @@ -20,6 +18,8 @@ export function process(event: ProcessorTransformationRequest) { return ga4Process(event); } + basicConfigvalidaiton(Config); + // custom mappings flow return handleCustomMappings(message, Config); }