How to inject product.id or shop.id from liquid code to js file in app blocks?

Hi @test6A ,

Try like this ‘{{product.id}}’ , It has worked for us.