[Skip to main content](#vessel-content)

#   Google Adwords

##

- **[rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")**
- [![rafael&#95;josem's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile") Topic Author
- [ Offline](/forum/user/33123-rafael-josem)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 4 months ago [\#162657](#162657) by [rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")  *[Google Adwords](/forum/27-checkout/869441-google-adwords#162657 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")* was created by *[rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")*

-- url of the page with the problem -- : N/A
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : N/A

Hello,

How can I place this google adwords code? The "var google_conversion_value" much change according to the product price.
Code:

&lt;!-- Google Code --&gt; &lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var google_conversion_id = 1008879972; var google_conversion_language = "es"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "dmuACJSH3R4Q5JKJ4QM"; var google_conversion_value = 25.000000; var google_remarketing_only = false; /* ]]&gt; */ &lt;/script&gt; &lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"&gt; &lt;/script&gt; &lt;noscript&gt; &lt;div style="display:inline;"&gt; &lt;img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1008879972/?value=25.000000&amp;amp;label=dmuACJSH3R4Q5JKJ4QM&amp;amp;guid=ON&amp;amp;script=0"/&gt; &lt;/div&gt; &lt;/noscript&gt;

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#162769](#162769) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#162769 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi,

I guess this needs to be in the product page, so you can edit the view "product / show_default" and add you code at the end of the view.

To have a dynamic conversion_value, you can use this code: Code:

&lt;!-- Google Code --&gt; &lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var google_conversion_id = 1008879972; var google_conversion_language = "es"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "dmuACJSH3R4Q5JKJ4QM"; var google_conversion_value = &lt;?php echo $this-&gt;element-&gt;prices[0]-&gt;price_value; ?&gt;; var google_remarketing_only = false; /* ]]&gt; */ &lt;/script&gt; &lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"&gt; &lt;/script&gt; &lt;noscript&gt; &lt;div style="display:inline;"&gt; &lt;img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1008879972/?value=&lt;?php echo $this-&gt;element-&gt;prices[0]-&gt;price_value; ?&gt;&amp;amp;label=dmuACJSH3R4Q5JKJ4QM&amp;amp;guid=ON&amp;amp;script=0"/&gt; &lt;/div&gt; &lt;/noscript&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")**
- [![rafael&#95;josem's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile") Topic Author
- [ Offline](/forum/user/33123-rafael-josem)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 4 months ago [\#162849](#162849) by [rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")  Replied by *[rafael\_josem](/forum/user/33123-rafael-josem "View rafael&#95;josem's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#162849 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hello,

I actually needed to be in the "thank you page", since it is a tracking conversion code. My "After end" looks like this, since I also have a FB conversion code tracking. Notice that there isn't a "?&gt;" closing tag by default (it was already like that), so I don't know if I should just paste the google adword code as it is.
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.1 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php $app = JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($order_id,false,false); $js ="(function() { var _fbq = window._fbq &#124;&#124; (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 &#124;&#124; []; window._fbq.push(['track', '6014693896236', {'value':'".round($order-&gt;order_full_price,2)."','currency':'USD'}]);"; $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration($js);

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#163278](#163278) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#163278 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi,

Yes so you can add the following code after the one for FB. Code:

?&gt; &lt;!-- Google Code --&gt; &lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var google_conversion_id = 1008879972; var google_conversion_language = "es"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "dmuACJSH3R4Q5JKJ4QM"; var google_conversion_value = &lt;?php echo round($order-&gt;order_full_price,2); ?&gt;; var google_remarketing_only = false; /* ]]&gt; */ &lt;/script&gt; &lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"&gt; &lt;/script&gt; &lt;noscript&gt; &lt;div style="display:inline;"&gt; &lt;img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1008879972/?value=&lt;?php echo round($order-&gt;order_full_price,2); ?&gt;&amp;amp;label=dmuACJSH3R4Q5JKJ4QM&amp;amp;guid=ON&amp;amp;script=0"/&gt; &lt;/div&gt; &lt;/noscript&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile")
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 1 month ago [\#175486](#175486) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175486 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi Xavier,

I would like some help with adding Google Adwords conversion tracking code to 2 pages on my site. I have HS Essential, not Business, so cannot use the plugin you have and have to add the code manually.

I would like to add the code to the two following pages:
- The payment thank you page you get to after you pay using 'bank transfer'.
- A custom thank you page I have created on my site (Joomla article).

Can you offer advice where I go to add the code to both of these pages. My PHP knowledge is very bad so any help greatly appreciated.

Thank you in advance

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 1 month ago [\#175490](#175490) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175490 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

So the full that you need is this one (with modifications of your google adwords data): Code:

&lt;?php $app = JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($order_id,false,false); ?&gt; &lt;!-- Google Code --&gt; &lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var google_conversion_id = 1008879972; var google_conversion_language = "es"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "dmuACJSH3R4Q5JKJ4QM"; var google_conversion_value = &lt;?php echo round($order-&gt;order_full_price,2); ?&gt;; var google_remarketing_only = false; /* ]]&gt; */ &lt;/script&gt; &lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"&gt; &lt;/script&gt; &lt;noscript&gt; &lt;div style="display:inline;"&gt; &lt;img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1008879972/?value=&lt;?php echo round($order-&gt;order_full_price,2); ?&gt;&amp;amp;label=dmuACJSH3R4Q5JKJ4QM&amp;amp;guid=ON&amp;amp;script=0"/&gt; &lt;/div&gt; &lt;/noscript&gt;

You can add it in the file plugins/hikashoppayment/banktransfer/banktransfer_end.php in order to have it for the thank you page of the bank transfer payment method.
For your Joomla article, you'll need to use a plugin like sourcerer in order to add the code in a Joomla article.
If you need someone with more experience in PHP to do that for you, you can contact our partners for a quote:
[ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile")
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 1 month ago [\#175665](#175665) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175665 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Nicolas,
As always, your reply has been appreciated. Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile")
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 1 month ago -  12 years 1 month ago [\#175859](#175859) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175859 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi Nicolas,

In the file 'plugins/hikashoppayment/banktransfer/banktransfer_end.php' do I need to add this code below that you listed? I was just going to add the code that Google gave me.
Code:

&lt;?php $app = JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($order_id,false,false); ?&gt;

Last edit: 12 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice !!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile")
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 1 month ago -  12 years 1 month ago [\#175862](#175862) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175862 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

So you better understand, in the file 'plugins/hikashoppayment/banktransfer/banktransfer_end.php' I have the following code below. At the very bottom of that I was going to add the Google code...
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.3 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div class="hikashop_banktransfer_end" id="hikashop_banktransfer_end"&gt; &lt;span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('PLEASE_TRANSFERT_MONEY',$this-&gt;amount).'&lt;br/&gt;'. $this-&gt;information.'&lt;br/&gt;'. JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;return_url)){ $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='".$this-&gt;return_url."'});"); }

Last edit: 12 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice !!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#175877](#175877) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175877 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi,

When you post code, please use the "code" tag.

I do not see any custom code in your view ; please do not post code of views that are directly in HikaShop ; don't worry we also have access to the source code of the views.

What is your question ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile")
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 1 month ago -  12 years 1 month ago [\#175946](#175946) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175946 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Apologies Jerome. I will use the code tags from now on.

I will replace the code in the file 'plugins/hikashoppayment/banktransfer/banktransfer_end.php' with the following below. Can you please tell me if that is correct?

Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.3 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div class="hikashop_banktransfer_end" id="hikashop_banktransfer_end"&gt; &lt;span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('PLEASE_TRANSFERT_MONEY',$this-&gt;amount).'&lt;br/&gt;'. $this-&gt;information.'&lt;br/&gt;'. JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;return_url)){ $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='".$this-&gt;return_url."'});"); } ?&gt; &lt;!-- Google Code for Adwords sale tracking Conversion Page --&gt; &lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var google_conversion_id = XXXXXXXXXXXX; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "XXXXXXXXXXXX"; var google_remarketing_only = false; /* ]]&gt; */ &lt;/script&gt; &lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"&gt; &lt;/script&gt; &lt;noscript&gt; &lt;div style="display:inline;"&gt; &lt;img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/XXXXXXXXXXX/?label=7ORjCKj95FYQ-Y2p3gM&amp;amp;guid=ON&amp;amp;script=0"/&gt; &lt;/div&gt; &lt;/noscript&gt;

Last edit: 12 years 1 month ago by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 1 month ago [\#175948](#175948) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Google Adwords](/forum/27-checkout/869441-google-adwords#175948 "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : N/A  Hello,  How can I place this google adwords code? The &quot;var google&#95;conversion&#95;value&quot; much change according to the product price.  Thanks")*

Hi,

Yes it seems to be correct.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTQ0MS1nb29nbGUtYWR3b3Jkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.088 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
