Home › Forums › Gravida Support › Twitter tracking code
- This topic has 7 replies, 3 voices, and was last updated 6 years ago by Sonl Sinha.
-
AuthorPosts
-
November 22, 2018 at 1:09 pm #112187
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
November 23, 2018 at 12:07 pm #112247Kindly 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,
ShriNovember 23, 2018 at 1:31 pm #112259Done, thank you. Regards Wilfried
November 26, 2018 at 9:59 am #112357Hi,
Issue resolved. Kindly check and confirm.
Regards,
DaveNovember 26, 2018 at 5:56 pm #112402Thank you, it is solved.
Can you please tell me what exactly you changed? It is interesting for me to know.
Thank you, Wilfried
November 27, 2018 at 11:39 am #112464Hi,
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,
DaveNovember 27, 2018 at 7:56 pm #112500Thank you.
November 28, 2018 at 5:15 am #112511🙂
-
AuthorPosts
- You must be logged in to reply to this topic.