PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.4.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.4.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 / 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 debug-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
204 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 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-main-btn"
33 rel="noopener">
34 <?php
35 esc_html_e(
36 'Visit Cookiebot CMP Help Center',
37 'cookiebot'
38 );
39 ?>
40 </a>
41 </div>
42 <div class="cb-support__video__card">
43 <div class="cb-support__video__inner">
44 <h2 class="cb-support__video__title"><?php esc_html_e( 'Video guide', 'cookiebot' ); ?></h2>
45 <div class="cb-main__video">
46 <iframe src="https://www.youtube.com/embed/1-lvuJa42P0"
47 title="Cookiebot WordPress Installation"
48 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
49 allowfullscreen></iframe>
50 </div>
51 </div>
52
53 </div>
54 </div>
55
56 <div class="cb-faqs">
57 <h2 class="cb-support__info__title">FAQ:</h2>
58 <div class="cb-faq__container cb-faq--opened">
59 <h3 class="cb-faq__question"><?php esc_html_e( 'How to find my Cookiebot™ ID', 'cookiebot' ); ?><span
60 class="cb-faq__toggle"></span></h3>
61 <div class="cb-faq__answer">
62 <p class="cb-faq__answer__content">
63 <ol>
64 <li>
65 <?php
66 printf(
67 // 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
68 esc_html__( 'Log in to your %1$sCookiebot CMP account%2$s.', 'cookiebot' ),
69 '<a href="https://www.cookiebot.com/' . esc_html( $manager_language ) . '/account/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner" target="_blank" rel="noopener">',
70 '</a>'
71 );
72 ?>
73 </li>
74 <li>
75 <?php
76 printf(
77 // translators: the placeholder strings denote the positions of <b>, </b>, <b> and </b> HTML tags
78 esc_html__( 'Go to %1$s"Settings"%2$s and setup your Cookiebot CMP', 'cookiebot' ),
79 '<b>',
80 '</b>'
81 );
82 ?>
83 </li>
84 <li>
85 <?php
86 printf(
87 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
88 esc_html__( 'Go to the %1$s"Your scripts"%2$s tab', 'cookiebot' ),
89 '<b>',
90 '</b>'
91 );
92 ?>
93 </li>
94 <li><?php esc_html_e( 'Copy the value inside the data-cid parameter - eg.: abcdef12-3456-7890-abcd-ef1234567890', 'cookiebot' ); ?></li>
95 <li>
96 <?php
97 printf(
98 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
99 esc_html__( 'Add %1$s[cookie_declaration]%2$s shortcode to a page to show the declaration', 'cookiebot' ),
100 '<b>',
101 '</b>'
102 );
103 ?>
104 </li>
105 <li><?php esc_html_e( 'Remember to change your scripts as described below', 'cookiebot' ); ?></li>
106 </ol>
107 </p>
108 </div>
109 </div>
110
111 <div class="cb-faq__container">
112 <h3 class="cb-faq__question"><?php esc_html_e( 'Add the Cookie Declaration to your website', 'cookiebot' ); ?>
113 <span class="cb-faq__toggle"></span></h3>
114 <div class="cb-faq__answer">
115 <p class="cb-faq__answer__content">
116 <?php
117 printf(
118 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags
119 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' ),
120 '<b>',
121 '</b>'
122 );
123 ?>
124 </p>
125 <p class="cb-faq__answer__content">
126 <?php
127 printf(
128 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
129 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' ),
130 '<i>',
131 '</i>',
132 '<b>',
133 '</b>'
134 );
135 ?>
136 </p>
137 </div>
138 </div>
139
140 <div class="cb-faq__container">
141 <h3 class="cb-faq__question"><?php esc_html_e( 'Update your script tags', 'cookiebot' ); ?><span
142 class="cb-faq__toggle"></span></h3>
143 <div class="cb-faq__answer">
144 <p class="cb-faq__answer__content">
145 <?php
146 esc_html_e(
147 '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".',
148 'cookiebot'
149 );
150 ?>
151 </p>
152 <p class="cb-faq__answer__content">
153 <?php
154 printf(
155 // translators: the placeholder strings denote the positions of <i>, </i>, <b> and </b> HTML tags
156 esc_html__( 'Example on modifying an existing Google Analytics Universal script tag can be found %1$shere in step 4%2$s.', 'cookiebot' ),
157 '<a href="https://www.cookiebot.com/en/manual-implementation/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner" target="_blank" rel="noopener">',
158 '</a>'
159 );
160 ?>
161 </p>
162 <code class="cb-faq__code">
163 <?php
164 $output = "<script type=\"text/plain\" data-cookieconsent=\"statistics\">
165 (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');
166 ga('create', 'UA-00000000-0', 'auto');
167 ga('send', 'pageview');
168 </script>";
169 echo nl2br( esc_html( $output ) );
170 ?>
171 </code>
172 </div>
173 </div>
174
175 <div class="cb-faq__container">
176 <h3 class="cb-faq__question"><?php esc_html_e( 'Helper function to update your scripts', 'cookiebot' ); ?>
177 <span class="cb-faq__toggle"></span></h3>
178 <div class="cb-faq__answer">
179 <p class="cb-faq__answer__content">
180 <?php
181 esc_html_e(
182 'You can update your scripts yourself. However, Cookiebot CMP also offers a small helper function that can make the work easier.',
183 'cookiebot'
184 );
185 ?>
186 </p>
187 <p class="cb-faq__answer__content">
188 <?php esc_html_e( 'Update your script tags this way:', 'cookiebot' ); ?>
189 </p>
190 <?php
191 printf(
192 // translators: %1$s refers to the original script tag HTML, and %2$s refers to its replacement
193 esc_html__( '%1$s to %2$s', 'cookiebot' ),
194 '<code class="cb-faq__code">' . esc_html( '<script type="text/javascript">' ) . '</code>',
195 '<code class="cb-faq__code">' . esc_html( '<script<?php echo function_exists(\'cookiebot_assist\') ? cookiebot_assist(\'marketing\') : \' type="text/javascript"\' ?>>' ) . '</code>'
196 );
197 ?>
198 </div>
199 </div>
200 </div>
201 </div>
202 </div>
203 </div>
204