Problem
When the On-site Messaging (OSM) campaign starts, the mobile webpage is refreshed continuously. However, if the campaign is stopped or paused, the refresh stops.
Cause
The issue arises due to a mismatch between the campaign's expiry time and the countdown timer, causing the mobile webpage to be refreshed repeatedly.
Solution
- Move the redirection URL from a
<div>
to abutton
to prevent immediate redirection when the OSM loads. - Ensure that the campaign expiry time and the countdown timer expiry time are exactly the same.
Countdown timer expiry time:
Campaign expiry time: