Redirect option

Is it possible to add another variable on the shortcode? To redirect users to a different page once they've been logged in/registered.