• ryan

    (@buudweizerr)


    Hi there,

    I’m having a problem when I enable the Google Analytics plug-in with displaying the More Details link on product pages; I’m using WP 2.71, E-Commerce 3.612 and the CraftyCart theme.

    (pictures tell the story)
    http://www.missedapex.com/upload/files/on.jpg

    When I have Analytics turned off, it works correctly:
    http://www.missedapex.com/upload/files/off.jpg

    I’ve looked at the source and I can tell where the problem is, but I can’t tell how to correct it. As shown in the comparison code below, with Analytics turned on, the begin value character for the HREF link has been changed from an apostrophe to a quote, and then is being closed with an apostrophe.

    With analytics on:
    <a href=&quot;#' class='additional_description_link' onclick='return show_additional_description(&quot;additionaldescription17&quot;,&quot;link_icon17&quot;);'><img id='link_icon17' class='additional_description_button' src='http://mysite/wp-content/plugins/wp-e-commerce/images/icon_window_expand.gif&quot; title='Titleist DT Carry' alt='Titleist DT Carry' />More Details</a><span class='additional_description' id='additionaldescription17'><br /><p>

    With analytics off:
    <a href='#' class='additional_description_link' onclick='return show_additional_description(&quot;additionaldescription17&quot;,&quot;link_icon17&quot;);'><img id='link_icon17' class='additional_description_button' src='http://mysite/wp-content/plugins/wp-e-commerce/images/icon_window_expand.gif&quot; title='Titleist DT Carry' alt='Titleist DT Carry' />More Details</a><span class='additional_description' id='additionaldescription17'><br /><p>

    I’ve found the problem, but I don’t know where to look to correct it, I haven’t fully figured out what the Analytics app is modifying that would mess it up like that. I’m using XML Sitemaps and all in one SEO in addition to the Analytics plugin, but having them enabled / disabled doesn’t make a difference.

    I’d like to get it functioning correctly, but short of that, I’d like to possibly have it always display the more description, instead of having the dropdown. I’d rather not remove it completely, but if thats my only option, I will.

    Can anybody help point me in the right direction? TIA 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HREF issue with Google Analytics plugin’ is closed to new replies.