When you use Flashy in tag manager and also outside of the tag manager it can cause error, you will be able to see it in the website console "flashy undefined", make sure to add event listener until the Tag Manager loaded with Flashy tag and it's ready to use.