This method of integration requires the least time to implement, it works by editing the Google Analytics configuration to send data to the SegmentStream server which then forwards the data to your Google Analytics 4 property.

SegmentStream admin panel setup

  1. Inside the admin panel navigate to Settings > Events Tracking.
  1. Click on the field containing the Server Container URL to copy its value to your clipboard and click SAVE.
Image without caption

Configure tags in your GTM

  1. Go to the Tags section in the Google Tag Manager container.
  1. Open your Google Tag tag (formerly known as Google Analytics: GA4 Configuration tag).
  1. In the Configuration settings set a server_container_url parameter and paste the value of the Server Container URL field found in your SegmentStream project into the value field.
  1. Click Save.
Image without caption

Test and publish your GTM container

  1. Use the GTM Preview functionality to test if the setup is correct before publishing the changes.
    1. Image without caption
  1. If the Preview container is successfully connected to your website you should see a notification.
    1. Image without caption
  1. Next, click through a couple of pages on your website to make sure events are being sent to SegmentStream.
  1. Then, open your Google Analytics settings page in the SegmentStream admin panel.
    1. Image without caption
  1. If the message is highlighted in red, try clicking on the refresh button.
  1. If the message persists, it means that data hasn't been collected yet. You should make sure you followed the guide correctly or contact our support team.
  1. If you see a message highlighted with green, informing you that data has been collected, you can Publish the GTM container.

Powered by Notaku