Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to add this script tab into my html page using reactJS



Here is my tag

XML
<script>(function() {
 var _fbq = window._fbq || (window._fbq = []);
 if (!_fbq.loaded) {
   var fbds = document.createElement('script');
   fbds.async = true;
   fbds.src = '//connect.facebook.net/en_US/fbds.js';
   var s = document.getElementsByTagName('script')[0];
   s.parentNode.insertBefore(fbds, s);
   _fbq.loaded = true;
 }
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', '635780315d456787df92119428', {'value':'0.00','currency':'USD'}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6031592119428&amp;cd[value]=0.00&amp;cd[currency]=USD&amp;noscript=1" /></noscript>
Posted
Updated 4-Nov-15 19:51pm
v2
Comments
Suvendu Shekhar Giri 4-Nov-15 14:09pm    
..and what is the issue?
Lakhan Anjana 5-Nov-15 2:47am    
i want to add this script to Jsx page...but i dont know how to put

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900