0
Under review

Global Javascript Variable/Cookie to prevent modals from displaying

Ian Banks 9 years ago updated by Chad Williams 9 years ago 1

There are several architecture patterns for which it would be helpful to prevent modals from displaying for end users.


  • User lands on donation form/store page
  • User lands on lead gen landing page w/ form
  • User lands on confirmation page after taking some action
  • User takes action on a SimplePath modal

Since every organization has a different url structure for donation pages, landing pages, confirmation pages, etc. it would be great to have the ability to set a javascript variable and/or cookie for when a user takes an action, or lands on one of those pages, to not trigger a modal popup.

Answer

Answer
Under review

Thanks for the feedback, Ian! If I'm understanding your question, correctly, I think both of these can currently be handled:

  • Items 1-3 above, you are requesting to prevent the CTA to show, based on a specific URL. You can currently manage these by setting the URL to be excluded at either the global settings (let us know, and we'll add them to the global exclude list), or for each CTA ("CTA > Audience" page under "Current Page URL").
  • For the last item, you can set the frequency a person will see the CTA in: "CTA > CTA Settings" page under "Trigger" and "Visible," where you can set how frequent a person would see each CTA. However, please note: if a person frequently wipes out their cookies/cache, that time period would be reset each time.

If neither of these two methods don't handle what you are after, please let us know! Thanks,

Chad


Answer
Under review

Thanks for the feedback, Ian! If I'm understanding your question, correctly, I think both of these can currently be handled:

  • Items 1-3 above, you are requesting to prevent the CTA to show, based on a specific URL. You can currently manage these by setting the URL to be excluded at either the global settings (let us know, and we'll add them to the global exclude list), or for each CTA ("CTA > Audience" page under "Current Page URL").
  • For the last item, you can set the frequency a person will see the CTA in: "CTA > CTA Settings" page under "Trigger" and "Visible," where you can set how frequent a person would see each CTA. However, please note: if a person frequently wipes out their cookies/cache, that time period would be reset each time.

If neither of these two methods don't handle what you are after, please let us know! Thanks,

Chad