First Steps
It's essential meet the requirements and follow the first steps strictly in order to achieve a properly tracking deployment.
Requirements
Before install the module, be sure you meet the minimum requirements
- PHP 7.1
- PrestaShop 1.6.1
Uninstall Modules
It’s essential to uninstall any other tracking module, or theme snippet code that sends data to the chosen platform, so we'll avoid unexpected results.
Configure Cron Job
The Cron Job is a server-side task that recovers and sends transactions that failed to trigger from the customer's device.
This task collects orders placed between 10 minutes and 48 hours ago. To be eligible for recovery, orders must meet the following conditions:
- The Order ID is missing from the module's control table or is marked as a "missing transaction."
- The current order status does not match any invalid or refund statuses defined in the Checkout Configuration tab.
Warning
The recovery process only sends transactions to API platforms properly configured with a tracking ID.
Supported API Platforms: Google Analytics 4, Google Ads, and Facebook.
Coming Soon: Bing Ads, TikTok, Pinterest, Twitter, and Criteo.
Configure The Job
Trigger the job every 10 minutes to ensure all missing transactions are recovered with minimal impact on reporting times.
Note
Locate your specific Cron URL in the Recover Transactions tab of the module configuration.
Multishop: If Multishop is enabled, you must create a separate cron job for each shop. Ensure you select the correct shop context in the Back Office to retrieve the unique URL for each store.
*/10 * * * * /usr/bin/curl "https://my-shop-domain.com/index.php?fc=module&module=rcpgtagmanager&controller=crontask&token=VALID_TOKEN" >/dev/null 2>&1
Tip
Most hosting providers use cPanel or Plesk. Refer to their official documentation to set up a cron job:
If you use a different control panel, contact your hosting provider for assistance.