add widget analytics