Skip to main content
All CollectionsGetting startedTesting the implementation
How can I check that Batch JavaScript tag is available on my website?
How can I check that Batch JavaScript tag is available on my website?

Follow this guide to ensure that the JavaScript tag has been added to the pages of your website.

Lucie avatar
Written by Lucie
Updated over a week ago

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!


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?