简体   繁体   中英

how to add AdWords Conversion Tracking code to a specific form in drupal

I am an newbie in Drupal, I have this javascript code to insert in a form on my website to add Google AdWords Conversion Tracking to the contact page.I cannot find the way to do it. Can someone help me.

<!-- Google Code for Formulaire en ligne Conversion Page --> <script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 00000000000;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "xxxxxxxxxxxxx"; var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript"  
src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt=""  
src="//www.googleadservices.com/pagead/conversion/00000000000/?label=xxxxxxxxxxxxx&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

I've already use module Google AdWords Conversion Tracking but it doesn't work and don't know what I do wrong. So I want to add this code javascript but I don't how to do add a javascript code to a specific page.

在Admin中,我们可以创建一个节点并将Java脚本代码发布到页面编辑器中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM