added analytics to example page