> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-doc-2298-s2s-type-case-sensitive.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-doc-2298-s2s-type-case-sensitive/mjatFZVT9OZ7HgFp/images/moengage_d6b446.png?fit=max&auto=format&n=mjatFZVT9OZ7HgFp&q=85&s=63e1fdc077438e1b4dbc1ccb3bba6934" 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-doc-2298-s2s-type-case-sensitive/yddM2Gw9NzXwsWtt/images/moengage_557b1e.png?fit=max&auto=format&n=yddM2Gw9NzXwsWtt&q=85&s=3f746f20d0b1b64aaeca826feadc0b4c" width="830" height="484" data-path="images/moengage_557b1e.png" />
   Campaign expiry time:
   <img alt="Untitled design (12).png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/mWiSLdL4JbedBdDN/images/moengage_204163.png?fit=max&auto=format&n=mWiSLdL4JbedBdDN&q=85&s=d712cc12c64fcf9ba1d5a6fcfec40e89" width="898" height="372" data-path="images/moengage_204163.png" />
