Graphene Themes Forum

Graphene Themes Forum

Community support for Graphene themes

  • Home
  • Register
    • Reset password
  • Contact Us

Home › Forums › Graphene WordPress theme › Support

Google analytics code posted to people's FB walls when sharing from my site

  • edukka

    April 7, 2012 at 7:19 am #4152

    Hello

    I have tried everything to find out how to solve this, but I haven’t been able; I’m frustrated. Help please!

    When someone likes or shares my content, they get a messy code containing of my google analytics account. I have deactivated the GA option from the theme but the messy code is still showing up when sharing.

    Thanks a lot for your help!

    Mod

    Kenneth John Odle

    April 7, 2012 at 4:52 pm #27391

    Not a Graphene bug, so moved to Support.

    If you are talking about this:

    Follow @@edukkamx !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

    That’s not Google Analytics code; it looks more like Twitter code that’s coming through.

    How are you adding these buttons? Where did you get the code from?

    Keep in mind that Facebook has discontinued the use of some of their older buttons, so that may be an issue as well.

    Anonymous

    April 7, 2012 at 5:30 pm #27392

    Use Meta description on your posts. Remember, FB caches your site description. So, it will take some time to get it work even after adding description.

    edukka

    April 7, 2012 at 6:45 pm #27393

    Thank you Kenneth and Prasanna. The code I’m getting in error is

    UA-29205727-1 var _gaq = _gaq || []; _gaq.push(); _gaq.push(); (function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘http…

    The social plug-in I’m using is Digg Digg but it also happened when using Shareaholic, whih I deleted for I thought it was the one causing the issue but it turned out it wasn’t.

    I couldn’t find how to add a meta description in my posts, so I looked it up on the web and found this plugin:

    http://wordpress.org/extend/plugins/wordpress-meta-description/

    Do you recommend it? Or should I try other way to add meta descriptions to my posts?

    Thanks a lot for your help, I really appreciate it.

    Mod

    Kenneth John Odle

    April 8, 2012 at 7:45 pm #27394

    I just use the code I got from AddThis.com and have never had any issues with it. It really is the easy way to go.

    edukka

    April 12, 2012 at 7:07 am #27395

    Thanks for your support. I removed Google Analytics (GA) code but now it’s showing my twitter account info. I was doing some research and I found that the post meta data is taken from different places (e.g. sidebar, footer, etc.), depending on the theme. So my question now is do you know where does Graphene take posts’ metadata from?

    I appreciate your help

    Narciso

    http://www.edukka.com

    farman1422

    April 30, 2012 at 12:51 pm #27396

    I definitely enjoyed every little bit of it,

    Aiza Khan

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

  • You must be logged in to reply to this topic.
Log In

Account

Log In
Register Lost Password

Search Forums

Priority Support

This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.

If you require urgent assistance, you may like to consider our Priority Support option.

Get Priority Support

Forums

  • Graphene WordPress theme
  • Graphene Mobile
  • Graphene Mobile Neo
  • Franz Josef

Recent Topics

  • bug from 7.4 PHP version to 8.1 PHP version
    5 days ago
  • Widget Breite geht nicht bis zum rechten Rand
    2 weeks ago
  • How do I position an image at the top of a widget area.
    1 month ago
  • Mastodon (Social Media Profile)
    2 months ago
  • How to set template for search results page
    2 months ago

Made with by Graphene Themes.