> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-unity-sdk-initialization-split.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-unity-sdk-initialization-split/SoJYnBjaY0oGj0G6/images/moengage_d6b446.png?fit=max&auto=format&n=SoJYnBjaY0oGj0G6&q=85&s=0d7a639b2181b1d79f0563f868339c8d" 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-unity-sdk-initialization-split/iLc38Cclwkvn6zmu/images/moengage_557b1e.png?fit=max&auto=format&n=iLc38Cclwkvn6zmu&q=85&s=65dbc2ac665dfdbc712cc34fd7c3277e" width="830" height="484" data-path="images/moengage_557b1e.png" />
   Campaign expiry time:
   <img alt="Untitled design (12).png" src="https://mintcdn.com/moengage-unity-sdk-initialization-split/lyl829Ibss13DAHw/images/moengage_204163.png?fit=max&auto=format&n=lyl829Ibss13DAHw&q=85&s=e2fcdf3dfe4431c805ff971a37c13beb" width="898" height="372" data-path="images/moengage_204163.png" />
