Twitter tracking code

Home Forums Gravida Support Twitter tracking code

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #112187
    wilfriedwilfried
    Participant
    • Topics: 43
    • Replies: 105
    • Total: 148
    Member since: December 7, 2017

    Hello,

    Firefox browser tell me there is tracking code blocked on my site: http://familialebemiddeling.net

    I already tryed to remove yoast seo and the social share buttons, but it does not help. Looking into browser it seems there is a cookie loaded from Twitter.

    Searching the theme I find in: http://familialebemiddeling.net/wordpress/wp-content/themes/gravida-pro/assets/js/complete.js?ver=1 code for Twitter. This is at the end. I’m not sure which part I can remove of this code:

    e.getElementById(r)||(i=e.createElement(t),i.id=r,i.src=s+"://platform.twitter.com/widgets.js",a.parentNode.insertBefore(i,a))}(document,"script","twitter-wjs"),document.querySelector("#cardId").classList.toggle("flip");var pc_highestBox=0;jQuery(".front").each(function(){jQuery(this).height()>pc_highestBox&&(pc_highestBox=jQuery(this).height())

    Can you assist? I find Twitter 2 times in this code block (at the end of the file).

    Thanks, Wilfried

    #112247
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Kindly send us WordPress admin details and URl of the site via email: [email protected]

    Do mention this forum URL in the email for us to understand the requirement.

    Regards,
    Shri

    #112259
    wilfriedwilfried
    Participant
    • Topics: 43
    • Replies: 105
    • Total: 148
    Member since: December 7, 2017

    Done, thank you. Regards Wilfried

    #112357
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi,

    Issue resolved. Kindly check and confirm.

    Regards,
    Dave

    #112402
    wilfriedwilfried
    Participant
    • Topics: 43
    • Replies: 105
    • Total: 148
    Member since: December 7, 2017

    Thank you, it is solved.

    Can you please tell me what exactly you changed? It is interesting for me to know.

    Thank you, Wilfried

    #112464
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi,

    Removed the following code from end of complete.js file.

    ,!function(e,t,r){var i,a=e.getElementsByTagName(t)[0],s=/^http:/.test(e.location)?"http":"https";e.getElementById(r)||(i=e.createElement(t),i.id=r,i.src=s+"://platform.twitter.com/widgets.js",a.parentNode.insertBefore(i,a))}(document,"script","twitter-wjs"),document.querySelector("#cardId").classList.toggle("flip");var pc_highestBox=0;jQuery(".front").each(function(){jQuery(this).height()>pc_highestBox&&(pc_highestBox=jQuery(this).height())}),jQuery(".back").height(pc_highestBox)

    Regards,
    Dave

    #112500
    wilfriedwilfried
    Participant
    • Topics: 43
    • Replies: 105
    • Total: 148
    Member since: December 7, 2017

    Thank you.

    #112511
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.