You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,8 @@ useEffect(() => {
47
47
config.accountId,
48
48
config.propertyId,
49
49
config.propertyName,
50
-
config.campaigns
50
+
config.campaigns,
51
+
config.buildOptions
51
52
);
52
53
53
54
return () => {
@@ -64,6 +65,7 @@ The following attributes should be replaced with your organization's details:
64
65
| `config.propertyId` | Number | ID for property found in the Sourcepoint portal |
65
66
| `config.propertyName` | String | Name of property found in the Sourcepoint portal |
66
67
| `config.campaigns` | Object | Campaigns launched on the property through the Sourcepoint portal. Accepts `gdpr: {}`, `usnat: {}`, `preferences: {}` and `globalcmp: {}`. See table below for information on each campaign type. |
68
+
| `config.buildOptions` | Object? | Check `SPBuildOptions` type for more information. |
67
69
68
70
Refer to the table below regarding the different campaigns that can be implemented:
69
71
@@ -210,7 +212,7 @@ In the example below, you can find a fully configured example in React:
0 commit comments