Connect is a method that allows us to identify a user and display ads to them.
To implement the connect call in your code, follow theses steps:
Collect the user consent of the user using your own method (if applicable)
Be sure that your user have an internet connectivity.
Once you have collected the user’s consent, simply call the
connect(string userConsent) method and pass the user consent as a string argument.
User consent status
userConsent value as string
User consent given
User consent not given
[Optional] Additional User Consent String
User consent not applicable (out of GDPR/CCPA scope)
"" (empty string)
Here are some examples of situations:
// User consent givenPalmup.launcher.connect("1");// User consent not givenPalmup.launcher.connect("0");// [Optional] Additional User Consent StringPalmup.launcher.connect("BOEFEAyOEFEAyAHABDENAI4AAAB9vABAASA");// User consent no applicable (out of GDPR/CCPA scope)Palmup.launcher.connect("");
To comply with GDPR/CCPA privacy policies, we created a consent popup that you can use within your app.
Follow the decision three below to choose wether you should use our popup or use another method to pass the user consent..
Automatically displays the consent popup based on user's location and save the user's consent for future uses.
Connect using the consent string
("1" = consent given, "0" = consent not given)
Connect using the user consent if saved before.
Display the consent popup on demand allowing user to modify its consent (for a privacy button).
If you decide to use the Palmup Consent Popup, you need to link it with external pages
Window > Palmup and in
Ad Settings and complete the requested urls.
If you want to fetch the consent for external uses (other sdk, consent banner, etc...) you can subscribe to events named : OnConsentPopUpAgree & OnConsentPopUpDisagree
Find detail about these events in the "Custom methods & Event" section