Nested Pop-Ups (Show Pop-Up On CTA Click)

How to: set up a promotion with a CTA button to show a second promo without closing the first (e.g., Terms of Service).


1. Setup a promotion that has a CTA button and input a value into the Data-ID field: in this case, the value is 'terms_cta'

set input value



2. Setup a second promotion to your specifications that has the information you want to show via the CTA button click that was set up in the first promotion.


cta button



3. Pull the promotion ID (also denoted as cmid) from the promotion management view and navigate to the design canvas interface for the promotion that contains the CTA layer. Input the following code snippet into the Pop Up JS tab within the Custom Code section, change 'cmid' (in the code snippet) to the ID of the second promotion (in this case 314797) and toggle it ON:




tags: Nested Promo, Terms of Service, Message, Messaging