sidebar
2 months ago
appearance.php
2 months ago
date-custom-range-filter.php
2 months ago
demo-popup.php
2 months ago
demographic-chart.php
2 months ago
demographic.php
2 months ago
exclusions.php
2 months ago
ga4-dashboard.php
2 months ago
ga4-demographic-chart.php
2 months ago
gdpr-config.php
2 months ago
gdpr.php
2 months ago
purposes.php
2 months ago
purposes.php
215 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Purposes view. |
| 4 | * |
| 5 | * @package GoogleAnalytics |
| 6 | */ |
| 7 | |
| 8 | if (!defined('ABSPATH')) exit; |
| 9 | ?> |
| 10 | <h3> |
| 11 | <?php esc_html_e( 'WHY ARE YOU COLLECTING CUSTOMER DATA?', 'googleanalytics' ); ?> |
| 12 | </h3> |
| 13 | |
| 14 | <div id="publisher-purpose" class="switch"> |
| 15 | <div class="empty-choices col-md-12"> |
| 16 | <a id="see-st-choices" class="st-rc-link medium-btn col-md-6" href="#">See Suggested Choices</a> |
| 17 | <a id="clear-choices" class="st-rc-link medium-btn col-md-6" href="#">Clear Choices</a> |
| 18 | </div> |
| 19 | <div class="purpose-item"> |
| 20 | <div class="title"> |
| 21 | <?php |
| 22 | esc_html_e( |
| 23 | '1) Store and/or access information on a device (Do you collect information on users on your site through cookies or site identifiers?)', |
| 24 | 'googleanalytics' |
| 25 | ); |
| 26 | ?> |
| 27 | </div> |
| 28 | <label> |
| 29 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 30 | <input data-id="1" type="checkbox" name="purposes[1]" value="consent" checked/> |
| 31 | <span class="lever"></span> |
| 32 | </label> |
| 33 | </div> |
| 34 | <div class="purpose-item"> |
| 35 | <div class="title"> |
| 36 | <?php |
| 37 | esc_html_e( |
| 38 | '2) Select basic ads (Do you serve ads on your site?)', |
| 39 | 'googleanalytics' |
| 40 | ); |
| 41 | ?> |
| 42 | </div> |
| 43 | <label> |
| 44 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 45 | <input data-id="2" type="radio" name="purposes[2]" value="consent" checked/> |
| 46 | <span class="lever"></span> |
| 47 | </label> |
| 48 | <label> |
| 49 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 50 | <input data-id="2" type="radio" name="purposes[2]" value="legitimate"/> |
| 51 | <span class="lever"></span> |
| 52 | </label> |
| 53 | </div> |
| 54 | <div class="purpose-item"> |
| 55 | <div class="title"> |
| 56 | <?php |
| 57 | esc_html_e( |
| 58 | '3) Create a personalised ads profile (Do you create personalised advertising profiles associated with users on your site (ie: profiles based on demographic information, location, user’s activity)?)', |
| 59 | 'googleanalytics' |
| 60 | ); |
| 61 | ?> |
| 62 | </div> |
| 63 | <label> |
| 64 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 65 | <input data-id="3" type="radio" name="purposes[3]" value="consent" checked/> |
| 66 | <span class="lever"></span> |
| 67 | </label> |
| 68 | <label> |
| 69 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 70 | <input data-id="3" type="radio" name="purposes[3]" value="legitimate"/> |
| 71 | <span class="lever"></span> |
| 72 | </label> |
| 73 | </div> |
| 74 | <div class="purpose-item"> |
| 75 | <div class="title"> |
| 76 | <?php |
| 77 | esc_html_e( |
| 78 | '4) Select personalised ads (Do you show ads to users based on this user profile)', |
| 79 | 'googleanalytics' |
| 80 | ); |
| 81 | ?> |
| 82 | </div> |
| 83 | <label> |
| 84 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 85 | <input data-id="4" type="radio" name="purposes[4]" value="consent" checked/> |
| 86 | <span class="lever"></span> |
| 87 | </label> |
| 88 | <label> |
| 89 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 90 | <input data-id="4" type="radio" name="purposes[4]" value="legitimate"/> |
| 91 | <span class="lever"></span> |
| 92 | </label> |
| 93 | </div> |
| 94 | <div class="purpose-item"> |
| 95 | <div class="title"> |
| 96 | <?php |
| 97 | esc_html_e( |
| 98 | '5) Create a personalised content profile (Do you build a personalized content profile associated with users on your site based on the type of content they have viewed?)', |
| 99 | 'googleanalytics' |
| 100 | ); |
| 101 | ?> |
| 102 | </div> |
| 103 | <label> |
| 104 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 105 | <input data-id="5" type="radio" name="purposes[5]" value="consent" checked /> |
| 106 | <span class="lever"></span> |
| 107 | </label> |
| 108 | <label> |
| 109 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 110 | <input data-id="5" type="radio" name="purposes[5]" value="legitimate"/> |
| 111 | <span class="lever"></span> |
| 112 | </label> |
| 113 | </div> |
| 114 | <div class="purpose-item"> |
| 115 | <div class="title"> |
| 116 | <?php |
| 117 | esc_html_e( |
| 118 | '6) Select personalised content (Do you serve content to the user on your site based on your recorded content interests)', |
| 119 | 'googleanalytics' |
| 120 | ); |
| 121 | ?> |
| 122 | </div> |
| 123 | <label> |
| 124 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 125 | <input data-id="6" type="radio" name="purposes[6]" value="consent" checked /> |
| 126 | <span class="lever"></span> |
| 127 | </label> |
| 128 | <label> |
| 129 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 130 | <input data-id="6" type="radio" name="purposes[6]" value="legitimate"/> |
| 131 | <span class="lever"></span> |
| 132 | </label> |
| 133 | </div> |
| 134 | <div class="purpose-item"> |
| 135 | <div class="title"> |
| 136 | <?php |
| 137 | esc_html_e( |
| 138 | '7) Measure ad performance (Do you measure the performance of advertisements on your site)', |
| 139 | 'googleanalytics' |
| 140 | ); |
| 141 | ?> |
| 142 | </div> |
| 143 | <label> |
| 144 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 145 | <input data-id="7" type="radio" name="purposes[7]" value="consent" checked/> |
| 146 | <span class="lever"></span> |
| 147 | </label> |
| 148 | <label> |
| 149 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 150 | <input data-id="7" type="radio" name="purposes[7]" value="legitimate"/> |
| 151 | <span class="lever"></span> |
| 152 | </label> |
| 153 | </div> |
| 154 | <div class="purpose-item"> |
| 155 | <div class="title"> |
| 156 | <?php |
| 157 | esc_html_e( |
| 158 | '8) Measure content performance (Do you measure the performance of content served to your site visitors?)', |
| 159 | 'googleanalytics' |
| 160 | ); |
| 161 | ?> |
| 162 | </div> |
| 163 | <label> |
| 164 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 165 | <input data-id="8" type="radio" name="purposes[8]" value="consent" checked/> |
| 166 | <span class="lever"></span> |
| 167 | </label> |
| 168 | <label> |
| 169 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 170 | <input data-id="8" type="radio" name="purposes[8]" value="legitimate"/> |
| 171 | <span class="lever"></span> |
| 172 | </label> |
| 173 | </div> |
| 174 | <div class="purpose-item"> |
| 175 | <div class="title"> |
| 176 | <?php |
| 177 | esc_html_e( |
| 178 | '9) Apply market research to generate audience insights (Do you aggregate reporting on the ads or content show to your site visitors to advertisers)', |
| 179 | 'googleanalytics' |
| 180 | ); |
| 181 | ?> |
| 182 | </div> |
| 183 | <label> |
| 184 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 185 | <input data-id="9" type="radio" name="purposes[9]" value="consent" checked/> |
| 186 | <span class="lever"></span> |
| 187 | </label> |
| 188 | <label> |
| 189 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 190 | <input data-id="9" type="radio" name="purposes[9]" value="legitimate"/> |
| 191 | <span class="lever"></span> |
| 192 | </label> |
| 193 | </div> |
| 194 | <div class="purpose-item"> |
| 195 | <div class="title"> |
| 196 | <?php |
| 197 | esc_html_e( |
| 198 | '10) Develop and improve products (Do you use data collected on your site visitors to improve your systems or software or create new products?)', |
| 199 | 'googleanalytics' |
| 200 | ); |
| 201 | ?> |
| 202 | </div> |
| 203 | <label> |
| 204 | <?php esc_html_e( 'Consent', 'googleanalytics' ); ?> |
| 205 | <input data-id="10" type="radio" name="purposes[10]" value="consent" checked/> |
| 206 | <span class="lever"></span> |
| 207 | </label> |
| 208 | <label> |
| 209 | <?php esc_html_e( 'Legitimate Interest', 'googleanalytics' ); ?> |
| 210 | <input data-id="10" type="radio" name="purposes[10]" value="legitimate"/> |
| 211 | <span class="lever"></span> |
| 212 | </label> |
| 213 | </div> |
| 214 | </div> |
| 215 |