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!
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
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?
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...
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... :(
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
you will have to build a plugin that sends a track url when you click confirm order
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.
But he's talking about sending when he manually updates to Confirmed in the admin....
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.
isnt it possible to implement a little pice of code to track the payments manually?