How to add variables / custom data to custom scripts
This article is intended for at least intermediate JavaScript developers TLDR. WP Full Picture stores most of trackable information in fpdata JS variable which works similarly to datalayer. Check its contents in browser’s console. Detailed information You can easily use in your custom scripts full range of information – from simple, like page titles or…