Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Tags not working inside the Shopify app page iframe #483

Closed
mason2205 opened this issue Oct 28, 2023 · 1 comment
Closed

Script Tags not working inside the Shopify app page iframe #483

mason2205 opened this issue Oct 28, 2023 · 1 comment

Comments

@mason2205
Copy link

Issue summary

  • @shopify/shopify-app-remix package and version:
  • Node version: v18.16.0
  • Operating system: MacOS, Linux
// Paste any relevant logs here

Expected behavior

Should allow Content Secure Policy for external chat widget script, ex: tawk.to

Actual behavior

The remix app loading in a iframe and they prevent the loading of external chat widget, so I can't load my chat widget

Steps to reproduce the problem

  1. Following the tawk integration guide: https://help.tawk.to/article/react-js, I added that library & using it in root of my remix component
  2. Open my admin shopify app, then I don't found the chat bubble loading at the right bottom of site
  3. I know that the remix app doesn't allow CSP for the external chat widget. So I guess that's an issue
    Screenshot 2023-10-28 at 10 51 42

I hope the team will give me the solution to fix it.
Thanks & best regard!

@lizkenyon
Copy link
Contributor

Hi there 👋

I am going to close this issue as its is a duplicate of this issue. Please follow along there for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants