Disable Specific Javascript on Page for AMP Only
-
I am getting a minor error with amp pages becuase of a script that is part of my theme. Is there a way to disable specific scripts or javascripts in general so we don’t have any errors in AMP? I haven’t been able to find anything that allows to remove scripts for the page if they are on the AMP Page.
This is the exact error I am getting on my pages.
Only AMP runtime ‘script’ tags are allowed, and only in the document head.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable Specific Javascript on Page for AMP Only’ is closed to new replies.