What is SegmentStream snippet

The SegmentStream snippet is a small piece of JavaScript code that you paste into every page of your website. It tracks page views and user behavior events and sends them to BigQuery.

How to find your project’s snippet code

SegmentStream snippet should be loaded after digitalData object is fully initialized because snippet sends parameters stored in digitalData to BigQuery.

  1. Visit SegmentStream Admin panel ▸
  2. Click on Project info. Click on Project Info
  3. Copy snippet code from Website snippet code. Website snippet code
  4. Place it on every page of your website as close as possible to the opening <head> tag.

This document was last updated on April 30, 2020. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, please let us know!