function setSessionId(sessionId) {
  if (typeof window.amplitude === 'undefined') {
    console.log('Amplitude not loaded yet')
    return false
  }
  const amplitudeInstance = window.amplitude.getInstance()
  amplitudeInstance.setSessionId(sessionId)
  amplitudeInstance.enableTracking()
}
Set Amplitude session ID. Ref https://bit.ly/3vElAym
@param {string} sessionId - Minimum visit length before first page ping event fires