[Support request] What happens if script in “Elements” is wrong?

Home Forums Support [Support request] What happens if script in “Elements” is wrong?

Home Forums Support What happens if script in “Elements” is wrong?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2158163
    anabella

    Hi,

    I want to add a few scripts (Google Analytics, Linkedin Ads, etc) to my website through the “Elements” option.
    They are Javascript scripts to implement cookies upon consent.

    My question is: is there’s something wrong with that code (scripts), what would happen? Would Generatepress simply not execute the script (but the website will work fine)? Or would an error in the code (script) break the site somehow or display an error in the front-end?

    Thanks in advance.

    #2158177
    Leo
    Staff
    Customer Support

    Hi there,

    Or would an error in the code (script) break the site somehow or display an error in the front-end?

    This would be the likely scenario as elements cannot tell whether a script is correct or not.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.