Skip to main content

Add Adwords Code into Thank You Page

More
10 years 8 months ago - 10 years 8 months ago #226495 by Awards4u
-- url of the page with the problem -- : www.awards4u.ca
-- HikaShop version -- : 2.6.0

Hi,

After reading about where to add code. I'm putting this code in "checkout / after_end.php". If you can help me to add this code that would be great!

This is the code in "checkout / after_end.php".
Code:
<?php /** * @package HikaShop for Joomla! * @version 2.6.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php $app = JFactory::getApplication(); $app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); I want to add this code which came from google adwords: <!-- Google Code for Adwords conversion Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1031611572; var google_conversion_language = "en"; var google_conversion_format = "2"; var google_conversion_color = "ffffff"; var google_conversion_label = "ewHwCPr0uQUQtMn06wM"; var google_conversion_value = 1.00; var google_conversion_currency = "CAD"; 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/1031611572/?value=1.00&amp;currency_code=CAD&amp;label=ewHwCPr0uQUQtMn06wM&amp;guid=ON&amp;script=0"/> </div> </noscript>
Please let me know where I should add the code?

Thanks
Last edit: 10 years 8 months ago by Jerome. Reason: [code] is nice

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #226541 by Jerome
checkout / after_end.

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum