PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.2
4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.5 3.6.6 3.7.0 3.7.1 3.8.0 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.2.0 4.2.1 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.3.10 4.3.11 4.3.12 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.7.1 4.3.8 4.3.9 4.3.9.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.10 4.5.11 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.7.0
cookiebot / src / view / admin / settings / support-page.php
cookiebot / src / view / admin / settings Last commit date
multiple-configuration 3 years ago prior-consent 3 years ago dashboard-page.php 3 years ago debug-page.php 3 years ago gtm-page.php 3 years ago iab-page.php 3 years ago legislations-page.php 4 years ago network-settings-page.php 3 years ago settings-page.php 3 years ago support-page.php 3 years ago
support-page.php
216 lines
1 <?php
2 /**
3 * @var string $debug_output
4 */
5
6 use cybot\cookiebot\settings\templates\Header;
7 use cybot\cookiebot\settings\templates\Main_Tabs;
8
9 $header = new Header();
10 $main_tabs = new Main_Tabs();
11
12 $header->display();
13 ?>
14 <div class="cb-body">
15 <div class="cb-wrapper">
16 <?php $main_tabs->display( 'support' ); ?>
17 <div class="cb-main__content">
18 <h1 class="cb-main__page_title"><?php esc_html_e( 'Support', 'cookiebot' ); ?></h1>
19
20 <div class="cb-support__content">
21 <div class="cb-support__info__card">
22 <h2 class="cb-support__info__title"><?php esc_html_e( 'Need help with your configuration?', 'cookiebot' ); ?></h2>
23 <p class="cb-support__info__text">
24 <?php
25 esc_html_e(
26 'In our Help Center you find all the answers to your questions. If you have additional questions, create a support request and our Support Team will help out as soon as possible.',
27 'cookiebot'
28 );
29 ?>
30 </p>
31 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-main-btn">
32 <?php
33 esc_html_e(
34 'Visit Cookiebot CMP Help Center',
35 'cookiebot'
36 );
37 ?>
38 </a>
39 </div>
40 <div class="cb-support__video__card">
41 <div class="cb-support__video__inner">
42 <h2 class="cb-support__video__title"><?php esc_html_e( 'Video guide', 'cookiebot' ); ?></h2>
43 <div class="cb-main__video">
44 <iframe src="https://www.youtube.com/embed/eSVFnjoMKFk" title="Cookiebot WordPress Installation" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
45 </div>
46 </div>
47
48 </div>
49 </div>
50
51 <div class="cb-faqs">
52 <h2 class="cb-support__info__title">FAQ:</h2>
53 <div class="cb-faq__container cb-faq--opened">
54 <h3 class="cb-faq__question"><?php esc_html_e( 'How to find my Cookiebot ID', 'cookiebot' ); ?><span class="cb-faq__toggle"></span></h3>
55 <div class="cb-faq__answer">
56 <p class="cb-faq__answer__content">
57 <ol>
58 <li>
59 <?php
60 echo sprintf(
61 // translators: the first placeholder string will be replaced with a html anchor open tag and the second placeholder string will be replaced by the html anchor closing tag
62 esc_html__( 'Log in to your %1$sCookiebot CMP account%2$s.', 'cookiebot' ),
63 '<a href="https://www.cookiebot.com/goto/account" target="_blank">',
64 '</a>'
65 );
66 ?>
67 </li>
68 <li>
69 <?php
70 echo sprintf(
71 // translators: the placeholder strings denote the positions of <b>, </b>, <b> and </b> HTML tags
72 esc_html__( 'Go to %1$s"Settings"%2$s and setup your Cookiebot CMP', 'cookiebot' ),
73 '<b>',
74 '</b>'
75 );
76 ?>
77 </li>
78 <li>
79 <?php
80 echo sprintf(
81 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
82 esc_html__( 'Go to the %1$s"Your scripts"%2$s tab', 'cookiebot' ),
83 '<b>',
84 '</b>'
85 );
86 ?>
87 </li>
88 <li><?php esc_html_e( 'Copy the value inside the data-cid parameter - eg.: abcdef12-3456-7890-abcd-ef1234567890', 'cookiebot' ); ?></li>
89 <li>
90 <?php
91 echo sprintf(
92 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
93 esc_html__( 'Add %1$s[cookie_declaration]%2$s shortcode to a page to show the declaration', 'cookiebot' ),
94 '<b>',
95 '</b>'
96 );
97 ?>
98 </li>
99 <li><?php esc_html_e( 'Remember to change your scripts as described below', 'cookiebot' ); ?></li>
100 </ol>
101 </p>
102 </div>
103 </div>
104
105 <div class="cb-faq__container">
106 <h3 class="cb-faq__question"><?php esc_html_e( 'Add the Cookie Declaration to your website', 'cookiebot' ); ?><span class="cb-faq__toggle"></span></h3>
107 <div class="cb-faq__answer">
108 <p class="cb-faq__answer__content">
109 <?php
110 echo sprintf(
111 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
112 esc_html__( 'Use the shortcode %1$s[cookie_declaration]%2$s to add the cookie declaration to a page or post. The cookie declaration will always show the latest version from Cookiebot CMP.', 'cookiebot' ),
113 '<b>',
114 '</b>'
115 );
116 ?>
117 </p>
118 <p class="cb-faq__answer__content">
119 <?php
120 echo sprintf(
121 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
122 esc_html__( 'If you want to show the cookie declaration in a specific language, you can add the %1$s"lang"%2$s attribute, e.g. %3$s[cookie_declaration lang="de"]%4$s.', 'cookiebot' ),
123 '<i>',
124 '</i>',
125 '<b>',
126 '</b>'
127 );
128 ?>
129 </p>
130 <p class="cb-faq__answer__content">
131 <a href="https://www.youtube.com/watch?v=OCXz2bt4H_w" target="_blank" class="cb-btn cb-main-btn">
132 <?php
133 esc_html_e(
134 'Watch video demonstration',
135 'cookiebot'
136 );
137 ?>
138 </a>
139 </p>
140 </div>
141 </div>
142
143 <div class="cb-faq__container">
144 <h3 class="cb-faq__question"><?php esc_html_e( 'Update your script tags', 'cookiebot' ); ?><span class="cb-faq__toggle"></span></h3>
145 <div class="cb-faq__answer">
146 <p class="cb-faq__answer__content">
147 <?php
148 esc_html_e(
149 'To enable prior consent, apply the attribute "data-cookieconsent" to cookie-setting script tags on your website. Set the comma-separated value to one or more of the cookie categories "preferences", "statistics" and/or "marketing" in accordance with the types of cookies being set by each script. Finally, change the attribute "type" from "text/javascript" to "text/plain".',
150 'cookiebot'
151 );
152 ?>
153 </p>
154 <p class="cb-faq__answer__content">
155 <?php
156 echo sprintf(
157 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
158 esc_html__( 'Example on modifying an existing Google Analytics Universal script tag can be found %1$shere in step 4%2$s.', 'cookiebot' ),
159 '<a href="https://www.cookiebot.com/en/manual-implementation/" target="_blank">',
160 '</a>'
161 );
162 ?>
163 </p>
164 <code class="cb-faq__code">
165 <?php
166 $output = "<script type=\"text/plain\" data-cookieconsent=\"statistics\">
167 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
168 ga('create', 'UA-00000000-0', 'auto');
169 ga('send', 'pageview');
170 </script>";
171 echo nl2br( esc_html( $output ) );
172 ?>
173 </code>
174 <p class="cb-faq__answer__content">
175 <a href="https://www.youtube.com/watch?v=MeHycvV2QCQ" target="_blank" class="cb-btn cb-main-btn">
176 <?php
177 esc_html_e(
178 'Watch video demonstration',
179 'cookiebot'
180 );
181 ?>
182 </a>
183 </p>
184 </div>
185 </div>
186
187 <div class="cb-faq__container">
188 <h3 class="cb-faq__question"><?php esc_html_e( 'Helper function to update your scripts', 'cookiebot' ); ?><span class="cb-faq__toggle"></span></h3>
189 <div class="cb-faq__answer">
190 <p class="cb-faq__answer__content">
191 <?php
192 esc_html_e(
193 'You can update your scripts yourself. However, Cookiebot CMP also offers a small helper function that can make the work easier.',
194 'cookiebot'
195 );
196 ?>
197 </p>
198 <p class="cb-faq__answer__content">
199 <?php esc_html_e( 'Update your script tags this way:', 'cookiebot' ); ?>
200 </p>
201 <?php
202 printf(
203 // translators: %1$s refers to the original script tag HTML, and %2$s refers to its replacement
204 esc_html__( '%1$s to %2$s', 'cookiebot' ),
205 '<code class="cb-faq__code">' . esc_html( '<script type="text/javascript">' ) . '</code>',
206 '<code class="cb-faq__code">' . esc_html( '<script<?php echo cookiebot_assist(\'marketing\') ?>>' ) . '</code>'
207 );
208 ?>
209 </div>
210 </div>
211 </div>
212
213 </div>
214 </div>
215 </div>
216