autoSubscribe:trueparameter while initializing the WebSDK.
postEventAPI method to send the Subscription Segments event to Pushwoosh.
"subscription_segments"parameter to your
"subscription_segments"param is an array of segment codes. You can find a segment code below the topic name in the Subscription Segments section of Control Panel.