WingifyGuides

How to Show the Wingify Engage Opt-In Box on Specific Web Pages

You can customize and have the opt-in box only on some of your website pages.

To enable the opt-in box only on your preferred web pages:

  1. Disable global opt-in by clicking on Settings - Opt-in tab - No Opt-in from the dashboard. Please make sure that you click on ‘Save’ after making the changes on the Settings page

  2. Copy-paste JavaScript code on your specific web pages

    After it is disabled globally, please specifically copy-paste the following javascript code on the web pages where you'd like the opt-in to be displayed.

    <script>
      window._pcq = window._pcq || [];
      window._pcq.push(['triggerOptIn']); //Calls triggerOptIn with default text and default segment(global)
    </script>
    

For complete documentation on opt-ins, see our API documentation page.

This code can be safely deployed with Google Tag Manager or other such tools.

#Need more help?

For further assistance or more information, contact Wingify Support.