AdWords
4.8K members online now
4.8K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Combining MSN & Google adwords tracking code giving faulty results.

[ Edited ]
Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

Hi Friends,

A new web account completion page is the same page which loads after a login by an existing user. We have added a condition in the original "Google Adwords - Conversion tracking code" to track the URL parameter for new account registration conversion and the login to the same page by an existing user separately, as we do not have server side scripting. Thus we have made few other changes in the code, but tracking results are not accurate. How can we avoid this? - Screenshot for reference

http://screencast.com/t/pfFgBlKkbk 

http://screencast.com/t/5Qa6YgWt

 

1 Expert replyverified_user

Re: Combining of MSN & Google adwords tracking code giving faulty

Top Contributor
# 2
Top Contributor
Hi Barath m,

Neither of the screen shot links work. How are the tracking results not accurate. Can you post the code with the changes you made? I will take a look to see if it all looks right.

An alternative is to send new users to a different "thank you" page before sending them to the login page.

Best of Luck!

Pete
petebardo -- Deadhead doing AdWords

Re: Combining of MSN & Google adwords tracking code giving faulty

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆
Hi Petebardo,

Thanks for responding.
This is the original code -

<!-- Google Code for New Web Account Conversion Page -->
&lt;script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 972288895;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "FcpMCOGPrQQQ_-bPzwM";
var google_conversion_value = 1.00;
var google_conversion_currency = "EUR";
var google_remarketing_only = false;
/* ]]> */
&lt;/script&gt;
&lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
&lt;/script&gt;
<noscript&gt;
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/972288895/?value=1.00&amp;currency_code=EUR&amp;label=Fcp...
</div>
</noscript&gt;

This is the modified code where the URL parameter is being tracked.

<!-- Google Code for Sign up Conversion Page -->
&lt;script type="text/javascript">

/* <![CDATA[ */

name = 'GOAL'
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );

if(results){
var uetq = uetq || [ ]; uetq.push({'ec' : 'Conversion', 'ea': 'Sign Up', 'el' : 'BE', 'ev' : '0' });
var google_conversion_id = 972288895;
}
else
{
var google_conversion_id = 0000000000;
}

var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "FcpMCOGPrQQQ_-bPzwM";
var google_conversion_value = 0;
/* ]]> */
&lt;/script&gt;
&lt;script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
&lt;/script&gt;


The MSN tracking code has also been added into the google adwords tracking code using a <if> condition.

There is no separate 'Thank you' page to track the conversion and that is the reason we track the URL parameter instead of the usual method.

Try this URL - http://screencast.com/t/5Qa6YgWt
http://screencast.com/t/pfFgBlKkbk


Bharath

Re: Combining of MSN & Google adwords tracking code giving faulty

Top Contributor
# 4
Top Contributor
Hi Bharath,

Code looks ok. It's not quite how I do it, but close. What's happening that makes results inaccurate?

You won't get conversion data from folks using browsers with Javascript disabled because you haven't include the noscript portion of the code. Without server side scripting, this is probably your only option.

The way our script works to segment our remarketing lists is I declare all the variables first with no value. Then I test for gclid, much the same way you test for GOAL in the url. If I find the gclid, I then assign values for all variables to match the conversion code as provided by AdWords.

I noticed you are only assigning a value the google_conversion_id. That should work, but you might also consider assigning the google_conversion_label value as well. It's hard to tell without knowing more about why you think the results are inaccurate.

Pete
petebardo -- Deadhead doing AdWords

Re: Combining of MSN & Google adwords tracking code giving faulty

Follower ✭ ☆ ☆
# 5
Follower ✭ ☆ ☆
Hi Pete,

Thank you for your suggestion. We will try assigning the google_conversion_label value too.

Another question - Adding msn scipts in between Google conversion code will not create issues?

Re: Combining of MSN & Google adwords tracking code giving faulty

Top Contributor
# 6
Top Contributor
Hi Bharath,

MSN and Google are careful with their scripts to assign uniquely named variables that shouldn't cause a conflict. But I'm not familiar with all the background processing so I can say for certain. I would recommend keeping the AdWords conversion code block and the MSN block separate, if for no other reason than to make it easier to maintain.

Pete
petebardo -- Deadhead doing AdWords