Hi team, wrt to JS SDK specific to E-commerce even...
# support
m
Hi team, wrt to JS SDK specific to E-commerce events. ( you can also see the screenshot attached below). I would like to know if 1. Does the rudderstack sdk automatically fires when some user searches for a product, according to the description or should my developers program it to be fired when a user searches a product and passing the search query by fetching it manually? 2. What is the meaning of supported properties? does this mean I can not add additional parameters for that particular event eg)
rudderanalytics.track("Products Searched",{
query: "HDMI cable",
myparam: "test param",
})
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi @Rohit Sai, 1. The events are not triggered by default, you should ask your developer to fire the event manually by fetching the query string 2. You can definitely add your additional parameters but most ecommerce destinations expect some/most of the supported parameters to be present for these events. ThisProduct List viewed examplewould give a better understanding of these properties.
m
thank you @shy-kite-21035
h
@many-petabyte-76956, you can also use our query string API to fire events automatically. https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/supported-api/#querystring-api