Added additional checks on utme parameter to check if it is null before adding custom events to it