I wonder how I can run some javascript in a subpage that I load?
Is using componentUrl the only way I can do it?
Or can I somehow load a full html page with html, body and everything, so javascript works as well when it loads?
Im trying to get Facebook pixel code to load in a subpage and I need to have both the FB init script and to be able to set the og meta tags for adding my products to my Facebook catalog.
And the only way I can make it work as far as I know is to be able to run javascript in the subpage and not in my index page.
Has anybody worked with Facebook pixel in order to add products to their Facebook shop?
Any input really appreciated, thanks.