# Create an interstitial page/option for users who haven't visited the site before

**URL:** <https://forum.umbraco.com/t/create-an-interstitial-page-option-for-users-who-havent-visited-the-site-before/7272>\
**Category:** Questions\
**Tags:** v15, v17\
**Created:** [January 21, 2026, 10:55pm UTC](https://forum.umbraco.com/t/create-an-interstitial-page-option-for-users-who-havent-visited-the-site-before/7272 "2026-01-21T22:55:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkehren](https://forum.umbraco.com/user_avatar/forum.umbraco.com/bkehren/32/2583_2.png) [@bkehren](https://forum.umbraco.com/u/bkehren)\
**Post date:** [January 21, 2026, 10:55pm UTC](https://forum.umbraco.com/t/create-an-interstitial-page-option-for-users-who-havent-visited-the-site-before/7272/1 "2026-01-21T22:55:16Z")

</div>

I have a requirement to create an option to have a visitor select from a list of options to continue to a specific part of the site if they’ve not been to the site before. How I’d see it working is if a cookie or stored value is empty for the visitor, then this option displays for the user to select from this list:

1. Professional
2. Residential
3. Business
4. Personal

When they select one of those options above, that value would be stored and they’d be directed to a given section on the site. Being newer to Umbraco, I’m not sure where I might capture this event, middleware, home page, somewhere else? Should it be a client action or a server action? My gut tells me I should make it a server action and register it in the middleware, however, maybe I’m overengineering it.

Does anyone have some experience they can share with me regarding this?

---

<div class="post-metadata">

**Author:** ![huwred](https://forum.umbraco.com/user_avatar/forum.umbraco.com/huwred/32/163_2.png) [@huwred](https://forum.umbraco.com/u/huwred)\
**Post date:** [January 22, 2026, 6:38am UTC](https://forum.umbraco.com/t/create-an-interstitial-page-option-for-users-who-havent-visited-the-site-before/7272/3 "2026-01-22T06:38:06Z")

</div>

> [@bkehren](#):
>
> I have a requirement to create an option to have a visitor select from a list of options to continue to a specific part of the site if they’ve not been to the site before

Hi Brendan,

Middleware would be a good fit for this and fairly simple as can just be added to the program.cs file, something like

```csharp
app.Use(async (context, next) =>
{
    var hasVisited = context.Request.Cookies.ContainsKey("VisitedBefore");

    if (!hasVisited && !context.Request.Path.StartsWithSegments("/welcome"))
    {
        context.Response.Redirect("/welcome");
        return;
    }

    await next();
});

```

Then create your welcome page and controller to handle the selection

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [February 21, 2026, 6:38am UTC](https://forum.umbraco.com/t/create-an-interstitial-page-option-for-users-who-havent-visited-the-site-before/7272/4 "2026-02-21T06:38:20Z")

</div>

Closed on February 21, 2026, 6:38am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
