Author Topic: Affiliate Tracking of Payment  (Read 1361 times)

tygo

  • Beginner
  • *
  • Posts: 27
Affiliate Tracking of Payment
« on: July 28, 2014, 16:05:36 pm »
Hello,

I need to place a tracking pixel, that is activated, when a sale is submitted, regardless, which way of payment is choosen. I currently dont know, where to put the skript.
It has the following structure:

<img src="http://www1.belboon.de/adtracking/sale/000014437.gif/oc='<<__order_id__>>?value=<<__amount_without_taxes__>>">

The parameters order_id and amount_without_taxes must be filled dynamically.

THanks for any ideas!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Affiliate Tracking of Payment
« Reply #1 on: July 28, 2014, 17:55:38 pm »
depends on which payment plugin your using - some that redirect back to the confirmation page produce their html in the plgVmConfirmedOrder() function of the plugin

have a look at the standard vm payment plugin to see

$order['details']['BT']->order_number & $order['details']['BT']->order_total are normally available there







GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

  • Beginner
  • *
  • Posts: 27
Re: Affiliate Tracking of Payment
« Reply #2 on: July 29, 2014, 10:28:51 am »
yes, i use this standard plugin, but i have the problem that i use sofort├╝berweisung and paypal as well. Thus do i have to set a confirmation for each payment individually? isn┬┤t there a smart way?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Affiliate Tracking of Payment
« Reply #3 on: July 29, 2014, 11:00:54 am »
No - because your wanting to track a comfirmation response from the individual payment methods - so the response should come from them when they are confirmed...
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Affiliate Tracking of Payment
« Reply #4 on: July 29, 2014, 12:50:59 pm »
Perhaps you could suggest to Alatak (she builds the majority of payment plugins) to add a field in the plugin config to incl. some custom html in the confirm output?

Arranging the different parameters needed (e.g. order number and confirmed amount) will need more fields though to config...   :(
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

  • Beginner
  • *
  • Posts: 27
Re: Affiliate Tracking of Payment
« Reply #5 on: July 30, 2014, 15:13:27 pm »
is there any way to track the orders without a verification? because i have to verify each order manually in the backend of our affiliate-partner

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Affiliate Tracking of Payment
« Reply #6 on: July 30, 2014, 15:18:48 pm »
you will have to build a plugin that sends a track url when you click confirm order
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GuidoS

  • Jr. Member
  • **
  • Posts: 57
  • VirtueMart Version: 2.0.26a
Re: Affiliate Tracking of Payment
« Reply #7 on: July 30, 2014, 17:10:51 pm »
Well I use Onepagecheckout for this, I needed this for two affiliates, beslist and webgains. It also can send the feed for the products and the pixel which send all the orders to beslist.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Affiliate Tracking of Payment
« Reply #8 on: July 30, 2014, 17:41:32 pm »
But he's talking about sending when he manually updates to Confirmed in the admin....
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

  • Beginner
  • *
  • Posts: 27
Re: Affiliate Tracking of Payment
« Reply #9 on: July 31, 2014, 17:36:34 pm »
you will have to build a plugin that sends a track url when you click confirm order

isnt it possible to modify the code a little bit ("hard-coded") not very comfortable, but i have never built a plugin.

tygo

  • Beginner
  • *
  • Posts: 27
Re: Affiliate Tracking of Payment
« Reply #10 on: August 08, 2014, 12:04:29 pm »
isnt it possible to implement a little pice of code to track the payments manually?