Single Quotes in .php file doesn’t load website

Your input line is enclosed in single quotes, so when PHP sees the single quote inside that string, it thinks you’re done with the string and jumping back into PHP.

The way to fix this is to escape quotes inside the string so the single quoted words inside ga() change from 'send' to \'send\'.