News:

Support the VirtueMart project and become a member

Main Menu

Affiliate Tracking of Payment

Started by tygo, July 28, 2014, 16:05:36 PM

Previous topic - Next topic

tygo

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GJC Web Design

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GuidoS

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

But he's talking about sending when he manually updates to Confirmed in the admin....
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tygo

Quote from: GJC Web Design 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

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

tygo

isnt it possible to implement a little pice of code to track the payments manually?