X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart (https://forum.x-cart.com/showthread.php?t=44868)

Squeeze Juice Marketing 12-29-2010 10:28 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Hi Eva,

I suggest having your SEO person read this thread - it will answer all his questions on setting up the AdWords conversion code in X-Cart.

No static page is needed, the code can go in the skin1/modules/Google_Analytics/ga_commerce_form.tpl

RPZ620 07-31-2011 03:09 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Is this code insert still needed wit 4.4.2 google mod?.

Squeeze Juice Marketing 08-01-2011 04:05 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Quote:

Originally Posted by RPZ620
Is this code insert still needed wit 4.4.2 google mod?.


Yes because this code is for the Google AdWords code (NOT Google Analytics).

X-Cart does include a built-in Google Analytics mod, but there are additional settings needed on the Google account side for optimal reporting.

If you are confused between Google AdWords / Analytics you may want to review this post for clarification: http://www.squeezejuicemarketing.com/blog/x-cart-conversion-tracking-clearing-up-common-misconceptions/

voodoo1967 04-07-2012 05:21 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Have run through this, got the code, added it to the analytics file , re checked the settings - all correct. Checked the code on the invoice page to make sure it was there - which it was and then went through a real transaction - ie clicked on my own Google Ad and purchased an item.

2 days later when I go into Adords, Tools Analysis, Conversions it still says No Conversions - any ideas where to check next ?

Squeeze Juice Marketing 04-07-2012 06:27 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Yes, check the source code from web browser (Control+U in firefox) of your THANK YOU / RECEIPT page when you do the next test order. See if the code is there.

voodoo1967 04-07-2012 11:26 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Did a test order - receipt / thank you page - yep I see code towards the bottom of the source , I've triple checked the ID and Label etc - they are correct (blanked them out with x here though.

<!-- Google Code for Sale Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = xxxxxxxxxx;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = ""ffffff";
var google_conversion_label = "xxxxxxxxxxxxxxxxxxx";

var google_conversion_value = "18.00";
//-->
</script>


<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>

<noscript>
document.write("<img height=\"1\" width=\"1\" border=\"0\" src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxxxx/?value=18.00&amp;label=xxxxxxxxxxxxxxxxxxxx5QM&amp ;script=0\"/>");
</noscript>
<!-- Google Code for Sale Conversion Page -->
<!-- /central space -->

So it's definitely there all there - just very confusing why it doesnt show up in Adwords conversions. I ran the test order through as 'phone ordering' not that would make any difference, onOrders it just goes to Queued status.

Squeeze Juice Marketing 04-07-2012 11:37 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
In your code here:

document.write("<img height=\"1\" width=\"1\" border=\"0\" src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxxxx/?value=18.00&amp;label=xxxxxxxxxxxxxxxxxxxx5QM&amp ;script=0\"/>");

You have a space between &amp ;

Should be:
Code:

document.write("<img height=\"1\" width=\"1\" border=\"0\"  src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxxxx/?value=18.00&amp;label=xxxxxxxxxxxxxxxxxxxx5QM&amp;script=0\"/>");
May or may not be the cause.

voodoo1967 04-07-2012 11:55 AM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
Must have been where I replaced the code when putting x's in .

I just checked the code and it does say :-
<noscript>
document.write("<img height=\"1\" width=\"1\" border=\"0\" src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxxxx/?value={$order.order.subtotal}&amp;label=xxxxxxxxx xxxxxxxxxx&amp;script=0\"/>");
</noscript>
<!-- Google Code for Sale Conversion Page -->

I am trying to rule out all things at the moment - on the site in question
when I just had only Google analytics it was setup like this -
I had www.mydomain.com UA-111xxxxx
I also had www.mydomain.com/shop - UA111xxxxx-6

I know Google Analytics is different from Adwords/Analytics .
And in Adwords/Analytics it's definitely setup for the right account ie UA111xxxxx-6

snowboard 05-20-2012 05:33 PM

AdWords Conversion Tracking all coming up as $1 value
 
Hi all,

I installed adwords code from google itself and used {$order.order.subtotal}as the Conversion value, and it didn't track sales.

Then I used the code as suggested here on this thread by Squeeze Juice Marketing, and it tracked the sales, but each value of the subtotal is always $1.

Has anyone seen this or got suggestions as to how to get the tracking to track the actual subtotal value??

Thanks for any help,

snowboard 05-31-2012 11:56 PM

Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart
 
As an update I tried:

var google_conversion_value = "{$order.total}";

and its still not tracking the value...

anyone got adwords tracking to work with x cart?


All times are GMT -8. The time now is 10:28 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.