When it tells you 'Bad Syntax', it means that there's an error in the GSC Code. You should notify someone about the thread that you got the code from because if it's not working, then it shouldn't be published. You'll just have to use a different menu.
About the maps, you should just try the other method, which can be found
You must login or register to view this content.. A lot of people have used this and have given good feedback so it shouldn't let you down. Hope that helps.