0

我正在尝试将来自 Google Conversion Tracking 的一段代码包含到我的业务联系人中,该联系人基于 Jomla。一旦出现谢谢消息,代码应该被集成,但不幸的是我对 javascript 和 php 非常缺乏经验。有人可以帮我把这两段代码结合起来吗?

非常感谢你,詹姆斯

代码乔姆拉

            //<![CDATA[

        <!--

        window.addEvent('load', function() {

            changeCaptcha(".$this->profile->id.",0);\n".($use_ajax?"resetSubmit(".$this->profile->id.");\n":"")."

            if($(typeof SqueezeBox!='undefined' && 'system-message')) {

                SqueezeBox.initialize();

                SqueezeBox.open($('system-message'), {

                    handler: 'adopt',

                    size: {x: $('system-message').offsetWidth+30, y: $('system-message').offsetHeight+30}

                });

            }

        });

        //-->

        //]]>

代码谷歌:

    <!-- Google Code for Contact Form Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 1033530737;
    var google_conversion_language = "en";
    var google_conversion_format = "2";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "A8yvCJrs4AIQtHey6hT";
    var google_conversion_value = 0;
    /* ]]> */
    </script>
    <script type="text/javascript" 
    src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" 
    src="http://www.googleadservices.com/pagead/conversion/1033530737/?                label=A8yvCJrs4AIQtHey6hT&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>
4

1 回答 1

0

它有一个 joomla 插件,其中包含联系人默认页面上的转换代码:http: //www.joomlaadwordsconversion.com/

于 2011-06-19T21:39:29.673 回答