Function addUdmFallbackFields

  • Applies fallbackFields for the given UDM.

    For example, for contacts UDM: if we have email in fields, but not primaryEmail, we will populate primaryEmail from the first value of `emails.

    You can see fallback fields in the corresponding UDM definition.

    Parameters

    • fields: any
    • udm: string

    Returns any