The vB Geek

Go Back   The vB Geek > vB Geek Products > GeekMart

GeekMart GMart is an integrated shopping cart system for vBulletin.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2005, 06:22 AM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default Affiliate Program Tracking Code

I need some help with GMart variables ... I use an affiliate program to track sales and pay commissions to affiliates. To do this, we insert an "image tag" into the order process and also the order confirmation page.

I need to insert an image tags containing some GMart variables into the gmart_paypal_process template and the gmart_thanks template.

I think I need to insert the following code into the gmart_paypal_proces:

Code:
<img src="http://www.assoctrac.com/12345/track/sale/

 ?order=order_id;desc_1=product;price_1=price;qty_1=quantity;commit=0>
And I need to insert the following code into the gmart_thanks template.

Code:
<img src="http://www.assoctrac.com/12345/track/sale/?order=order_id;commit=1>
In both lines, I need to figure out the GMart variables to substite for:
  • order_id
  • product
  • price
  • quantity

Can you help me with what code I need?

Thanks,
Greg
Reply With Quote
  #2  
Old 12-15-2005, 08:14 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

ill have to pop open the code tonight and have a look during those processes.
Reply With Quote
  #3  
Old 12-15-2005, 02:59 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
ill have to pop open the code tonight and have a look during those processes.
Thank you ...

If you are going to pop open the code and look at it ... a few extra thoughts about a future feature request would be greatly appreciated ... it sure would be nice if you could add two blank templates GARS_tracking_in and GARS_tracking_out that would allow people to put whatever tracking code they wanted into those templates ... There are a lot of people that use tracking code like Google's to track conversions for Adwords ...

Thank you for looking when you get a chance ...

Thanks,
Greg
Reply With Quote
  #4  
Old 12-15-2005, 04:42 PM
kidmercury kidmercury is offline
Member
 
Join Date: Oct 2005
Posts: 34
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
a few extra thoughts about a future feature request would be greatly appreciated ... it sure would be nice if you could add two blank templates GARS_tracking_in and GARS_tracking_out that would allow people to put whatever tracking code they wanted into those templates ... There are a lot of people that use tracking code like Google's to track conversions for Adwords ...
i have not bought gmart yet, definitely got my eye on it though -- and when i do get it, i will definitely be interested in the kind of feature noted above. anyway, just wanted to mention that
Reply With Quote
  #5  
Old 12-15-2005, 04:53 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

I would love to, but I have no clue what you mean

If I had some good examples, Im sure I could do something though!
Reply With Quote
  #6  
Old 12-15-2005, 10:34 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
I would love to, but I have no clue what you mean

If I had some good examples, Im sure I could do something though!
If this question was directed to me ...

Above, I gave you two sets of code snipets that I need to be able to insert into the order flow process ... my original question asked for your help to help me identify the GMart variables that you use ... so that I could insert that code into my best guess of the appropriate templates in the order flow process.

As soon as you have a chance to identify the variables that you used, it is pretty easy to insert the short snippet of tracking code into an already existing template such as the two templates that were my best guess of where the code needed to be inserted ...

Since you know the order flow process better than anyone else ... you probably know where tracking code needs to be inserted better than anyone else <grin> ...

Let's assume that the GMART_thank_you template is one of the correct places that this code needs to be inserted ... wouldn't it be easier to pull this code from either a database field or a tracking code template? That way each time the GMART cart gets updated, we do not have to edit the updated GMART files with the tracking code (or future customers don't have to try to figure out where the code needs to be inserted - you know my best guess, but I don't know if its right<grin>).

Every affiliate program or tracking code is just a little bit different, so a nice database field or blank template that we could insert that custom code into would be greatly appreciated ...

So ... the question comes back to you ... in the example I first posted above, I showed you the two pieces of code that I need to insert into the GMART cart ... so question #1 .. what GMART variables do you use to represent each of those items (Order ID, Product Description, Quantity, and Price) ... and question #2 ... which GMART templates do I need to insert each of those two code snippets into your GMART order flow process?

So when you ask for an example <grin> ... you have a perfect one above <grin>!!!

Thanks,
Greg
Reply With Quote
  #7  
Old 12-16-2005, 08:10 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Does the tracking code only have to appear one?
Reply With Quote
  #8  
Old 12-16-2005, 10:15 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
Does the tracking code only have to appear one?
Above, I displayed two different tracking codes ... one is for the order process when an order is placed, this one allows you to specificy and track specific products ... thus it is an image tag that contains an order ID, Product ID, Price, and Quantity ...

The Second tracking code is the payment confirmation image tag ... and it really only has to have the Order Id ...

So there are two different image tags ...

Ideally the first image tag would be included where you "add" an item to your cart ...

Ideally the second image tag would be in the payment confirmation screen to show the order has been paid for ...

Greg
Reply With Quote
  #9  
Old 12-19-2005, 06:35 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
ill have to pop open the code tonight and have a look during those processes.
Did you get a chance last week to ever pop open the code and see what variables you use for:
  • order_id
  • product
  • price
  • quantity

Thanks,
Greg
Reply With Quote
  #10  
Old 12-19-2005, 06:58 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Ive been pouring over the code and tweaking the last few days. Ill have to double check when I get home - however what is going to be difficult is getting each item code, price and quantity.
By the time you are at paypal mode, the order is wrapped up and the lines are not directly availible.
In other words, if you buy 2 items, are you supposed to do 2 tracking lines?
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is tracking working? KenDude Geek Gazette 6 07-04-2009 02:35 PM
Amazon Affiliate / Custom Field interfx Geek Article and Review System 11 05-22-2007 01:57 PM
Affiliate links Richy Geek Auto-Linker 3 04-20-2006 02:52 PM
Question about putting in Amazon Affiliate images in Article The Ottoman Geek Article and Review System 2 02-22-2006 04:03 PM
Impression tracking KirbyDE Geek Auto-Linker 3 12-28-2005 11:22 PM


All times are GMT. The time now is 12:26 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.