Chartbeat custom scipt on head
-
Hi,
I try to add my own script at the header of the Web Story page.
The Chartbeat for AMP needes to use aplication/json, I try use the hook ‘web_stories_story_head’, but seems like to work only with <meta> tags , removing anything different.
And example of the code I need to implement:<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script><amp-analytics type="chartbeat"><script type="application/json">{
"vars": { (...) }
}
</script></amp-analytics>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.