Tracking your website with Tapstream

You can install the Tapstream JavaScript snippet on your site to track how referrers and page visits contribute to your app marketing. Data recorded by Tapstream's JavaScript is added to your users' timelines, and is available via the dashboard (under the Website tab).

The Tapstream JavaScript snippet automatically measures how many users visit your website, click links to the App Store or Google Play Store, and install your app. If you use both website and campaign tracking then you must setup a custom domain.

Enter your Taptream account name below to get your snippet.


Tapstream tracking code generator


Optional customization

You can customize your integration of Tapstream's JavaScript by adding the following commands to the command queue before the trackPage command.

Custom parameters

You can add custom parameters to user timelines tracked by the JavaScript snippet. Custom parameters are available in Tapstream's Reporting tab, postbacks, and all Tapstream timeline and conversion lookup APIs.

_tsq.push(["addCustomParameter", "key", "value"]);

Override the page URL

If you want to change the URL of the tracked impression, you can do so with the following:

_tsq.push(["setPageUrl", "some-other-url"]);

Disable page click reporting (not recommended)

By default, Tapstream measures impressions on your pages, and clicks from your pages to the App Store or Google Play Store. To disable page click tracking, add the following:

_tsq.push(['setStoreLinkRewriting', false]);