Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2011, 05:17 PM
MountMe's Avatar
MountMe MountMe is offline
 
Join Date: Apr 2011
Posts: 4
Default Google Analytics and Adwords Integration

I know this has been discussed on other posts but I still have not found an answer to my problems.

PROBLEM 1:

I have placed my Google Analytics Web Property ID into the field under General

I am using WordPress to run our website and that is also including the google analytics script in the header.

In our analytics we see some of the virtual pages showing up:

/checkout/paymentDetails & /checkout/shippingDetails

This is great but we also want to track the confirmation page through goals which has never showed up in our tracking results...is this a bug or is it not included on the orderConfirmation page?

We are also not getting any e-commerce tracking and have enabled that feature in our analytics.


PROBLEM 2:

Adwords requires a conversion code on the final orderConfirmation page. We found an article in this forum which points to this piece of code:

Code:
function googleConversion() {
    hash = document.location.hash;
    if (hash.indexOf('mode=orderConfirmation') > 0) {
      //Set vars
      var google_conversion_id = xxxxxxxx;
      var google_conversion_language = "en";
      var google_conversion_format = "2";
      var google_conversion_color = "ffffff";
      var google_conversion_label = "xxxxxxxx";
      var google_conversion_value = 0;

      //Do conversion
      var headID = document.getElementsByTagName("head")[0];
      var newScript = document.createElement('script');
      newScript.type = 'text/javascript';
      newScript.src = 'http://www.googleadservices.com/pagead/conversion.js';
      headID.appendChild(newScript);

      clearInterval(pollTimer);
    }
}
pollTimer = setInterval(googleConversion, 100);
We use this code with our values instead of the xxxxxxx and placed it into our WordPress site. Nothing is being tracked!

What could be our 2 problems???????

PLEASE HELP!
Reply With Quote
  #2  
Old 08-12-2011, 10:14 AM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,948
Default

Quote:
Originally Posted by MountMe View Post
I know this has been discussed on other posts but I still have not found an answer to my problems.

PROBLEM 1:

I have placed my Google Analytics Web Property ID into the field under General

I am using WordPress to run our website and that is also including the google analytics script in the header.

In our analytics we see some of the virtual pages showing up:

/checkout/paymentDetails & /checkout/shippingDetails

This is great but we also want to track the confirmation page through goals which has never showed up in our tracking results...is this a bug or is it not included on the orderConfirmation page?

We are also not getting any e-commerce tracking and have enabled that feature in our analytics.


PROBLEM 2:

Adwords requires a conversion code on the final orderConfirmation page. We found an article in this forum which points to this piece of code:

Code:
function googleConversion() {
    hash = document.location.hash;
    if (hash.indexOf('mode=orderConfirmation') > 0) {
      //Set vars
      var google_conversion_id = xxxxxxxx;
      var google_conversion_language = "en";
      var google_conversion_format = "2";
      var google_conversion_color = "ffffff";
      var google_conversion_label = "xxxxxxxx";
      var google_conversion_value = 0;

      //Do conversion
      var headID = document.getElementsByTagName("head")[0];
      var newScript = document.createElement('script');
      newScript.type = 'text/javascript';
      newScript.src = 'http://www.googleadservices.com/pagead/conversion.js';
      headID.appendChild(newScript);

      clearInterval(pollTimer);
    }
}
pollTimer = setInterval(googleConversion, 100);
We use this code with our values instead of the xxxxxxx and placed it into our WordPress site. Nothing is being tracked!

What could be our 2 problems???????

PLEASE HELP!
There are /checkout/placeOrder and /checkout/orderPlaced virtual pages reported by Ecwid to Google analytics, I can perfectly see them in the content drilldown of my Analytics account for my test shop. Please, see if they appear in your account.

The problem with JS code can be solved if I can see the exact page where you have used it.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
Reply

Tags
adwords, google analytics

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 01:46 PM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.