Yes, of course, you can customize and have the opt-in box only on some of your website pages.
How to enable opt-in box only on your preferred web pages :
- 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 window._pcq = window._pcq || ;
3 window._pcq.push(['triggerOptIn']); //Calls triggerOptIn with default text and default segment(global)\
Complete documentation on opt-ins can be found in our API documentation page.
This code can be safely deployed with Google Tag Manager or other such tools.