IDK about the order but limit yourself to one query equals percent S there.
To help understand why (since it’s simple enough!):
google dot com/search?q=%s
becomes
google dot com/search?q=YourSearchTerm
cuz it replaces the %s with what you type.
So
google dot com/search?q=%s&udm=14
looks right to me