added google analytics tracking to widget