Skip to content

Multiple GTM containers in vue throws errors in production #237

@sadelokiki

Description

@sadelokiki

I am able to add multiple ids in the id array and it loads well and properly adds the script on local
However, when the code makes it to production, it throws invalid errors because the IDs are getting concatenated(probably due to minified files, not sure). How can I fix this?

Pictures of local and deployed version are attached

Screen Shot 2022-07-28 at 2 54 41 PM

Screen Shot 2022-07-28 at 2 56 48 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions