> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-analytics-query-api-docs.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-analytics-query-api-docs/VA7EbWABunFQ0gfA/images/moengage_d6b446.png?fit=max&auto=format&n=VA7EbWABunFQ0gfA&q=85&s=497700ee51abf55670cf35abb3660c30" 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-analytics-query-api-docs/nZu1UfmK3xhnLqhR/images/moengage_557b1e.png?fit=max&auto=format&n=nZu1UfmK3xhnLqhR&q=85&s=c0ef7d2e5343e7ddbe27222cdbbf4fa2" width="830" height="484" data-path="images/moengage_557b1e.png" />
   Campaign expiry time:
   <img alt="Untitled design (12).png" src="https://mintcdn.com/moengage-analytics-query-api-docs/mRQ1JZ0HlweVAOSg/images/moengage_204163.png?fit=max&auto=format&n=mRQ1JZ0HlweVAOSg&q=85&s=072f06298ec228e3737d75dfd2ac9503" width="898" height="372" data-path="images/moengage_204163.png" />
