Tagged: x
-
AuthorPosts
-
August 2, 2016 at 10:43 am #1113934
limetteParticipantHi –
I would like to add a Google Webcall Conversion script.
For some reason, the script is added properly to the source code, but not recognized by Google Tag Assistant.
Can you help?
=== SCRIPT ===
<script type=”text/javascript”>
var google_replace_number=”888-111-2222”;//<<Replace with your phonenumber
(function(a,e,c,f,g,h,b,d){var k={ak:”960915738″,cl:”oRuFCLjj1WgQmtKZygM”};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[g]||(a[g]=k.ak);b=e.createElement(h);b.async=1;b.src=”//www.gstatic.com/wcm/loader.js”;d=e.getElementsByTagName(h)[0];d.parentNode.insertBefore(b,d);a[f]=function(b,d,e){a[c](2,b,k,d,null,new Date,e)};a[f]()})(window,document,”_googWcmImpl”,”_googWcmGet”,”_googWcmAk”,”script”);
</script>August 2, 2016 at 11:37 am #1114009
ThaiModeratorHi There,
Please add the following code under functions.php file locates in your child theme:
add_action( 'wp_head', 'add_google_script' ); function add_google_script(){ ?> <script type="text/javascript"> var google_replace_number="888-111-2222"; (function(a,e,c,f,g,h,b,d){var k={ak:"960915738",cl:"oRuFCLjj1WgQmtKZygM"};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[g]||(a[g]=k.ak);b=e.createElement(h);b.async=1;b.src="//www.gstatic.com/wcm/loader.js";d=e.getElementsByTagName(h)[0];d.parentNode.insertBefore(b,d);a[f]=function(b,d,e){a[c](2,b,k,d,null,new Date,e)};a[f]()})(window,document,"_googWcmImpl","_googWcmGet","_googWcmAk","script"); </script> <?php }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1113934 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
