Skip to content

Commit

Permalink
update variable name to reflect change in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
blu25 committed Jul 20, 2023
1 parent 8e0b35e commit 4f3ba5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fenced_Frames_Ads_Reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ window.fence.setReportEventDataForAutomaticBeacons({
'eventType': 'reserved.top_navigation',
'eventData': 'an example string',
'destination': ['seller', 'buyer'],
'onlyForNextAutomaticBeacon': false
'once': false
});
```

Expand All @@ -186,7 +186,7 @@ window.fence.setReportEventDataForAutomaticBeacons({
});
```

`onlyForNextAutomaticBeacon` is optional, and, if empty, will default to false. If `onlyForNextAutomaticBeacon` is set to true, the automatic beacon will only be sent for the next `reserved.top_navigation` event. Beacons will not be sent for subsequent `reserved.top_navigation` events.
`once` is optional, and, if empty, will default to false. If `once` is set to true, the automatic beacon will only be sent for the next `reserved.top_navigation` event. Beacons will not be sent for subsequent `reserved.top_navigation` events.

`setReportEventDataForAutomaticBeacons` can also be invoked in the click handler of an anchor tag, and will be sent on navigation:

Expand Down

0 comments on commit 4f3ba5d

Please sign in to comment.