Once you have followed the steps to integrate web push into your website, you may need to check if the JavaScript tag that launches Batch is correctly added to your website.

Here is how to do it using Firefox and chromium-based web browsers:

A) Chromium-based browsers (Chrome, Edge...)

Right-click anywhere on your website, then click "Inspect".

  1. In the section that opens, press Ctrl + F (on Windows) or ⌘+F (on Mac) to open the search bar.

  2. Look for text contained in the tag (for example " batchsdk( ").

  3. Press ⏎ Enter on your keyboard until you see the code of the tag:

B) Firefox

Right-click anywhere on your website then click "Inspect Element".

  1. In the section that opens, press Ctrl + F (on Windows) or ⌘ + F (on Mac) to open the search bar.

  2. Look for text contained in the tag, for example, " batchsdk( ".

  3. Press ⏎ Enter on your keyboard until you see the code of the tag:

Can't find the JavaScript tag?

Check the following options:

  • You may also have added the JavaScript tag as an external script. For example:

<script async="" src="//static/js/pushweb.min.js"></script>

In this case, ensure that this reference is available in the source code of the page (as described above) and that the referenced script corresponds to the tag.

Need more help?

If you have any questions, don't hesitate to ping us at support@batch.com, or directly on the live-chat!

Did this answer your question?