Skip to content

Facebook Pixel script and others not loading #29

@Tanisyr

Description

@Tanisyr

Even though your code seems like it should be passing through any script not explicitly blocked in its settings, the app is effectively blocking other scripts that are being created dynamically. I have tried debugging this myself but to no avail. In particular there seems to be an issue in the modifyCreateElement function that is causing normal document.createElement('script') tags to not have their src attribute loaded properly. Have you encountered this before?

When I disable the app optimization my Facebook Pixel sales channel script executes properly again. I would like to be able to use both, please advise.

To reproduce, create a store with the Facebook & Instagram sales channel connected with a Facebook pixel and any other plugin to be optimized. Add the app optimization code and configure it to block the other plugin on the homepage. Using the Facebook Pixel Debugger observe how the pixel code is working on every page but the homepage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions