Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25229

    UPDATE: I turned off plugins one at a time and found that Yoast’s Google Analytics plugin is the culprit. I reproduced the bug on a clean install of wordpress and enfold as well. Due to the fact that many people are using this plugin, can a solution be found to correct this? Note that this bug ONLY happens if you use a mailto link for the title link field: a link to a webpage is fine

    ________________________

    I am getting a strange effect when I try to add links in an iconbox, the parsing goes strange.

    I have this (note I replaced some of the <> with [] so that the code displays without linking):

    [av_one_third]

    [av_icon_box icon='59' position='top' title='Need Support?' link='manually,mailto:support@MYSITE.com' linktarget='no']

    Please visit our [a href="http://MYSITE.com/support/"]FAQ[/a] if you have not already done so. Else, please contact us at [a href="mailto:support@MYSITE.com"]support@MYSITE.com[/a] or 1.800.555.8697.

    [/av_icon_box]

    [/av_one_third]

    and on the website, the code looks like this:

    <div class="iconbox_icon heading-color avia-font-entypo-fontello"></div>

    <h3 class="iconbox_content_title">

    [a "="" support="" MYSITE.com="" http:="" href="mailto:support@MYSITE.com' title='Need Support?' ]Need Support?[/a]</h3><p>Please visit our [a href="]FAQ[/a]

    if you have not already done so. Else, please contact us at

    [a href="mailto:support@MYSITE.com"]support@MYSITE.com[/a]

    or 1.800.555.8697.

    <p></p>

    </h3>

    </div>

    </div>

    `Note the

    [a “=”” support=”” MYSITE.com=”” http:=”” href=”mailto:support@MYSITE.com’ title=’Need Support?’ ]Need Support?[/a]

    is really weird.

    #126163

    Hi unitedwc,

    I’ll tag the topic for Kriesi to take a look at as its ultimately up to him to add in support for other third party plugins.

    Regards,

    Devin

    #126164

    Hey!

    just tested it and it seems the plugin fetches and converts mailto links, then adds some javascript to it for tracking events. To be honest I have no idea if this is a theme issue or a plugin issue. I cant really work around the plugin code since it hooks into the output of the shortcode and I dont know enough of the replacing function to suggest any modifications. sorry for that :/

    I think currently the only choice is contact the plugin author and ask for any guidance…

    #126165

    No worries, thanks for taking a look at it. Meanwhile, I’ll just use another plugin for analytics for now or just get rid of the mailto.

    I’ll message Yoast about this bug.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Iconbox, links and Yoast's Google analytics problem’ is closed to new replies.