Added analytics to examples too.