Popups in Calls to Action
Links in call to action content typically are re-written to be tracked, which in the cases of LeadBoxes Plugin causes the popup functionality to break.
To solve this while keeping our link tracking capabilities we will need to add a ‘do-not-track’ class id to the html link to turn off standard tracking and then a new class id ‘leadbox-track-me’ to turn on a listener that will track leadbox clicks. Like this:
<a href=’http://www.calltoactionlinkhere’ class=’do-not-track leadbox-track-me’>Link anchor text</a>
Then we will need to add this code to our active theme’s functions.php file to enable conversion tracking on call to action links containing the ‘leadbox-track-me’ class is:
(Visited 565 time, 63 visit today)