[Plugin: Trackable Social Share Icons] Unterminated string constant in IE
-
Hi.
For some reason I’m getting the “unterminated string constant” error when using this plugin in IE. It works fine in Firefox.
We are including buttons from Facebook, Twitter, Linked In and Email. It seems the trouble appears in the code at the email button.
As you can see from the code below, the Linked In button works correctly as well as the other two first buttons, but in the tracking code for Email one of the single quotes are replaced with a quote sign.
Can you help me with this?
Thanks,
KjetilCode:
<!-- Linked In works --> <a href="https://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no&title=http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no&ro=false&summary=&source=" style="text-decoration: none; white-space: nowrap;" title="Linkedin" target="_blank" onclick="that=this;_gaq.push(['_trackEvent','SocialSharing','Linkedin','https://www.startebedrift.no/om-startebedrift-no']); window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); return false;"><img align="absmiddle" src="https://www.startebedrift.no/wp-content/plugins/trackable-social-share-icons/buttons/f4/linkedin.png" alt="Linkedin" width="32" height="32"></a> <!-- Email fails --> <a href="mailto:?subject=Check out http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no" style="text-decoration: none; white-space: nowrap;" title="Email" target="_blank" onclick="that=this;_gaq.push(['_trackEvent','SocialSharing','Email','https://www.startebedrift.no/om-startebedrift-no" ]); "><img align="absmiddle" src="https://www.startebedrift.no/wp-content/plugins/trackable-social-share-icons/buttons/f4/email.png" alt="Email" width="32" height="32"></a> </div>
Sample page can be found here: https://www.startebedrift.no/om-startebedrift-no.
https://www.ads-software.com/extend/plugins/trackable-social-share-icons/
- The topic ‘[Plugin: Trackable Social Share Icons] Unterminated string constant in IE’ is closed to new replies.