If you have implemented your own custom subscription prompt but are still seeing the default Pushwoosh prompt appear (sometimes with the default logo), it's likely because the default prompt has not been disabled in your site's code. This can cause two prompts to overlap and interfere with the subscription process.
To fix this and ensure only your custom prompt is used, you need to explicitly disable the default one within your Pushwoosh initialization code. Add the subscribePopup: { enable: false } option to your Pushwoosh.init configuration block.
Here is an example:
Pushwoosh.push(['init', {
logLevel: 'debug',
applicationCode: 'YOUR_APPLICATION_CODE',
// ... other settings
subscribePopup: {
enable: false // This line disables the default prompt
}
}]);
By adding this line, you prevent the default prompt from appearing, allowing your custom implementation to function as expected.
Comments
0 comments
Please sign in to leave a comment.