<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Push Archive - CleverPush</title>
	<atom:link href="https://wp-stage.cleverpush.com/en/support-category/web-push/feed/" rel="self" type="application/rss+xml" />
	<link>https://wp-stage.cleverpush.com/en/support-category/web-push/</link>
	<description></description>
	<lastBuildDate>Thu, 09 Sep 2021 18:46:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>How to use the CleverPush WordPress Plugin</title>
		<link>https://wp-stage.cleverpush.com/en/support/how-to-use-the-cleverpush-wordpress-plugin/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 13 Apr 2021 08:51:17 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2535</guid>

					<description><![CDATA[<p>In this short guide we will introduce you to the integration of the CleverPush WordPress plugin. &#160; Step 1: Install the WordPress plugin Navigate to &#8220;Plugins -&#62; Install&#8221; in WordPress Then enter &#8220;CleverPush&#8221; in the search at the top right. Install and activate the CleverPush plugin. &#160; Step 2: Enter API data Then navigate in [&#8230;]</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-to-use-the-cleverpush-wordpress-plugin/">How to use the CleverPush WordPress Plugin</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this short guide we will introduce you to the integration of the CleverPush WordPress plugin.</p>
<p>&nbsp;</p>
<p><strong>Step 1: Install the WordPress plugin</strong></p>
<p>Navigate to &#8220;Plugins -&gt; Install&#8221; in WordPress</p>
<p><img decoding="async" class="alignnone wp-image-2316" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.55.16.png" alt="" width="192" height="160" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.55.16.png 322w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.55.16-300x250.png 300w" sizes="(max-width: 192px) 100vw, 192px" /></p>
<p>Then enter &#8220;CleverPush&#8221; in the search at the top right. Install and activate the CleverPush plugin.</p>
<p>&nbsp;</p>
<p><strong>Step 2: Enter API data</strong></p>
<p>Then navigate in WordPress to &#8220;Settings -&gt; CleverPush&#8221;</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-2318" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.56.53.png" alt="" width="194" height="363" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.56.53.png 322w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.56.53-160x300.png 160w" sizes="(max-width: 194px) 100vw, 194px" /></p>
<p>Enter the API access data, which can be found in the CleverPush Backoffice under <a href="https://cleverpush.stage.dymatrix.com/app/settings/api" target="_blank" rel="noopener"><strong>Settings -&gt; API</strong></a> and save them.</p>
<p><img decoding="async" class="alignnone wp-image-2320" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55.png" alt="" width="754" height="339" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55.png 1632w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55-300x135.png 300w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55-1024x461.png 1024w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55-768x345.png 768w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.58.55-1536x691.png 1536w" sizes="(max-width: 754px) 100vw, 754px" /></p>
<p>Then select the desired channel from the drop-down menu and save again.</p>
<p>When new posts are published, you can now also send push notifications via the sidebar with a click on the right.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2322" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.59.28.png" alt="" width="304" height="102" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.59.28.png 560w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-02-18-at-13.59.28-300x101.png 300w" sizes="auto, (max-width: 304px) 100vw, 304px" /></p>
<p>&nbsp;</p>
<p><span class="wysiwyg-underline"><strong>Step 3: Place files</strong></span></p>
<p>f your website runs over HTTPS, please navigate to Channels -&gt; (select channel) in your CleverPush back office.</p>
<p>There you will find the operating mode setting. Set this option to Own Domain (HTTPS).</p>
<p>The cleverpush-worker.js file can then be downloaded by clicking on the button.</p>
<p>This file must now be placed in the main directory of your web server. So it should be available at https://your-domain.com/cleverpush-worker.js.</p>
<p>&nbsp;</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-to-use-the-cleverpush-wordpress-plugin/">How to use the CleverPush WordPress Plugin</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How can my visitors unsubscribe from notifications?</title>
		<link>https://wp-stage.cleverpush.com/en/support/how-can-my-visitors-unsubscribe-from-notifications/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 20:13:06 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2425</guid>

					<description><![CDATA[<p>It&#8217;s easy, but it&#8217;s a bit different from browser to browser. We would recommend that you link our custom-created FAQ article anywhere on your page (e.g. in the privacy policy).</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-can-my-visitors-unsubscribe-from-notifications/">How can my visitors unsubscribe from notifications?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="faq-entry">
<div class="faq-entry-text clearfix">It&#8217;s easy, but it&#8217;s a bit different from browser to browser.</div>
</div>
<div class="faq-entry">We would recommend that you link our custom-created <a href="https://cleverpush.stage.dymatrix.com/en/faq" target="_blank" rel="noopener">FAQ article</a> anywhere on your page (e.g. in the privacy policy).</div>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-can-my-visitors-unsubscribe-from-notifications/">How can my visitors unsubscribe from notifications?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Customize Notification Bell</title>
		<link>https://wp-stage.cleverpush.com/en/support/customize-notification-bell/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 20:11:35 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2424</guid>

					<description><![CDATA[<p>With CleverPush you have the possibility to insert a notification bell at the bottom of the screen. On the one hand, this can serve as an opt-in button, and for already registered participants, a panel opens when clicked. In the panel, which opens with registered users with a click on the bell, the subscriber can [&#8230;]</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/customize-notification-bell/">Customize Notification Bell</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>With CleverPush you have the possibility to insert a notification bell at the bottom of the screen. On the one hand, this can serve as an opt-in button, and for already registered participants, a panel opens when clicked.</p>
<p class="wysiwyg-text-align-center"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2382" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.14.png" alt="" width="590" height="214" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.14.png 590w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.14-300x109.png 300w" sizes="auto, (max-width: 590px) 100vw, 590px" /></p>
<p class="wysiwyg-text-align-left">In the panel, which opens with registered users with a click on the bell, the subscriber can view the latest notifications and manage basic settings, such as the subscribed subject areas. Even an event is possible with just a few clicks.</p>
<p class="wysiwyg-text-align-center"><img loading="lazy" decoding="async" class="alignnone wp-image-2380" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.12.26.png" alt="" width="308" height="491" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.12.26.png 604w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.12.26-188x300.png 188w" sizes="auto, (max-width: 308px) 100vw, 308px" /><img loading="lazy" decoding="async" class="alignnone wp-image-2378" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.44.png" alt="" width="330" height="529" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.44.png 600w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.11.44-187x300.png 187w" sizes="auto, (max-width: 330px) 100vw, 330px" /></p>
<p class="wysiwyg-text-align-left">Various settings for the bell can be made in the channel settings:</p>
<p class="wysiwyg-text-align-left"><img loading="lazy" decoding="async" class="alignnone wp-image-2376" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.22.32.png" alt="" width="562" height="304" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.22.32.png 1084w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.22.32-300x162.png 300w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.22.32-1024x554.png 1024w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screen-Shot-2018-02-26-at-10.22.32-768x415.png 768w" sizes="auto, (max-width: 562px) 100vw, 562px" /></p>
<p class="wysiwyg-text-align-left">Now you can use the bell as a smart and user-friendly interaction option with your push message system.</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/customize-notification-bell/">Customize Notification Bell</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How can I use my own domain?</title>
		<link>https://wp-stage.cleverpush.com/en/support/how-can-i-use-my-own-domain/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 19:41:35 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2314</guid>

					<description><![CDATA[<p>For this you need a website that can only be accessed via HTTPS. Displaying the confirmation message about your own domain has many advantages: Sent notifications run entirely through their domain, the user does not see a CleverPush subdomain Higher opt-in rates, as users need less clicks Please note that previously collected subscribers can not [&#8230;]</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-can-i-use-my-own-domain/">How can I use my own domain?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>For this you need a website that can only be accessed via HTTPS.</p>
<p>Displaying the confirmation message about your own domain has many advantages:</p>
<ul>
<li>Sent notifications run entirely through their domain, the user does not see a CleverPush subdomain</li>
<li>Higher opt-in rates, as users need less clicks</li>
</ul>
<p>Please note that previously collected subscribers can not be &#8220;transferred&#8221; to the new domain. Of course, you will still be able to post messages to them, however, the CleverPush subdomain will continue to appear with these users.</p>
<p>You should also note that a redirect from HTTP to HTTPS should be set up on your site, as it can cause problems with CleverPush in parallel operation.</p>
<p>If your <span class="wysiwyg-underline">not</span> page is over HTTPS, we can give you the DNS provider <a href="https://cloudflare.com" target="_ blank" rel="noopener">CloudFlare</a>, which will provide you with a free HTTPS certificate on your site. If you have any questions about DNS conversion, contact your domain provider / web host.</p>
<p>&nbsp;</p>
<p><span class="wysiwyg-underline"><strong>Setup</strong></span></p>
<p>If your website is using HTTPS, please navigate to <strong><a href="http://cleverpush.stage.dymatrix.com/app/" target="_blank" rel="noopener">CleverPush Backoffice</a> -&gt; Channels -&gt; (Select channel)</strong>.</p>
<p>You will find the <strong> Operation Mode </strong> setting there. Set this option to <strong>My Domain (HTTPS)</strong>.</p>
<p>The file <strong>cleverpush-worker.js</strong> can be downloaded now by clicking the button.</p>
<p>The file must now be placed in the root directory of your web server. So it should be reachable at <em>https://your-domain.com/cleverpush-worker.js</em>.</p>
<p><em>Note: If you do not have the option to put the file in the main directory of your web page, you can set <strong>your own file paths</strong> under the operating mode setting.</em></p>
<p>This completes setting up your own domain on CleverPush.</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/how-can-i-use-my-own-domain/">How can I use my own domain?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Technical implementation of CleverPush in Websites</title>
		<link>https://wp-stage.cleverpush.com/en/support/technical-implementation-of-cleverpush-in-websites/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 17:17:50 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2301</guid>

					<description><![CDATA[<p>These instructions are aimed at websites with HTTPS encryption. &#160; Requirements &#8211; if not already done: Create a user account at cleverpush.com/register After logging in, create a channel with the type &#8220;Website&#8221; &#160; Implementation Please navigate to Channels -&#62; (select channel) in your CleverPush back office. There you will find the operation mode setting. Set [&#8230;]</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/technical-implementation-of-cleverpush-in-websites/">Technical implementation of CleverPush in Websites</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>These instructions are aimed at websites with HTTPS encryption.</p>
<p>&nbsp;</p>
<p><strong>Requirements</strong> &#8211; if not already done:</p>
<ol>
<li>Create a user account at cleverpush.com/register</li>
<li>After logging in, create a channel with the type &#8220;Website&#8221;</li>
</ol>
<p>&nbsp;</p>
<p><strong>Implementation</strong></p>
<ol>
<li>Please navigate to Channels -&gt; <strong>(select channel)</strong> in your CleverPush back office.</li>
<li>There you will find the <strong>operation mode</strong> setting. Set this option to<strong> Own Domain (HTTPS)</strong>.</li>
<li>The <strong>cleverpush-worker.js</strong> file can then be downloaded by clicking the button.</li>
<li>This file must now be placed in the main directory of your web server. So it should be available at <em>https://your-domain.com/cleverpush-worker.js</em>.<em>Note: If you do not have the option of placing the file in the main directory of your website, you can define your <strong>own file paths</strong> under the operating mode setting.<br />
</em></li>
<li>Now only the CleverPush Javascript snippet has to be integrated. The code for this is available in the channel settings in the sidebar under &#8220;Implementation&#8221;.This can be done in the &lt;head&gt; or in the &lt;body&gt; area of ​​the page.<br />
Google Tag Manager is also possible (with occasional ad blockers blocking the entire GTM code).</p>
<ol>
<li>In the Google Tag Manager, our Javascript code can easily be inserted as a &#8220;user-defined HTML tag&#8221;.<br />
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-2300" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50.png" alt="" width="2592" height="942" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50.png 2592w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50-300x109.png 300w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50-1024x372.png 1024w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50-768x279.png 768w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50-1536x558.png 1536w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2019-04-17-at-19.08.50-2048x744.png 2048w" sizes="auto, (max-width: 2592px) 100vw, 2592px" /></li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
<p><strong>Troubleshooting &#8211; opt-in does not work:</strong></p>
<ul>
<li>Can the worker file be reached with the correct MIME type?
<ul>
<li>cleverpush-worker.js (application/javascript)</li>
</ul>
</li>
<li>Are you installing your own ServiceWorker yourself in parallel? There are 2 options:
<ul>
<li>Integrate the line of code from cleverpush-worker.js in your ServiceWorker and adapt the file path accordingly to your ServiceWorker</li>
<li>Install the CleverPush Worker in a different subdirectory</li>
</ul>
</li>
<li>When using your own file paths:
<ul>
<li>Paths should usually begin with a slash and do not contain any domains or protocols</li>
<li>Paths are absolute and not relative</li>
</ul>
</li>
</ul>
<p>If you have any further problems, please contact our support.</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/technical-implementation-of-cleverpush-in-websites/">Technical implementation of CleverPush in Websites</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Which browsers does CleverPush support?</title>
		<link>https://wp-stage.cleverpush.com/en/support/which-browsers-does-cleverpush-support/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 17:16:15 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2297</guid>

					<description><![CDATA[<p>The following browsers currently support push notifications: Google Chrome (Desktop, Android) Mozilla Firefox (Desktop, Android) Safari (desktop) Opera (Desktop, Android) Samsung Internet (Android) UCWeb (Android) Microsoft Edge (Desktop) Vivaldi and other Chromium based browsers (Desktop, Android) &#160; We also support iOS, Android, Cordova &#38; React Native in native mobile applications (more here).</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/which-browsers-does-cleverpush-support/">Which browsers does CleverPush support?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div id="gt-src-c" class="g-unit">
<div id="gt-src-p">
<div id="gt-src-wrap" class="">The following browsers currently support push notifications:</div>
</div>
</div>
<div id="gt-res-c" class="g-unit">
<div id="gt-res-p">
<div id="gt-res-data">
<div id="gt-res-wrap">
<div id="gt-res-content">
<ul>
<li><span class="" lang="en">Google Chrome (Desktop, Android)<br />
</span></li>
<li><span class="" lang="en">Mozilla Firefox (Desktop, Android)<br />
</span></li>
<li><span class="" lang="en">Safari (desktop)<br />
</span></li>
<li><span class="" lang="en">Opera (Desktop, Android)<br />
</span></li>
<li><span class="" lang="en">Samsung Internet (Android)</span></li>
<li id="gt-res-dir-ctr" class="trans-verified-button-small" dir="ltr"><span id="result_box" class="" lang="en">UCWeb (Android)</span></li>
<li><span id="result_box" class="" lang="en"><span class="">Microsoft Edge (Desktop)</span></span><span id="result_box" class="" lang="en"><br />
</span></li>
<li><span id="result_box" class="" lang="en"><span class="">Vivaldi and other Chromium based browsers (Desktop, Android)</span></span></li>
</ul>
<p>&nbsp;</p>
<p><span id="result_box" class="" lang="en">We also support iOS, Android, Cordova &amp; React Native in native mobile applications (more <a href="https://developers.cleverpush.com/" target="_blank" rel="noopener">here</a>).</span></p>
</div>
</div>
</div>
</div>
</div>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/which-browsers-does-cleverpush-support/">Which browsers does CleverPush support?</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Setup AMP Web Push</title>
		<link>https://wp-stage.cleverpush.com/en/support/setup-amp-web-push/</link>
		
		<dc:creator><![CDATA[Pia Kraus]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 17:13:49 +0000</pubDate>
				<guid isPermaLink="false">https://cleverpush.stage.dymatrix.com/?post_type=support-articles&#038;p=2294</guid>

					<description><![CDATA[<p>If you use AMP (Accelerated Mobile Pages) for your site, and really only then, we will show you in this guide how you still do not have to do without web push notifications. You can also get push entries from AMP users. 3 steps are necessary for this. &#160; 1. Embed Web Push Script Include [&#8230;]</p>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/setup-amp-web-push/">Setup AMP Web Push</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you use <strong>AMP</strong> (<a href="https://en.wikipedia.org/wiki/Accelerated_Mobile_Pages">Accelerated Mobile Pages</a>)<br />
for your site, and really only then, we will show you in this guide how you still<br />
do not have to do without web push notifications. You can also get push entries<br />
from AMP users.</p>
<p>3 steps are necessary for this.</p>
<p>&nbsp;</p>
<h2 id="httpsseiten">1. Embed Web Push Script</h2>
<p>Include the official <code>amp-web-push</code> script inside your<br />
<code>&lt;head&gt;</code>:</p>
<pre><code>&lt;script async custom-element="amp-web-push" src="https://cdn.ampproject.org/v0/amp-web-push-0.1.js"&gt;&lt;/script&gt;
</code></pre>
<h2></h2>
<h2 id="httpsseiten">2. Insert Web Push Element</h2>
<h3 id="httpsseiten">For HTTPS Sites:</h3>
<ol>
<li><a href="https://static.cleverpush.com/download/amp/cleverpush-amp-helper-frame.html" download="cleverpush-amp-helper-frame.html"><code>cleverpush-amp-helper-frame.html</code></a><br />
and<br />
<a href="https://static.cleverpush.com/download/amp/cleverpush-amp-permission-dialog.html" download="cleverpush-amp-permission-dialog.html"><code>cleverpush-amp-permission-dialog.html</code></a><br />
should be downloaded and uploaded to any directory in your site, we recommend<br />
the root directory. The files have to lie in the same directory as the<br />
<code>cleverpush-worker.js</code> file.</li>
<li>Add this code on any place within your <code>&lt;body&gt;</code> of the<br />
AMP code:</p>
<pre><code>&lt;amp-web-push
    id="amp-web-push"
    layout="nodisplay"
    helper-iframe-url="https://DOMAIN.COM/cleverpush-amp-helper-frame.html"
    permission-dialog-url="https://DOMAIN.COM/cleverpush-amp-permission-dialog.html"
    service-worker-url="https://DOMAIN.COM/cleverpush-worker.js"
  &gt;
&lt;/amp-web-push&gt;
</code></pre>
<p>(<code>DOMAIN.COM</code> should be replaced with your AMP site&#8217;s domain)</li>
</ol>
<h3 id="httpseiten">For HTTP Sites:</h3>
<ol>
<li>Folgenden Code an einer beliebigen Stelle im <code>&lt;body&gt;</code><br />
des AMP Quelltexts einfügen:</p>
<pre><code>&lt;amp-web-push
    id="amp-web-push"
    layout="nodisplay"
    helper-iframe-url="https://SUBDOMAIN.cleverpush.com/amp-helper-frame"
    permission-dialog-url="https://SUBDOMAIN.cleverpush.com/amp-permission-dialog"
    service-worker-url="https://SUBDOMAIN.cleverpush.com/worker.js"
  &gt;
&lt;/amp-web-push&gt;
</code></pre>
<p>(<code>SUBDOMAIN</code> should be replaced with the subdomain from your<br />
channel settings)</li>
</ol>
<p>&nbsp;</p>
<h2 id="httpseiten">3. Insert opt-in widget</h2>
<p>So that the user can now also register for the push messages, at least one of<br />
our widgets must be installed.<br />
There are 2 variants that can also be used in combination:</p>
<p>Variant 1: Button widget<br />
Variant 2: Overlay Widget (Beta)</p>
<p>&nbsp;</p>
<h3>Button Widget:</h3>
<ol>
<li>Add the following code within the <code>&lt;head&gt;</code> of your site.<br />
If a <code>&lt;style amp-custom&gt;</code> tag already exists, add the<br />
styles to the existing tag. You can of course customize the styles to<br />
match your branding.</p>
<pre><code>&lt;style amp-custom&gt;
amp-web-push-widget button.subscribe {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 15px;
  cursor: pointer;
  outline: none;
  font-size: 15px;
  font-weight: 400;
  background: #4A90E2;
  color: white;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

amp-web-push-widget button.subscribe .subscribe-icon {
  margin-right: 10px;
}

amp-web-push-widget button.subscribe:active {
  transform: scale(0.99);
}

amp-web-push-widget button.unsubscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  font-size: 15px;
  font-weight: 400;
  background: transparent;
  color: #B1B1B1;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
&lt;/style&gt;
</code></pre>
</li>
<li>Insert the following code where the opt-in button should appear (we recommend<br />
after the content of the article and before the comments):</p>
<pre><code>&lt;amp-web-push-widget visibility="unsubscribed" layout="fixed" width="250" height="80"&gt;
  &lt;button class="subscribe" on="tap:amp-web-push.subscribe"&gt;
    &lt;amp-img
     class="subscribe-icon"
     width="24"
     height="24"
     layout="fixed"
     src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUuMTM3IDMuOTQ1Yy0uNjQ0LS4zNzQtMS4wNDEtMS4wNy0xLjA0LTEuODJ2LS4wMDNjMC0xLjE3Mi0uOTM5LTIuMTIyLTIuMDk3LTIuMTIycy0yLjA5Ny45NS0yLjA5NyAyLjEyMnYuMDAzYy4wMDEuNzUxLS4zOTYgMS40NDYtMS4wNDEgMS44Mi00LjY2NyAyLjcxMi0xLjk4NSAxMS43MTUtNi44NjIgMTMuMzA2djEuNzQ5aDIwdi0xLjc0OWMtNC44NzctMS41OTEtMi4xOTUtMTAuNTk0LTYuODYzLTEzLjMwNnptLTYuNzI4IDEyLjA1NWgtMS44ODJjMS4yNDUtMi43NDEuODc5LTkuMDEyIDMuODczLTEwLjY1NS0xLjc2MSAyLjA2Ny0uOTUgNy41MDQtMS45OTEgMTAuNjU1em0zLjU5MS0xM2MtLjU1MiAwLTEtLjQ0OC0xLTEgMC0uNTUxLjQ0OC0xIDEtMXMxIC40NDkgMSAxYzAgLjU1Mi0uNDQ4IDEtMSAxem0tMyAxOGg2YzAgMS41OTgtMS4zOTMgMy0yLjk3MSAzLTEuNTc5IDAtMy4wMjktMS40MDItMy4wMjktM3oiIGZpbGw9IiNmZmZmZmYiIC8+PC9zdmc+"&gt;
    &lt;/amp-img&gt;
    Enable notifications
  &lt;/button&gt;
&lt;/amp-web-push-widget&gt;

&lt;amp-web-push-widget visibility="subscribed" layout="fixed" width="230" height="45"&gt;
   &lt;button class="unsubscribe" on="tap:amp-web-push.unsubscribe"&gt;Disable notifications&lt;/button&gt;
&lt;/amp-web-push-widget&gt;
</code></pre>
<p>(<code>SUBDOMAIN</code> should be replaced with the subdomain from your<br />
channel settings)</li>
</ol>
<p>&nbsp;</p>
<h3>Overlay Widget:<br />
<img loading="lazy" decoding="async" class="alignnone wp-image-2293" src="https://cleverpush.stage.dymatrix.com/wp-content/uploads/2021/03/Screenshot-2020-09-14-at-17.58.02.png" alt="" width="536" height="130" srcset="https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2020-09-14-at-17.58.02.png 1112w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2020-09-14-at-17.58.02-300x73.png 300w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2020-09-14-at-17.58.02-1024x249.png 1024w, https://wp-stage.cleverpush.com/wp-content/uploads/2021/03/Screenshot-2020-09-14-at-17.58.02-768x186.png 768w" sizes="auto, (max-width: 536px) 100vw, 536px" /></h3>
<ol>
<li>If <code>amp-script</code> is not being used already, add this script<br />
to your <code>&lt;head&gt;</code>:</p>
<pre><code>&lt;script async custom-element="amp-script" src="https://cdn.ampproject.org/v0/amp-script-0.1.js"&gt;&lt;/script&gt;
</code></pre>
</li>
<li>If <code>amp-bind</code> is not being used already, add this script to<br />
your <code>&lt;head&gt;</code>:</p>
<pre><code>&lt;script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"&gt;&lt;/script&gt;
</code></pre>
</li>
<li><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;">Insert the following code within the </span><code style="font-size: 15px;">&lt;head&gt;</code><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;"> of your page. If there is already a </span><code style="font-size: 15px;">&lt;style amp-custom&gt;</code><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;"> tag, please add the following styles within the existing style tag. You can customize the styled to match your branding, of course.<br />
</span></p>
<div>
<pre>.cleverpush-btn {

position: fixed;

z-index: 2;

bottom: 60px;

left: 20px;

background-color: #fa6909;

width: 48px;

height: 48px;

border-radius: 50%;

border: 0;

outline: none;

display: flex;

align-items: center;

justify-content: center; }

.cleverpush-unsubscribe {

opacity: .6;

width: 32px;

height: 32px; }

.cleverpush-confirm {

left: 10px;

right: 10px;

padding: 15px;

bottom: 0;

position: fixed;

background-color: #fff;

border-top-left-radius: 15px;

border-top-right-radius: 15px;

box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); }

.cleverpush-confirm-title {

font-size: 17px;

font-weight: bold;

margin-bottom: 5px; }

.cleverpush-confirm-text {

font-size: 14px;

margin-bottom: 10px;

color: #555; }

.cleverpush-confirm-buttons {

display: flex;

align-items: center;

margin-top: 15px; }

.cleverpush-confirm-button {

color: #555;

background-color: transparent;

padding: 10px;

width: 50%;

margin-right: 5px;

text-align: center;

border: none;

font-size: 16px;

font-weight: bold;

cursor: pointer;

border-radius: 5px; }

.cleverpush-confirm-button:hover {

opacity: 0.9; }

.cleverpush-confirm-button-allow {

background-color: green;

color: #fff;

margin-left: 5px;

margin-right: 0; }

amp-consent {

background: none; }</pre>
</div>
</li>
<li>Download the following script and make it available on your site: <strong>https://static.cleverpush.com/channel/amp/CHANNEL_ID.js</strong> (replace <em>CHANNEL_ID </em>with your channel ID)</li>
<li>Insert the following code <strong>at the top</strong> within<br />
<code>&lt;body&gt;</code> of your page:</p>
<pre><code>    &lt;amp-script layout="fixed-height" height="1" src="<strong>/cleverpush/cleverpush-amp.js</strong>"&gt;
        &lt;div&gt;&amp;nbsp;&lt;/div&gt;

        &lt;amp-web-push-widget visibility="unsubscribed" layout="fixed" width="300" height="300" hidden [hidden]="cleverpushConfirmVisible != true"&gt;
            &lt;div class="cleverpush-confirm"&gt;
                &lt;div class="cleverpush-confirm-title"&gt;Enable push notifications&lt;/div&gt;

                &lt;div class="cleverpush-confirm-text"&gt;Can be disabled at any time in the browser settings&lt;/div&gt;

                &lt;div class="cleverpush-confirm-buttons"&gt;
                    &lt;button id="cleverpush-button-deny" class="cleverpush-confirm-button" on="tap:AMP.setState({cleverpushConfirmVisible: false})"&gt;
                        No, thanks
                    &lt;/button&gt;
                    
                    &lt;button id="cleverpush-button-allow" class="cleverpush-confirm-button cleverpush-confirm-button-allow" on="tap:amp-web-push.subscribe"&gt;
                        Enable
                    &lt;/button&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/amp-web-push-widget&gt;
    &lt;/amp-script&gt;
</code></pre>
<p>Due to the limitations of the total amp-script sizes on one page, we will<br />
always try to keep the script as small as possible, currently it is &lt;1KB<br />
in size.<br />
Hints:<br />
1. If the &lt;amp-script tag is not built into the body at the top, AMP may<br />
not load it until it comes into the visible area. We therefore recommend<br />
installing it as high up as possible.<br />
2. At best, the integrated amp-script is hosted locally so that no amp-script<br />
hash has to be placed in the &lt;head&gt;.</li>
</ol>
<p>Der Beitrag <a href="https://wp-stage.cleverpush.com/en/support/setup-amp-web-push/">Setup AMP Web Push</a> erschien zuerst auf <a href="https://wp-stage.cleverpush.com/en">CleverPush</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
