• Use Case: The user accesses a url which is subject to an Icegram campaign. The system redirects the user to another url if the popup/overlay will not be shown because of the retargeting settings.

    Question: I need to execute additional Javascript if the popup or overlay is not shown because of the retargeting rules. I’m not sure that checking the icegram_campaign_clicked_ and icegram_campaign_shown_ cookies is going to be reliable because these are not cleared if the retargeting settings are changed. Is there an event I can tap into, or a function I can call to determine if the popup/overlay will be shown? Either PHP or Javascript is fine.

    I have the Icegram Super Bundle.

    https://ww.wp.xz.cn/plugins/icegram/

Viewing 1 replies (of 1 total)
  • Plugin Author Icegram

    (@icegram)

    Hi,

    You have to write a custom code and have to use retargeting rules to detect whether campaign shown or not by reading values from cookies.

    So if cookies is set for campaign then you can redirect the user to URL else campaign will shown.

    Thanks,
    Nishit Shah
    Team Icegram

Viewing 1 replies (of 1 total)

The topic ‘Javascript Action When Popup/Overlay not shown’ is closed to new replies.