SEF thankyou page

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

SEF thankyou page

Postby d0ublezer0 » Fri Feb 02, 2018 2:51 pm

index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout
it possible to change this url to SEF url?
d0ublezer0
 
Posts: 14
Joined: Tue Mar 24, 2015 9:26 am

Re: SEF thankyou page

Postby admin » Fri Feb 02, 2018 8:03 pm

hello, it's not suggested to try to use SEF for this URL since the E in SEF is for ENGINE and there should be no engines visiting this page.

if you have any reason for this URL to get SEFed, please let us know. OPC sends "/thank-you" to GA (google analytics) by default, for GTM (google tag manager) you can set up custom URL in GTM.

thank you page URL is different per each payment method since the landing URL from paypal or other payment plugins is alwasy different (and it is also not SEF-ed since it includes important information within the URL data)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: SEF thankyou page

Postby d0ublezer0 » Sun Feb 04, 2018 1:41 pm

we use BIT Virtuemart Google Analytics plugin
https://extensions.joomla.org/extension ... analytics/
you said:
OPC sends "/thank-you" to GA (google analytics) by default
where i can find this option in OPC?
d0ublezer0
 
Posts: 14
Joined: Tue Mar 24, 2015 9:26 am

Re: SEF thankyou page

Postby admin » Mon Feb 05, 2018 5:36 pm

hello, in opc tracking section:

OPC Backend (OnePage Checkout) -> OPC Tracking (left main menu) -> enable Google Anlytics -> configure order statuses (you can use all of them) -> set up your GA code + Adwords code -> Optionally configure to run at Product pages + categories + cart (for remarketing or measuing product impressions) -> Set GA URL for cart (by default /cart) -> Set GA URL for thank you page (by default /thank-you ) -> same URL is used even when the customer returns from a redirected payment method such as iDeal, Paypal, or else

- click enable OPC tracking (first tab in OPC Tracking section) -> this will install+update+enable "opctracking" vmpayment + "opctrackingsystem" joomla plugins.

in GA you can also choose if to use the latest API such as "GTAG.js"

https://developers.google.com/analytics ... on/gtagjs/

compatible with Apple product's tracking

OR analytics.js
OR legacy ga.js

you can even use GTM in OPC but it's very complicated to set up in GTM itself. it then supports custom URL rewrites as needed per detected events/triggerers.

best regards,stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: SEF thankyou page

Postby admin » Mon Feb 05, 2018 5:37 pm

you can also enable "run at all pages" -> this will render the standard GA code (GTAG or analytics or ga.js ) at all pages handled by joomla.

if you do not enable this option, OPC Tracking expects that you already added the code into your site somewhere (such as your template, or a 3rd party plugin)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: SEF thankyou page

Postby martin@.....cz » Tue Apr 30, 2019 5:56 am

admin wrote:you can also enable "run at all pages" -> this will render the standard GA code (GTAG or analytics or ga.js ) at all pages handled by joomla.

if you do not enable this option, OPC Tracking expects that you already added the code into your site somewhere (such as your template, or a 3rd party plugin)

best regards, stan


Nice. Can I also run the GTM code on all pages?
I'm trying to set up analytics over GTM for the first time. For now, I don't load orders in GA.
Image
martin@.....cz
 
Posts: 7
Joined: Mon Apr 29, 2019 7:45 pm

Re: SEF thankyou page

Postby admin » Mon May 20, 2019 1:19 pm

hello,

"load at all pages" within any OPC Tracking solution, such as GTM or GA means that it includes the "standard code" on every front end page. (for GTM it includes the GTM tag right after starting of the body element)

same for GA - it includes the configured version (legacy, universal, gtag) script within the head secton of your site on every page at front end.

opc events for products, purchases, etc are triggered only if they detect any data.

"run only once per positive status" :
- if you chose to run the code at Pending + Cofirmed and the script is run on Pending, it won't get re-run on Confirmed
- if you enable "ajax check" of the order status and your customer goes to paypal and returns:
Pending (not configured as order triggerer) -> Confirmed by shopper (when the customer lands back on your site from paypal) -> Confirmed (a few seconds to a few hours after he paid), OPC does an ajax call to check if there was any change within the currently tracked order and if yes, it reloads the page to run the confirmed code.

the problem with paypal is that is usually updates the order status AFTER the customer lands at your page and thus you would not be able to track it otherwise. (same issue can happen with other IPN based payment methods)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x