Skip to content

Commit 22610c5

Browse files
authored
Update index.md
Added clarification for the Implementing Server Event Parameter Requirements section
1 parent a16a307 commit 22610c5

File tree

1 file changed

+1
-1
lines changed
  • src/connections/destinations/catalog/facebook-pixel-server-side

1 file changed

+1
-1
lines changed

src/connections/destinations/catalog/facebook-pixel-server-side/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ You can set `action_source` manually by passing it as a property of a Track even
132132

133133
If `action_source` is set to 'website', the `context.userAgent` and the `context.page.url` fields are required. Segment server-side libraries do not collect `context.userAgent` or `context.page.url` by default. This data must be retrieved manually from the client and passed to the server.
134134

135-
The snippet below provides an example of a [`Product Added`](/docs/connections/spec/ecommerce/v2/#product-added) event using Node.js.
135+
The snippet below provides an example of a [`Product Added`](/docs/connections/spec/ecommerce/v2/#product-added) event using Node.js. Notice in this example that the `action_source` parameter has not been set manually by passing this field into the event. The `action_source` parameter will default to "website". Since `action_source` = "website" the `client_user_agent` and the `event_source_url` parameters are required. Therefore the `context.userAgent` and the `context.page.url` fields have been manually passed into the event.
136136

137137
```javascript
138138
analytics.track({

0 commit comments

Comments
 (0)