> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-gr001-flows-limits.mintlify.site/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.

<img src="https://mintcdn.com/moengage-gr001-flows-limits/g9i6W_8uJVulpqzS/images/moengage_d6b446.png?fit=max&auto=format&n=g9i6W_8uJVulpqzS&q=85&s=09d15e71bc7a1a208f316b12f8942ae4" width="972" height="762" data-path="images/moengage_d6b446.png" />

## 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:
   <img alt="5th july mobile 2.png" src="https://mintcdn.com/moengage-gr001-flows-limits/uiMMNntXH1eQbZiM/images/moengage_557b1e.png?fit=max&auto=format&n=uiMMNntXH1eQbZiM&q=85&s=f0b037840a176d96dd89e2e5898a6be4" width="830" height="484" data-path="images/moengage_557b1e.png" />
   Campaign expiry time:
   <img alt="Untitled design (12).png" src="https://mintcdn.com/moengage-gr001-flows-limits/36rlKbDGyJKwW-j6/images/moengage_204163.png?fit=max&auto=format&n=36rlKbDGyJKwW-j6&q=85&s=02f548c6a0fb82192c6512384dd2630b" width="898" height="372" data-path="images/moengage_204163.png" />
