github.com/prebid/prebid-server/v2@v2.18.0/analytics/pubstack/README.md (about)

     1  # Pubstack Analytics
     2  
     3  In order to use the pubstack analytics module, it needs to be configured by the host.
     4  
     5  You can configure the server using the following environment variables:
     6  
     7  ```bash
     8  export PBS_ANALYTICS_PUBSTACK_ENABLED="true"
     9  export PBS_ANALYTICS_PUBSTACK_ENDPOINT="https://openrtb.preview.pubstack.io/v1/openrtb2"
    10  export PBS_ANALYTICS_PUBSTACK_SCOPEID=<your scopeId here> # should be an UUIDv4
    11  ```
    12  
    13  Or using the pbs configuration file and by appending the following block:
    14  
    15  ```yaml
    16  analytics:
    17      pubstack:
    18        # Required properties
    19        enabled: true
    20        endpoint: "https://openrtb.preview.pubstack.io/v1/openrtb2"
    21        scopeid: "<scopeId>" # The scopeId provided by the Pubstack Support Team
    22        # Optional properties (advanced configuration)
    23        configuration_refresh_delay: "2h" # Dynamic configuration delay
    24        buffers: # Flush events to Pubstack when (first condition reached)
    25          size: "2MB" # greater than 2MB
    26          count : 100 # greater than 100 events
    27          timeout: "15m" # greater than 15 minutes
    28  ```