Smarter callback custom url.