/Documentation

Step 4. Send data to server container

Updated Jun 26, 2026

Send data from web to server container via Data tag

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
Install the Data Tag template
  1. 1.
  2. 2.
  3. 3.
    1. 3.1.
    2. 3.2.
    3. 3.3.
    4. 3.4.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
Configure the Data Tag for other events
 In this example, all e-commerce events end with _stape
Example of the variable that extracts user data from the Data Layer
  1. 1.
  2. 2.
Download Data Client from the GitHub
  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
Import the Data Client
Open the Clients tab and choose Data Client
Open web and server GTM preview screens and test the setup

How to send data from web to server container via Google Analytics 4

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
    1. 6.1.
    2. 6.2.
  7. 7.
Create a configuration variable for the server container URL
  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
Create a Google Analytics 4 tag
  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
Example of how to create a GA4 event

Setting up conversion tracking with various platforms

Was this article helpful?

Comments

Can’t find what you are looking for?