> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Is the Mobile Webpage Refreshed Repeatedly for OSM Users?

> Mobile webpage refreshing repeatedly when an OSM campaign runs? Fix the mismatch between campaign expiry time and countdown timer in MoEngage.

## 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.

![](https://mintcdn.com/moengage/rmgWdhG7TCISpEIz/images/moengage_d6b446.png?fit=max\&auto=format\&n=rmgWdhG7TCISpEIz\&q=85\&s=aa255ada37bbc6ba041b5b1a6a9eb47e)

## 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

1. Move the redirection URL from a `<div>` to a `button` to prevent immediate redirection when the OSM loads.
2. Ensure that the campaign expiry time and the countdown timer expiry time are exactly the same.Countdown timer expiry time:

   ![5th july mobile 2.png](https://mintcdn.com/moengage/VqQHPleQ9qk_ZsLR/images/moengage_557b1e.png?fit=max\&auto=format\&n=VqQHPleQ9qk_ZsLR\&q=85\&s=25f417866959dd1d5b2ff6feb284c600)

   Campaign expiry time:

   ![Untitled design (12).png](https://mintcdn.com/moengage/-uVFLyK4XoHTd5WE/images/moengage_204163.png?fit=max\&auto=format\&n=-uVFLyK4XoHTd5WE\&q=85\&s=fb816981612dc78c956b57c697925ec7)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.