News:

Support the VirtueMart project and become a member

Main Menu

AdWords Tracking in Virtuemart 2

Started by toad78, October 08, 2013, 22:39:27 PM

Previous topic - Next topic

toad78

There still doesn't seem to be a firm answer to this topic (http://forum.virtuemart.net/index.php?topic=106993.msg383446#msg383446) as I am still trying to figure out how to do the same thing. What I need done is for the Conversion code to activate AFTER a purchase has been made. Meaning, after the user has already paid for their product in the payment gateway (PayPal Legacy in this case) and then come back to the Order Done page where the Conversion code would be located.

Trying a series of methods has leaded to a bunch of errors.

Does anyone have any solid leads on how this can be implemented? 
   
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXX;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "XXXXXX";
var google_conversion_value = 0;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/XXXXXX/?value=0&amp;label=XXXXXX&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

On top of that, I would like to add my own 'Thank You' message rather than the bland message posted.

Any ideas?

ssc3

#1
The latest version of the PayPal Express Checkout Plugin 1.0.20,

has an option for editing the HTML code of the header and footer of the final receipt page including adding Javascript.

Also if you set the option

"Do buyers review and confirm their purchases on PayPal or on your website?" to PayPal

The checkout process can be made similar to standard.

http://forum.virtuemart.net/index.php?topic=104184.0
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

toad78

#2
I cannot use your plugin because the customer does not have a Pro account. Just the Basic.

Is there no way to modify the default PayPal plugin?

ssc3

This is the PayPal Express Checkout Plugin.

All basic PayPal accounts will work with it.

All you require are the API details from your customers account

and that will connect the plugin to PayPal.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

toad78

I have not been able to successfully test this plugin as for some reason the Sandbox acct. isn't working. But I'm hoping that your plugin will assist in what we're trying to accomplish.

Thank you.

Maxim Pishnyak

Did you check related to your question threads on forum? Keep looking on them after you will find them. Forum members could provide their web sites for solving this task by forum stuff.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart