Hi @aahulsebos ,
Thanks for providing the above information. I think now I got some clarity on the subject.
The Issue
That is an interesting issue. Let me explain my understanding on the issue.
1. Complianz check all JavaScript’s content to see if it contains any social media link (instagram in our case). If it finds any link in the script, it allow script to run only after user consent.
2. Podcast player send all podcast data to front end of the website in the form of an inline JavaScript. It includes podcast episode title, description and other related info. This information is displayed as and when required.
3. @uiuiui7 , your podcast episode’s description contains instagram links. In simple words, you have added instagram link in the content of your podcast episodes. Which should be absolutely fine.
4. Since inline Javascript (mentioned in above point 2) contains podcast episode description, it obviously also contains the instagram link available in the episode description.
5. Complainz think since the script has instagram links, therefore it must be blocked.
The solution
Solution 1. @uiuiui7, if you don’t need to display your podcast episode’s description in the player. Just go to podcast player widget OR block, Now go to “Show/Hide Player Items”, Now click on “Hide Episode Text Content/Transcript.” It will remove the episode description and thereby remove all instagram links. If you are using podcast player shortcode, just use hide_content="true"
in the shortcode.
Solution2. @aahulsebos , I understand that your plugin is doing exactly what is supposed to do. However, podcast player’s inline script (id=”pppublic-js-extra”) only contains data to be displayed on front-end after some user interaction (It is just temporary data storage). So is it possible to just allow that script to run?
@aahulsebos , What can we do so that we can contain the required data in the script and at the same time get whitelisted by Complianz?
Please inform if you need more clarification on the same.
Thanks,