# iFrame events not coming through correctly

**URL:** <https://forums.rocket.chat/t/iframe-events-not-coming-through-correctly/22846>\
**Category:** Community Support\
**Tags:** docker\
**Created:** [May 8, 2026, 9:00am UTC](https://forums.rocket.chat/t/iframe-events-not-coming-through-correctly/22846 "2026-05-08T09:00:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ollie](https://avatars.discourse-cdn.com/v4/letter/o/a87d85/32.png) [@Ollie](https://forums.rocket.chat/u/Ollie)\
**Post date:** [May 8, 2026, 9:00am UTC](https://forums.rocket.chat/t/iframe-events-not-coming-through-correctly/22846/1 "2026-05-08T09:00:41Z")

</div>

### Description

Using an embedded iFrame of RocketChat on my website, previously I was using detection of the `startup` iFrame event to run a login script. However, now it seems unable to get the `startup` event through, but still RocketChat is sending through the `Custom_Script_Logged_Out` event.  
Does anyone know why I might not be getting the `startup` event anymore? As per RocketChat’s docs, it’s simply an event fired when the iFrame initialises.

I was on Rocket.Chat version 7.13.2 but have since upgraded to 8.4.0 and also done the necessary changes to MongoDB moving it away from 6/7 on bitnami to the official image for 8.2.7. This doesn’t appear to have made any change for the above issue.

Many thanks in advance for any help!

### Server Setup Information

- Version of Rocket.Chat Server: 8.4.0
- Operating System: Ubuntu 22.04.3 LTS
- Deployment Method: Docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 22.16.0 - x64
- MongoDB Version: 8.2.7
- Proxy: Traefik v3.4
- Firewalls involved: ufw (Uncomplicated Firewall) with ports 80 & 443 manually opened.

To add, my settings should be working correctly for iFrame events:

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/f/fad2292dd23c28ab4965c088c307a3bdfbaabe82.png)
