The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 09-04-2011, 05:04 PM
adityaviswanathan7's Avatar
adityaviswanathan7 is offline
 
Join Date: Jun 2011
Posts: 4
Default

Google AdWords Conversion Code Integration


I am an Ecwid silver edition member and I want to find out how to integrate my Google AdWords with my Ecwid store. Basically, I want to integrate the Google AdWords conversion code to see if AdWords is even worth it.

It says that the code needs to be inserted on the confirmation page, but I believe Ecwid runs on one page. How do I integrate this code for tracking? Any suggestions/instructions to do so would be greatly appreciated.

Thanks
  #2  
Old 09-06-2011, 03:32 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

It is possible to call or place a particular code on the confirmation page after the order was placed in Ecwid. That can be done by the means of Ecwid's JavaScript API, the OnPageLoaded event for a page type ‘ORDER_CONFIRMATION’.

If you need the more exact code, please, let me know the JavaScript code that AdWords wants you to place on your confirmation page.
  #3  
Old 10-04-2011, 04:13 PM
Mileedi e-pood's Avatar
Mileedi e-pood Mileedi e-pood is offline
 
Join Date: Feb 2011
Posts: 77
Default

I need google conversion code to be integrated, how to do this?, the code is

<!-- Google Code for 123 Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1014835053;
var google_conversion_language = "et";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "xRo3CNP6pAIQ7c704wM";
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/1014835053/?label=xRo3CNP6pAIQ7c704wM&amp;guid=ON&amp;script= 0"/>
</div>
</noscript>
  #4  
Old 10-04-2011, 04:24 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

You can use the script from this post: http://www.ecwid.com/forums/showthre...36835#poststop and change the exact values in it. The final version of it for your code will look like:
Code:
<script type="text/javascript">
Ecwid.OnPageLoaded.add(function(page) {
  if (page.type === 'ORDER_CONFIRMATION') {
    window.google_conversion_id = 1014835053;
    window.google_conversion_language = "et";
    window.google_conversion_format = "2";
    window.google_conversion_color = "ffffff";
    window.google_conversion_label = "xRo3CNP6pAIQ7c704wM";
    window.google_conversion_value = 0;
    (function() {
      var script;
      script = window.document.createElement('script');
      script.src = "http://www.googleadservices.com/pagead/conversion.js";
      window.document.body.appendChild(script);
    })();
  }
});
</script>

Put this code into the source code of your shop page, after any widget code.
  #5  
Old 12-11-2011, 03:18 AM
Derek Bess's Avatar
Derek Bess Derek Bess is offline
 
Join Date: Mar 2011
Posts: 309
Default

I put this conversion tracking code on my store over a month ago. Analytics shows sales coming from Adwords, but conversion are not showing up within adwords.

Any idea why this is?

Quote:
<script type="text/javascript">
Ecwid.OnPageLoaded.add(function(page) {
if (page.type === 'ORDER_CONFIRMATION') {
window.google_conversion_id = 1039667799;
window.google_conversion_language = "en";
window.google_conversion_format = "2";
window.google_conversion_color = "ffffff";
window.google_conversion_label = "CrV7CKmWwQIQ16Tg7wM";
window.google_conversion_value = 0;
(function() {
var script;
script = window.document.createElement('script');
script.src = "http://www.googleadservices.com/pagead/conversion.js";
window.document.body.appendChild(script);
})();
}
});
</script>
  #6  
Old 02-09-2012, 06:26 PM
Emergency Seeds's Avatar
Emergency Seeds Emergency Seeds is offline
 
Join Date: Nov 2011
Posts: 8
Default

I am having the same problem, about 1/3 of the sales are being registered in Analytics, and about 1/100 of them are being registered in Google Adwords. I have used the the affiliate thankyou page code box on my paid account.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
adwords, code, conversion, google, tracking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:49 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.