Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google Adwords Tracker


damo2576

Recommended Posts

Posted

Hi,

 

I use googles adwords now and need to be able to track them some how.

 

Does any one have any thoughts on the the best way?

 

I'm thinking about adding an extra variable to the URL in the adword link such as ?adword=keyword and storing that in the database.

 

Does anyone have any experience or advice on this matter?

 

Any help appreciated.

 

Thanks,

 

Damo

Posted

Yes.. what you said is exactly how its done..

 

you can store it in a database or a file for later stats.

 

Or use add management script that would do that for you

 

a good one is PHPmyadmin or FAD complete site manager (search google for them)..

 

Peace,

--------------------------------

Posted

cool, but how can i link it up to sales made?

 

i could register it to the session? how do i do that? I've had problems doing that with user tracking as the cookie isnt available till the 2nd page load.

 

help appreciated!

 

damo

Posted

Use sessions..

 

the FAD program has the referal script made in, which you can use to do such thing

 

Peace,

--------------------------------

Posted

You can get this JavaScript code on the adwords site. I created a box with it. Replace the xxxxxxxx with whatever you get from google. Then call it from column_left.php or column_right.php. With this code, you can see conversion rates directly in your google adwords reports.

 

Hope this helps!

 

<!-- google tracking //-->
         <tr>
           <td class="main">
<!-- Google Conversion Code -->
<script language="JavaScript">
<!--
google_conversion_id = xxxxxxxx;
google_conversion_language = "en_US";
-->
</script>
<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<a href="https://services.google.com/sitestats/en_US.html" target=_blank>
<img height=27 width=135 src="https://www.googleadservices.com/pagead/conversion/xxxxxxxx/?hl=en">
</a>
</noscript> 
           </td>
         </tr>
<!-- search_eof //-->

Posted

thanks for that, sounds easy enough, could you explain a bit more about what should go where the xxxxx are?

 

would that be the extra variable i pass in the url? bit unsure.

 

thanks in advance.

 

damo

Posted

hang on a mo, looking at the code i dont get how it only works for those people that came from adwords? wont it put everyone regardless of where they come from as a conversion?

Posted

IF you have the affilliate program installed, just enroll Google as an affilliate.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...