Please refer to the correct set of instructions for your website. There is one extra step needed to install everything on an HTTPS site vs an HTTP site. 


For HTTPS users


As an HTTPS website you need to install our Subscribers javascript code and install a service worker for the browsers. 


1. Please copy and paste the following javascript code right before the </body> tag on all pages.


<script type="text/javascript">
  var subscribersSiteId = 'ENTER SITE ID HERE';
</script>
<script type="text/javascript" src="https://cdn.subscribers.com/assets/subscribers.js"></script>


2. Replace the ENTER SITE ID HERE text in the code snippet above with your Site ID. To find your Subscriber Site ID follow these steps: 1) sign in to your Subscribers site, 2) make sure you are on the correct site, 3) click on Site Settings and 4) copy the Site ID you see here.



3. Next, please download the service worker file on https://app.subscribers.com/service_worker and install it in the root directory of the application. It should appear as:



We've written an article that shows you how to do this here: Installing Service Worker


4. Once these 2 steps are complete, please sign in to your Subscribers account and click on Installation from the dropdown menu. Then at the bottom of this page click on Verify.



5. If you’ve received this message, you’ve installed it and verified it. You should now go to your website and become your very first subscriber!



6. If you receive a failed message, please try troubleshooting based on any error messages we display. If you are confident you have installed the code correctly you can override the verification tool manually by clicking here.



For HTTP users


As an HTTP website all you need to install our Subscribers javascript code. 


1. Please copy and paste the following javascript code right before the </body> tag on all pages.


<script type="text/javascript">
  var subscribersSiteId = 'ENTER SITE ID HERE';
</script>
<script type="text/javascript" src="https://cdn.subscribers.com/assets/subscribers.js"></script>


2. Replace the ENTER SITE ID HERE text in the code snippet above with your Site ID. To find your Subscriber Site ID follow these steps: 1) sign in to your Subscribers site, 2) make sure you are on the correct site, 3) click on Site Settings and 4) copy the Site ID you see here.



3. Once these 2 steps are complete, please sign in to your Subscribers account and click on Installation from the dropdown menu. Then at the bottom of this page click on Verify.



4. If you’ve received this message, you’ve installed it and verified it. You should now go to your website and become your very first subscriber!



5. If you receive a failed message, please try troubleshooting based on any error messages we display. If you are confident you have installed the code correctly you can override the verification tool manually by clicking here.



Here's a demo video on how to install Subscribers on HTTP site: