By following this guide, you can implement basic event tracking for SegmentStream if you haven't set up Google Analytics 4 tracking on your website or prefer not to.

If you already have Google Tag Manager (GTM) implemented on your website, the steps to implement basic event tracking are straightforward.

SegmentStream admin panel setup

  1. Inside the admin panel navigate to Settings > Events Tracking.
  2. Copy the tracking URL found under the View setup instructions link and click SAVE.

Untitled

Configure Streaming in your GTM

By following these steps, you will automatically send events for user interactions on your site. These interactions include page views, page scrolls, form interactions, outbound clicks, site searches, video engagements, and file downloads.

  1. Go to the Tags section in your Google Tag Manager container.
  2. Create a new Google Tag.
  3. Name it SegmentStream Configuration.
  4. Set the Tag ID to G-YK9K31DPYL.
  5. In the Configuration settings, add a server_container_url parameter and paste your SegmentStream project's Server Container URL into the value field.
  6. Set the send_page_view parameter and set its value to true.
  7. Set the trigger to All Pages.
  8. Click Save.

Untitled

Add click event tracking

By tracking all click events, SegmentStream will gain a better understanding of how users interact with your website. This includes clicks on buttons, links, images, videos, forms, and other elements.

  1. Go to the Tags section in your Google Tag Manager container.