-
AuthorPosts
-
January 27, 2016 at 4:25 pm #573010
Hallo,
wie kann ich die im Themeeinstellungen unter Header/Extra elements/Phone number angegebene Rufnummer nach der folgenden Anleitung erfassen (Teil III):
https://support.google.com/adwords/answer/6095883?&hl=de#gfnfolgendes funktioniert nicht:
I want to implement the functionality of google adwords phone conversions as described on the following page (part III):
https://support.google.com/adwords/answer/6095883?hl=enThis doesn’t work:
function phone_gt() { $code = " <script type='text/javascript'> (function(a,e,c,f,g,b,d){var h={ak:'945659753',cl:'VEqQCOTqoGMQ6b72wgM'};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[f]||(a[f]=h.ak);b=e.createElement(g);b.async=1;b.src='//www.gstatic.com/wcm/loader.js';d=e.getElementsByTagName(g)[0];d.parentNode.insertBefore(b,d);a._googWcmGet=function(b,d,e){a[c](2,b,h,d,null,new Date,e)}})(window,document,'_googWcmImpl','_googWcmAk','script'); </script> "; echo $code; } add_action('wp_head', 'phone_gt'); function replace_ph_no() { $code = " <script type='text/javascript'> window.onload = function() { _googWcmGet('phone-info', '012 - 345 678') }; </script> "; echo $code; } add_action('wp_footer', 'replace_ph_no');
- This topic was modified 8 years, 11 months ago by adauda.
January 27, 2016 at 6:42 pm #573147Hi adauda!
I have assigned the ticket to our German Speaking Supporter.
Thanks a lot for your patience till he sees it
Best regards,
BasilisJanuary 28, 2016 at 1:50 pm #573716Hi!
wir können dir hier nur theme spezifische Fragen oder Probleme beantworten. In deinem Fall müsstest du erstmal klären wie das bei WordPress generell funktionieren würde und am Besten erfragst du dies im allgemeinen WordPress Forum.
Gruß!
AndyFebruary 23, 2016 at 2:48 am #587524I’d love to hear the English version of how to do this. Thanks!!
February 23, 2016 at 8:07 pm #587934Hey!
as I said in german: it’s not a theme related issue but a WordPress’ one, so you would need to ask about this in general WordPress forum.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.