Hi @christophvh – thanks for reaching out and apologies for the inconvenience.
I will need to forward this to our lead developer to provide further insights regarding your query.
We appreciate your patience.
@christophvh – Ok I just checked 2 sites that use the plugin in the latest version and one that is a few versions behind, none include the //. Nor can I find in our code where that could come from.
– https://github.com/PopupMaker/Popup-Maker/blob/master/classes/Site/Assets.php#L217
– https://github.com/PopupMaker/Popup-Maker/blob/master/assets/js/src/site/plugins/pum-analytics.js#L21-L34
Our site for example has a root url of https://wppopupmaker.com/wp-json/pum/v1 with no / on the end, and then we append /analytics/ which results in the correct url: https://wppopupmaker.com/wp-json/pum/v1/analytics/?event=open&pid=198662&_cache=1602790613307
My guess is something is appending that last slash via a filter on rest_url( 'pum/v1' ) which is a built in function for WP core, not something we maintain.
Hope that helps. If your issue is resolved please take a moment to rate and review the plugin or support.
If you still need help please message us directly at https://wppopupmaker.com/support/.