I have a sticky bar set up here: (wait a few seconds for it to load up)
As you can see, there’s a clickable phone number in this sticky bar. I want to track a GA event when users click on that phone number.
I configured the sticky bar so that it integrates with Google Analytics. I did so by flicking the on/off switch next to “Fire Google Analytics events when this is shown, and when visitors convert.”
The problem: GA does track when the sticky bar gets shown to the user. However, it’s failing to track when the phone number gets clicked. How can I pull this off?
Note that I have GTM set up on the main page. However the sticky bar is an iframe element, so tracking clicks in there is a bit more difficult.