Popup Triggered Multiple Times on Page Load with URL Parameter – How to Limit to One Instance?

I’m stuck with the following issue. I’m trying to open a popup when a page loads using a URL parameter. The problem is that the workflow triggers three times, causing the popup to open three times. I’d appreciate any information that could help me.