Jump to content

 

Bob53207

Member Since 10 Mar 2016
Offline Last Active Mar 15 2016 03:26 PM
-----

Posts I've Made

In Topic: Google Adwords Conversion Code - 4.1.4

11 March 2016 - 10:09 PM

Honestly, no bloody idea. Starting to wonder where everything is going wrong.
The code doesn't show in view source, and that's half the problem, so placing fake orders gets old when actual works needs to be done.

Here's my setup:

My Changes : Installed.

/design/themes/basic/templates/addons/my_changes/hooks/checkout/order_confirmation.post.tpl
Contents:
<!-- Google Code for Google Adwords - Purchase Conversion Page -->
		{literal}  
		<script type="text/javascript">
				/* <![CDATA[ */
				var google_conversion_id = XXXXXXXXX;
				var google_conversion_language = "en";
				var google_conversion_format = "3";
				var google_conversion_color = "ffffff";
				var google_conversion_label = "Purchase";
				var google_conversion_value = {/literal}{$order_info.total}{literal};
				var google_conversion_currency = "AUD";
				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/XXXXXXXXX/?value={/literal}{$order_info.total}{literal}&amp;currency_code=AUD&amp;label=Purchase&amp;guid=ON&amp;script=0"/>
				</div>
				</noscript>
		{/literal}
If anything looks completely out of place, let me know, I'm getting old.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

although I have the 'My changes' add-on activated, I do not see it when going to /design/themes/basic/templates/addons/  I can find the find the file in \yotpo\hooks\checkout  and also \google_analytics\hooks\checkout  Which (if any) should the AdWords code be placed?


In Topic: Adword Dynamic Conversion Tracking

10 March 2016 - 03:12 PM

Sorry, there was a little misunderstanding.

Please clear the file that you created before.

1. In the end of the file \skins\basic\customer\views\checkout\checkout.tpl add

<!-- Google Code for checkout page cart Conversion Page -->
<script type="text/javascript">
//<![CDATA[
var google_conversion_id = 1234567890;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "Checkout";
{if $cart.total}
var google_conversion_value = "{$cart.total}";
{/if}
var google_conversion_currency = "USD";
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/123456789/?value={$cart.total}&amp;currency_code=USD&amp;label=Checkout&amp;guid=ON&amp;script=0"/>
</div>
</noscript>[/size][/font][/color]
 
[color=#262626][font=arial, sans-serif][size=3]


conversion_id = 1234567890 Here please use your id. Check it in your google account.

Hope that it can help you.

Best regards, Alt-team.

 

My client is using v. 4.2.4  Where would I find the path to place the code?  Does it still look like what you have posted?  Thanks!