> For the complete documentation index, see [llms.txt](https://doc.batch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.batch.com/developer/technical-guides/how-to-guides/web.md).

# Web

- [How to send data from a GTM Server-Side container to Batch?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-send-data-from-a-gtm-server-side-container-to-batch.md): Here is how to send events from a GTM Server-Side container to Batch using a custom HTTP Request tag.
- [How to trigger the native notification permission prompt on Firefox and Safari?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-trigger-the-native-notification-permission-prompt-on-firefox-and-safari.md): Adapting your web push implementation to display Firefox and Safari's native permission prompt using user gestures.
- [How to integrate Batch's snippet (ECMAScript 6) using a Tag Manager?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-integrate-batchs-snippet-ecmascript-6-using-a-tag-manager.md): Here is how to integrate Batch scripts using a Tag Manager that does not support the most recent JavaScript versions.
- [How to test web push on the development environment?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-test-web-push-on-the-development-environment.md): Here is all you need to know to review your web push integration in a preprod environment.
- [How to configure the display time of web push notifications?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-configure-the-display-time-of-web-push-notifications.md): You can change the display duration of the web push notifications you receive from your computer's settings.
- [How to integrate Batch's snippet using Google Tag Manager?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-integrate-batchs-snippet-using-google-tag-manager.md): You can integrate Batch web push using GTM.
- [How do I enable iOS Web Push notifications on my PWA website?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-integrate-batchs-snippet-using-google-tag-manager/how-do-i-enable-ios-web-push-notifications-on-my-pwa-website.md)
- [How to check that Batch JavaScript tag is available on my website?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-check-that-batch-javascript-tag-is-available-on-my-website.md): Follow this guide to ensure that the JavaScript tag has been added to the pages of your website.
- [How to include web push with Content Security Policy rules?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-include-web-push-with-content-security-policy-rules.md): Depending on your environment, you may need to configure your website to authorize Batch.
- [How to allow users to manage their push preferences from my website?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-allow-users-to-manage-their-push-preferences-from-my-website.md): You can integrate a custom toggle switch into your website to manage web push notifications easily (opt-in and opt-out).
- [How to integrate Web Push with Salesforce Commerce Cloud?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-integrate-web-push-with-salesforce-commerce-cloud.md): Here is a step-by-step guide on how to integrate Batch into your website managed with SalesForce Commerce Cloud.
- [How to migrate my website to Batch?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-migrate-my-website-to-batch.md): Here is everything you need to know on how to migrate your tokens from your current web push provider to Batch.
- [How to test my Web Push integration?](https://doc.batch.com/developer/technical-guides/how-to-guides/web/how-to-test-my-web-push-integration.md): Follow this guide to make sure Batch is integrated correctly into your website before going live.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.batch.com/developer/technical-guides/how-to-guides/web.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
