Google Analytics Event code being stripped when switching to Visual Editor
-
I noticed the gaq.push portion of my link is being stripped out when I switch to the visual editor. Does anyone know how to stop this from happenning?
When I enter the link to track events in Google Analytics like this –>
<a href="tel:4807857459" onclick="_gaq.push(['_trackEvent', 'Mobile', 'Click to Call'])">480.785.7459</a>
Then I switch to the visual editor and all that’s left is this –>
<a href="4807857459">480.785.7459</a>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Google Analytics Event code being stripped when switching to Visual Editor’ is closed to new replies.