Skip to content

Commit 4fa65c1

Browse files
authored
Merge pull request #621 from radarlabs/shicheng/fence-2369-campaigns-support-additional-metadata-with-deep-linking
add campaign metadata doc for iOS
2 parents 82e6a23 + 2bc36a5 commit 4fa65c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/campaigns.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Under advanced options, you can find User ID (the [external ID](/sdk/ios#identif
6363

6464
You can configure the notifications Radar sends to users when they enter a geofence or place. Customize the notification body, and optionally, the notification title and the deep link URL.
6565

66-
## Frequency Capping
66+
You can add metadata to the campaign, which will be accessible when the notification is triggered. In iOS the metadata can be accessed from `userNotificationCenter(_:didReceive response:)` with `response.notification.request.content.userInfo["campaignMetadata"]`.
67+
68+
## Frequency capping
6769

6870
With frequency capping, you can limit the number of notifications a user receives from a campaign. This is useful to prevent excessive notifications for users.
6971
To set up frequency capping, navigate to the [setting page](https://radar.com/dashboard/settings).

0 commit comments

Comments
 (0)