Repro - Mobile Analytics for growth
日本語
Sign Up Back to Dashboard
  • System Requirements
  • Dashboard Guide
  • Development Guide
    • Signup
    • iOS/Android SDK
    • Web
    • Audience API
    • Audience Import(β)
    • Push API
    • User Profile API
    • User Profile Bulk Import
    • NewsFeed API
    • Deletion Targeted User Registration API
    • Booster installation guide
      • Booster installation guide
      • Test Booster
      • How to remove Booster
        • Steps
        • Replace Service Worker file
        • Remove Repro Booster tag
        • Complete removal of disabled browser SW (optional)
    • Mail(β)
  • Release Notes
  • FAQ

How to remove Booster¶

This is the procedure for safely removing Repro Booster.

Steps¶

  1. Switch off Repro Booster (to be performed by Repro)

  2. Replace Service Worker file

  3. Remove Repro Booster tag

Replace Service Worker file¶

Please change sw.js to the following comment-only description Service Worker of Repro Booster registered in the end-user's browser will be replaced by SW that does nothing sequentially and disabled.

// This file is an empty placeholder to safely remove sw.js.
// When installing another service worker with the same name, please overwrite this file.

Note

If you have merged the existing SW and Repro Booster description, please revert to the description before introducing Repro Booster.

Warning

Do not delete sw.js. This action is to safely disable the Service Worker registered in the browser. Please overwrite it when you install another SW with the same name.

Remove Repro Booster tag¶

Please replace the SW file and stop sending Repro Booster tags after a few days.

Note

Although Repro Booster is safely disabled by the above procedure, the SW that does nothing will remain in browsers that did not revisit the site before the Repro Booster tag was removed. To remove the SW registered in the browser, it is necessary to continually issue removal instructions and wait for the user to revisit, please refer to the following process for the procedure.

Complete removal of disabled browser SW (optional)¶

This is an optional task.

If you continue to distribute the following script for removing SWs by GTM or other means, the disabled SWs can be continuously removed.

<script>
  navigator.serviceWorker.getRegistrations().then(serviceworkers => serviceworkers.forEach(sw => sw.unregister()))
</script>

Warning

Please note that this sample code removes all SWs registered at the site, so please be careful with other SWs.

  • « Test Booster
  • Mail(β) »

About Us Careers Terms of Service Privacy Policy Cookie Policy

© 2022 Repro Inc.