Yikes, nice catch! It was supposed to be a constant above the two methods. Now fixed! Thanks for pointing that out.
I had a hard time with the Google documentation too, which is a big reason why I wrote this post! Thank you for reading :D
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.