Changeset 2391422
- Timestamp:
- 10/01/2020 07:15:05 AM (6 years ago)
- Location:
- better-gdpr/trunk
- Files:
-
- 2 edited
-
admin-user.php (modified) (1 diff)
-
databunker-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
better-gdpr/trunk/admin-user.php
r2371977 r2391422 33 33 update_option('bettergdpr_sitekey', $result->sitekey); 34 34 update_option('bettergdpr_xtoken', $result->xtoken); 35 36 # create processing operations 37 # "integrate-advertising-networks" 38 bettergdpr_api_create_pactivity("advertising-networks-user-tracking", "Ad Network User tracing", "Enable internal or 3rd party advertising / affiliate network scripts to use cookies to track users (tracking pixel) for remarketting; display targeted ads; etc..."); 39 bettergdpr_api_create_lbasis("advertising-cookies-consent", "cookie-popup", False, 'Advertising cookies', "These cookies are used to help better tailor advertising to your interests, both within and beyond this website.", ""); 40 bettergdpr_api_link_pactivity("advertising-networks-user-tracking", "advertising-cookies-consent"); 41 42 bettergdpr_api_create_pactivity("analytic-tools-user-tracking", "Analytics tools user tracking", "Enable internal or 3rd party analytics and logging tools on our website to use cookies to track users"); 43 bettergdpr_api_create_lbasis("analytics-tools-consent", "cookie-popup", False, 'Analytics cookies', "These cookies allow us to analyze site usage so we can measure and improve performance of our site.", ""); 44 bettergdpr_api_link_pactivity("analytic-tools-user-tracking", "analytics-tools-consent"); 45 46 bettergdpr_api_create_pactivity("required-components-user-tracking", "Website required components user tracking", "Enable internal or 3rd party components required for website functionality to use cookie. For example: internal user login & logout, Youtube videos, usage of CDN; chat; captcha; online maps, social sharing; social login, etc..."); 47 bettergdpr_api_create_lbasis("required-cookies-consent", "cookie-popup", True, 'Required cookies', "These cookies ensure that the website functions properly.", "Our website will not function properly."); 48 bettergdpr_api_link_pactivity("required-components-user-tracking", "required-cookies-consent"); 49 50 bettergdpr_api_create_lbasis("send-email-on-login", "login", False, 'Send email on login', 'Confirm to allow sending access code using 3rd party email gateway', 'You will not be able to login'); 51 bettergdpr_api_create_lbasis("send-sms-on-login", "login", False, 'Send SMS on login', 'Confirm to allow sending access code using 3rd party SMS gateway', 'You will not be able to login'); 52 35 # configure wp plugin configuration 36 bettergdpr_api_wpsetup(); 53 37 return $result; 54 38 } -
better-gdpr/trunk/databunker-api.php
r2383190 r2391422 83 83 } 84 84 85 function bettergdpr_api_create_pactivity($activity, $titlei, $desc) { 85 function bettergdpr_api_wpsetup() { 86 return bettergdpr_data_request('POST', "/v1/account/wpsetup", array()); 87 } 88 89 function bettergdpr_api_create_pactivity($activity, $title, $desc) { 86 90 $data = array( 87 91 'title' => $title,
Note: See TracChangeset
for help on using the changeset viewer.