Skip to content

Commit 9f8ae16

Browse files
committed
add some screenshots + comment out some code [netlify-build]
1 parent 117a42b commit 9f8ae16

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

src/connections/auto-instrumentation/configuration.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,14 @@ You can use Signals to create tracking rules using the event builder.
236236

237237
### Example: Identify users
238238

239+
The following screenshot shows an Identify event rule that combines a button click with a successful network response to extract user data and trigger an identify call.
240+
241+
![Identify event rule combining UI and network triggers](images/signals_identify_event.png)
242+
243+
244+
245+
<!-- PW: more commenting out>
246+
239247
Building off of the screen tracking example, you could create a rule that identifies users:
240248
241249
```javascript
@@ -268,11 +276,15 @@ function processSignal(signal) {
268276
detectIdentify(signal); // Process the Identify call based on incoming signals
269277
}
270278
```
271-
279+
-->
272280

273281
### Example: Track `Add to Cart` events
274282

275-
This rule shows how you could implement the core ordering events from [the e-commerce Spec](/docs/connections/spec/ecommerce/v2/#core-ordering-overview):
283+
This rule implements a core ordering event from [the e-commerce Spec](/docs/connections/spec/ecommerce/v2/#core-ordering-overview). It shows a Track event triggered by a button click and a network response, with product details from the response mapped to event properties.
284+
285+
![Track event rule for Add to Cart using button click and network response](images/signals_track_event.png)
286+
287+
<!-- PW: even more commenting out
276288
277289
```javascript
278290
function trackAddToCart(currentSignal) {
@@ -305,3 +317,4 @@ function ProcessSignals(signal) {
305317
trackAddToCart(signal); // Process the "Add To Cart" tracking based on incoming signals
306318
}
307319
```
320+
-->
106 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)