How to insert amp-script

Posted in: Newspaper
Post count: 12

Hi,

we’re trying to integrate our custom javascript code through the amp-script functionality, which is intended exactly for this kind of use-cases: https://amp.dev/documentation/components/amp-script/

However, no matter how we try to insert our amp-script tag, it always gets automatically removed from the page. Looks like there’s some code which automatically removes unsupported tags. Is that the case?

If so, how can we circumvent this limitation and add a “amp-script” tag?

Thanks

Post count: 21065

Hello @fantalab!

These are the options for the AMP: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
If you want to modify the functionality of AMP, then this will require custom work which is not covered by the support team.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.