adding tracking snippets