Hi,
Am confused by this problem: I’m trying to alter an onclick=”_gaq.push event, but can’t find the code to alter it, even though I see it in the page source/”View Page Source” of website browsers.
In the Page Source I see (correctly):
<h2 style="text-align: center; color: #000000;"><strong><em><a href="tel:123-xxx-xxxx" onclick="_gaq.push(['_trackEvent', 'Click-to-Call', 'dial', 'home-page-center']);">CALL (916) 624-9656</a></em></strong></h2>
When I navigate to the text block in the Avia Layout Builder to try and edit it, I only get:
<h2 style="text-align: center; color: #000000;"><strong><em><a href="tel:123-xxx-xxxx">CALL (123)-xxx-xxxx</a></em></strong></h2>
Thoughts?
Thanks,
Eric
Hi esotEric!
I replaced the “Textblock” element with a code block – it enables you to edit the raw html code and it won’t strip the onclick event code.
Regards,
Peter
Hi Peter! Great! I’ll use code block, instead of text block, with in-page Google Tags from now on. Thank you.
Cheers,
Eric