Can be anywhere in the search.
“cute dogs !g” “!g cute dogs” “cute !g dogs”
Those all work the same, though clearly one is more cursed than the others. They have those for a bunch of other sites as well, for example if you want to search YouTube specifically/directly you can use !yt but I can’t kick the habit of just going to those sites first and then searching directly on there.
What are you, my local DMV?