Sign in

Uncaught SyntaxError: Unexpected token ‘<'

  • This topic has 2 replies, 2 voices, and was last updated 1 year, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8129
    Avatar photoDawn

    Hey there, Whenever I accept my cookies I get this error in the console. I am using technews template. If anyone could shed some light it would be helpful. My blog can be visited by clicking here

    The error I’m getting can be viewed here

    #8130
    Avatar photoTomasz Dziuda

    Hi,

    You have a bug in your GTM code – are you using Google Analytics plugin or did you embed it by yourself?

    If you are using  Google Analytics plugin for Publii – please make sure that your custom code option does not contains script tags – because your current problem looks like script tag inside script tag.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #8131
    Avatar photoDawn

    Oh, ye I was indeed putting a script tag inside a script tag. Its fixed now, Thanks 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Uncaught SyntaxError: Unexpected token ‘<'’ is closed to new replies.