Conditional thank you url redirect with different onclick events ?