Edit Analytics code