How to configure Google Analytics (GA) to view the sales made on my e-commerce website.
Creating a Google Analytics 4 account
- Step 1: Follow the steps described on the next page: https://support.google.com/analytics/answer/9304153
-
Step 2: Once you have set up data collection, configure conversions (or key events) by following the steps described on the page: https://support.google.com/analytics/answer/13128484
When creating your key event, enter the URL of your payment confirmation page in the value field.
Tip: To find the URL for this page, simply make a payment on your e-commerce site..
How can I make the buyer go through the payment confirmation page?
Do you use a payment module provided by Scellius?
- Enable automatic return to the shop in module configuration.
- Set the Timeout before redirection in case of successful payment to 0.
For more information, refer to the documentation provided with the payment module.
Do you use the payment form?
To force the buyer to go through the URL defined in the Destination field of your Goal, you must use the form fields below:
| Field name | Comments |
|---|---|
| vads_url_successor vads_url_return | Depending on your implementation of the redirection to the store, set the vads_url_success or vads_url_return field to the URL defined in the Destination field of your Goal. |
| vads_redirect_success_timeout |
Set this field to "0" so that the buyer is redirected to your payment confirmation page as soon as the payment is complete. |
| vads_return_mode | Set this field to "GET" to avoid potential alert messages from the buyer's browser. |
Do you use the embedded payment?
To ensure that the buyer uses the URL specified in the value field of your key event, you must use the form initiation parameter below:
| Field name | Comments |
|---|---|
| kr-post-url-success | Return URL in case of success. |