PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.5.9
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.5.9
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 / cb_frame / support-page.php
cookiebot / src / view / admin / cb_frame Last commit date
prior-consent 1 year ago settings 1 year ago dashboard-page.php 1 year ago network-settings-page.php 1 year ago settings-page.php 1 year ago support-page.php 1 year ago
support-page.php
217 lines
1 <?php
2 /**
3 * @var string $manager_language
4 */
5
6 use cybot\cookiebot\lib\Cookiebot_Frame;
7 use cybot\cookiebot\settings\templates\Header;
8 use cybot\cookiebot\settings\templates\Main_Tabs;
9
10 $header = new Header();
11 $main_tabs = new Main_Tabs();
12
13 $header->display();
14 ?>
15 <div class="cb-body">
16 <div class="cb-wrapper">
17 <?php $main_tabs->display( 'support' ); ?>
18 <div class="cb-main__content">
19 <h1 class="cb-main__page_title"><?php esc_html_e( 'Support', 'cookiebot' ); ?></h1>
20
21 <div class="cb-support__content">
22 <div class="cb-support__info__card">
23 <h2 class="cb-support__info__title"><?php esc_html_e( 'Need help with your configuration?', 'cookiebot' ); ?></h2>
24 <p class="cb-support__info__text">
25 <?php
26 esc_html_e(
27 '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.',
28 'cookiebot'
29 );
30 ?>
31 </p>
32 </div>
33
34 <div class="cb-debug__support__card">
35 <a href="https://usercentricsforwordpress.zendesk.com/hc/en-us" target="_blank" class="cb-btn cb-main-btn" style="border: 3px solid #1032cf"
36 rel="noopener">
37 <?php esc_html_e( 'Visit Support Center', 'cookiebot' ); ?>
38 </a>
39 <a href="#" onclick="copyDebugInfo();" class="cb-btn cb-secondary-btn" style="margin-left: 20px;">
40 <?php esc_html_e( 'Copy Debug Info', 'cookiebot' ); ?>
41 </a>
42 </div>
43 </div>
44
45 <div class="cb-debug__code__container">
46 <textarea
47 cols="50"
48 rows="40"
49 id="cookiebot-debug-info"
50 readonly="readonly"
51 ><?php echo esc_textarea( $debug_output ); ?></textarea>
52 </div>
53
54 <div class="cb-faqs">
55 <div class="cb-support__video__card">
56 <div class="cb-support__video__inner">
57 <h2 class="cb-support__video__title"><?php esc_html_e( 'Video guide', 'cookiebot' ); ?></h2>
58 <div class="cb-main__video">
59 <iframe src="https://www.youtube.com/embed/1-lvuJa42P0"
60 title="Cookiebot WordPress Installation"
61 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
62 allowfullscreen></iframe>
63 </div>
64 </div>
65
66 </div>
67 </div>
68
69 <div class="cb-faqs">
70 <h2 class="cb-support__info__title">FAQ:</h2>
71 <div class="cb-faq__container cb-faq--opened">
72 <h3 class="cb-faq__question"><?php esc_html_e( 'How to find my Cookiebot™ ID', 'cookiebot' ); ?><span
73 class="cb-faq__toggle"></span></h3>
74 <div class="cb-faq__answer">
75 <p class="cb-faq__answer__content">
76 <ol>
77 <li>
78 <?php
79 printf(
80 // 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
81 esc_html__( 'Log in to your %1$sCookiebot CMP account%2$s.', 'cookiebot' ),
82 '<a href="https://www.cookiebot.com/' . esc_html( $manager_language ) . '/account/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner" target="_blank" rel="noopener">',
83 '</a>'
84 );
85 ?>
86 </li>
87 <li>
88 <?php
89 printf(
90 // translators: the placeholder strings denote the positions of <b>, </b>, <b> and </b> HTML tags
91 esc_html__( 'Go to %1$s"Settings"%2$s and setup your Cookiebot CMP', 'cookiebot' ),
92 '<b>',
93 '</b>'
94 );
95 ?>
96 </li>
97 <li>
98 <?php
99 printf(
100 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
101 esc_html__( 'Go to the %1$s"Your scripts"%2$s tab', 'cookiebot' ),
102 '<b>',
103 '</b>'
104 );
105 ?>
106 </li>
107 <li><?php esc_html_e( 'Copy the value inside the data-cid parameter - eg.: abcdef12-3456-7890-abcd-ef1234567890', 'cookiebot' ); ?></li>
108 <li>
109 <?php
110 printf(
111 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
112 esc_html__( 'Add %1$s[cookie_declaration]%2$s shortcode to a page to show the declaration', 'cookiebot' ),
113 '<b>',
114 '</b>'
115 );
116 ?>
117 </li>
118 <li><?php esc_html_e( 'Remember to change your scripts as described below', 'cookiebot' ); ?></li>
119 </ol>
120 </p>
121 </div>
122 </div>
123
124 <div class="cb-faq__container">
125 <h3 class="cb-faq__question"><?php esc_html_e( 'Add the Cookie Declaration to your website', 'cookiebot' ); ?>
126 <span class="cb-faq__toggle"></span></h3>
127 <div class="cb-faq__answer">
128 <p class="cb-faq__answer__content">
129 <?php
130 printf(
131 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
132 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' ),
133 '<b>',
134 '</b>'
135 );
136 ?>
137 </p>
138 <p class="cb-faq__answer__content">
139 <?php
140 printf(
141 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
142 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' ),
143 '<i>',
144 '</i>',
145 '<b>',
146 '</b>'
147 );
148 ?>
149 </p>
150 </div>
151 </div>
152
153 <div class="cb-faq__container">
154 <h3 class="cb-faq__question"><?php esc_html_e( 'Update your script tags', 'cookiebot' ); ?><span
155 class="cb-faq__toggle"></span></h3>
156 <div class="cb-faq__answer">
157 <p class="cb-faq__answer__content">
158 <?php
159 esc_html_e(
160 '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".',
161 'cookiebot'
162 );
163 ?>
164 </p>
165 <p class="cb-faq__answer__content">
166 <?php
167 printf(
168 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
169 esc_html__( 'Example on modifying an existing Google Analytics Universal script tag can be found %1$shere in step 4%2$s.', 'cookiebot' ),
170 '<a href="https://www.cookiebot.com/en/manual-implementation/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner" target="_blank" rel="noopener">',
171 '</a>'
172 );
173 ?>
174 </p>
175 <code class="cb-faq__code">
176 <?php
177 $output = "<script type=\"text/plain\" data-cookieconsent=\"statistics\">
178 (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');
179 ga('create', 'UA-00000000-0', 'auto');
180 ga('send', 'pageview');
181 </script>";
182 echo nl2br( esc_html( $output ) );
183 ?>
184 </code>
185 </div>
186 </div>
187
188 <div class="cb-faq__container">
189 <h3 class="cb-faq__question"><?php esc_html_e( 'Helper function to update your scripts', 'cookiebot' ); ?>
190 <span class="cb-faq__toggle"></span></h3>
191 <div class="cb-faq__answer">
192 <p class="cb-faq__answer__content">
193 <?php
194 esc_html_e(
195 'You can update your scripts yourself. However, Cookiebot CMP also offers a small helper function that can make the work easier.',
196 'cookiebot'
197 );
198 ?>
199 </p>
200 <p class="cb-faq__answer__content">
201 <?php esc_html_e( 'Update your script tags this way:', 'cookiebot' ); ?>
202 </p>
203 <?php
204 printf(
205 // translators: %1$s refers to the original script tag HTML, and %2$s refers to its replacement
206 esc_html__( '%1$s to %2$s', 'cookiebot' ),
207 '<code class="cb-faq__code">' . esc_html( '<script type="text/javascript">' ) . '</code>',
208 '<code class="cb-faq__code">' . esc_html( '<script<?php echo function_exists(\'cookiebot_assist\') ? cookiebot_assist(\'marketing\') : \' type="text/javascript"\' ?>>' ) . '</code>'
209 );
210 ?>
211 </div>
212 </div>
213 </div>
214 </div>
215 </div>
216 </div>
217