API de conversiones para PrestaShop: Meta, GA4 y Google Ads desde el servidor
- Un año de soporte técnico y actualizaciones de por vida; desde el segundo año, el soporte se amplía por 47,50 €/año e incluye atender tus ideas de mejora generales del módulo.
- Se renueva sola; la cancelas cuando quieras, sin permanencia.
- Un año de soporte técnico y actualizaciones de por vida; después, el soporte termina (con la suscripción se amplía por 47,50 €/año).
- Un solo pago, sin cobros automáticos.
Envía las conversiones de tu tienda a Meta, GA4, Google Ads, TikTok, Microsoft Ads, Pinterest, Snapchat, LinkedIn y OpenAI / ChatGPT Ads desde tu servidor, sin depender solo del navegador. Con deduplicación con el píxel, Consent Mode v2, asistente de configuración, semáforos de salud y conciliación diaria de pedidos.
Compatible con PrestaShop 1.7.8 a 9.2, desde PHP 7.2.
Publicidad y analítica
Tus anuncios solo ven una parte de tus ventas.
Los bloqueadores y los navegadores que recortan cookies hacen que las plataformas no reciban parte de las compras que generan tus campañas, y optimizan con datos incompletos. RKR API Conversions Pro envía las conversiones desde tu servidor, con el mismo identificador que el navegador para que no se cuenten dos veces.
/ Un asistente que te lleva de la mano
El asistente examina tu tienda (tema, banner de consentimiento, etiquetas que ya imprimen otros módulos, módulos de pago y cron) y te guía plataforma a plataforma. Cada paso comprueba el formato de lo que pegas y tiene un botón Guardar y probar que envía un evento de prueba real y, si falla, te explica el error con palabras normales en lugar de un código de la API.
/ Navegador y servidor dicen lo mismo, una sola vez
Para cada etiqueta del navegador (Meta Pixel, GA4, Google Ads, TikTok y las nuevas de Microsoft, Pinterest, Snapchat y LinkedIn) eliges quién la carga: el módulo, otro módulo o Google Tag Manager, o nadie y solo servidor. Con las dos primeras opciones, navegador y servidor envían el mismo event_id y la plataforma deduplica. En GA4, además, un evento nunca llega dos veces.
Las compras se pueden enviar al cobrar el pedido (lo recomendado y lo que traen por defecto las instalaciones nuevas) o al crearlo. También viajan los reembolsos parciales por abono, las cancelaciones, los pedidos creados desde el back-office y los ajustes de conversión de Google Ads.
/ Datos que mejoran la coincidencia, sin enseñar de más
user_id de GA4 (en claro o con hash)./ Consentimiento, antes que nada
Consent Mode v2 con el consentimiento guardado restaurado antes de cargar las etiquetas, ads_data_redaction, url_passthrough y adaptadores para Cookiebot, CookieYes, Complianz y OneTrust, además del consent update de gtag. Un país desconocido no concede el consentimiento cuando has definido regiones, y una denegación explícita de tu banner nunca se sobrescribe.
/ Sin frenar la tienda ni el pago
En modo cola, el módulo no hace ninguna llamada de red mientras se genera la página o se paga: los eventos esperan en una cola que procesa el cron cada 5 minutos. Si el cron deja de pasar, la cola la procesan las propias visitas una vez enviada la página, así que no se pierde nada. Y si tu alojamiento no permite cron, el modo de envío Híbrido o Inmediato manda los eventos durante la confirmación del pedido (el pago es algo más lento). Lo que hace el módulo en los hooks está protegido para que un fallo suyo no pueda romper el pedido.
Una conciliación diaria compara los pedidos con las entregas de cada plataforma, dentro de su ventana, y deja el informe en la configuración.
/ Si tu agencia te da un relay, conectar es un clic
El módulo puede entregar los eventos a un relay del lado del servidor que te facilite tu agencia: pegas su URL (HTTPS) y el token de la suscripción, pulsas Probar y el relay se encarga de los reintentos. Cada llamada va firmada, y al relay solo viajan identificadores con hash: del cliente, únicamente ciudad, provincia, código postal y país.
/ Actualizar es subir el ZIP
La versión 1.3.0 sustituye a la 1.2.0: subes el ZIP y el módulo migra solo. Añade Microsoft Ads, Pinterest, Snapchat y LinkedIn, las etiquetas de navegador de las cuatro, el embudo de comercio electrónico completo de GA4, la conciliación diaria y los semáforos de salud. Quien actualiza conserva su momento de envío de la compra («al crear»); las instalaciones nuevas lo envían al cobrar.
Corrige además un fallo de la cookie del visitante, que podía hacer que el cliente perdiera el carrito, y dos casos en los que GA4 recibía artículos o número de artículos vacíos.
Compatible con PrestaShop 1.7.8 a 9.2, desde PHP 7.2
Desarrollado y mantenido por REKIRE
v1.3.44
- Google Ads by server failed in every new installation: Google answers
CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE("New integrations for uploading click conversions should use the Data Manager API") to the integrations that did not useUploadClickConversionsbefore. The conversions now go to the Data Manager API (POST https://datamanager.googleapis.com/v1/events:ingest): account and conversion action as destination, gclid/gbraid/wbraid inadIdentifiers, e-mail and phone (SHA-256, hex) inuserData, the order reference astransactionId(deduplication) and the consent per event. It needs the scopehttps://www.googleapis.com/auth/datamanagerand no developer token. - New setting
RKRAC_GADS_UPLOAD_API(Google Ads > "API that uploads the conversions"):datamanagerby default;adskeeps uploadClickConversions for the integrations Google still allows. The upgrade leavesadsin the shops that already had their own refresh token (it only has the adwords scope). With the "Connect with Google" of RKR Relay the relay chooses by the permissions granted: a shop connected before has to connect again. - Refunds still go as
uploadConversionAdjustmentsof the Google Ads API: the Data Manager API has no retraction. - The phone goes to Google in E.164 with the "+" before hashing, as Google asks (before it was the one of Meta, without it).
- The connection test explains
CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE, a token without the Data Manager permission and the API not enabled in the Google Cloud project. - TikTok: an event without properties (CompleteRegistration) was sent with
"properties":[]and TikTok answered 400 "Invalid input type for data.0.properties._schema". It goes as{}now. - Refunds of a purchase counted by the browser tag (GTM, rcpgtagmanager) never reached GA4: the purchase is skipped with
browser_tag_firedso as not to count it twice, andreportedPurchase()only took the purchases not skipped, so the refund and the cancellation ended inpurchase_not_reported. A purchase skipped for that reason counts as reported now (GA4 has it with the same transaction_id); the other skips (consent, test, unpaid...) still send no refund. Seen in e1rc.com (orders 12751 and 12672). New testtests/reembolso-etiqueta-navegador.php. - Speed:
views/css/front.csswas a render-blocking request on every page (PageSpeed, about 150 ms on mobile) and only styles the tracking preferences page. It loads only there now; the optional header link carries its few styles inline.rkra-conversions.jsloads withdefer. - The tracking preferences page (
module/rkrapiconversionspro/consent) was rendered without the theme (no header, no styles): its template did not extendpage.tpl.
v1.3.43
- The OpenAI (ChatGPT) pixel did not work in the browser: it loaded
https://bzr.openai.com/v1/pixel.js, which answers 404, and pushed calls (window.__oa) that are not the API of OpenAI. Only the server events arrived. - Now it uses the official snippet:
oaiqloadshttps://bzrcdn.openai.com/sdk/oaiq.min.js,oaiq('init', {pixelId}), and each event goes asoaiq('measure', type, data, {event_id})with the shape (contents,customer_action,plan_enrollment,custom), the amounts in minor units, the currency and the contents of the server event, and the sameevent_id, so OpenAI deduplicates pixel and server. Custom events carrycustom_event_namelike the server. - Consent:
oaiq('consent', false)beforeinitwhen the advertising cookies are not accepted, and the SDK is not even requested from OpenAI until they are (like the Pinterest, Snapchat and LinkedIn tags). When the visitor accepts, the SDK loads andoaiq('consent', true); withdrawing it sendsoaiq('consent', false). Before, the pixel loaded without waiting. - A cookie banner with a manual rule for
bzr.openai.com/v1/pixel.jshas to blockbzrcdn.openai.comandoaiq(instead. - New tests
tests/pixel-openai-config.php(sets and restores the pixel for a browser test).
v1.3.42
- "Connect with Google" (Google Ads step of the assistant) listed every Google Ads account the connected Google login can see, with their conversion actions, and preselected the first one. With the login of an agency, the back office of a shop showed the names and conversion actions of the other clients of the agency, and the preselected account could be someone else's.
- Now the module sends the AW- conversion ID of the shop (
RKRAC_GADS_AW_ID) and the relay (1.5.1) answers only with the account whose conversion tracking ID matches it, preselected. Without a match (or without an AW- ID) the list shows ID and name of each account, nothing is preselected, a warning says it includes other advertisers, "Apply" asks for an account, and the conversion actions are fetched only for the chosen one. - The list is no longer cut at 15 accounts: the first 50 come with their name and the rest by ID (their details load when chosen).
- When the browser tag already sends the purchase (Google Ads tag not in "server" mode and a
Purchaselabel inRKRAC_GADS_LABELS), the "Compra (RKR)" conversion action is created as secondary (primaryForGoal=false), so the sale is not counted twice in the "Conversions" column and bidding. An existing action is not changed. - An older relay ignores the new parameters: the list keeps working as before.
v1.3.41
- A status change sent a Purchase for orders whose sale was already counted. With "Send the purchase when paid", an order placed before the module was installed had no Purchase of its own, so moving it to Shipped or Delivered (or back from a "ready" state without "paid") sent one with the time of that change: a new sale in GA4 for an order of weeks ago. Seen in a shop with transfers and Bizum, which enter paid through several states, so limiting the paid states did not help.
- Now a status change does not send the Purchase when the order already went through a state that sends it (any earlier paid state, also before the module was installed), nor for an order older than the first order the module saw. The log says why ("Purchase not sent on a status change").
- An order placed now still sends its Purchase on its first paid state, by card or by transfer. The backfill of old orders and the reconciliation are not affected: they send old orders on purpose.
- New setting "Track orders placed since" (General, empty by default):
RKRAC_ORDERS_SINCE, a date and time in the time of the shop (2026-11-12 09:00). Orders placed before it send nothing: no purchase on a status change, no refund, no cancellation, no backfill nor reconciliation. For a shop that brought the orders of its old shop with a migration (ETS and the like): they arrive without a row of the module and the old shop already counted them. An invalid date is refused when saving and ignored if written by hand. - New test
tests/compra-estado-pagado.php.
v1.3.40
- New setting "URL of each checkout step" (General, off by default). In the checkout of PrestaShop in steps (Classic, Hummingbird, 1.7.8) the address shows the visible step with
history.replaceState(no reload, no history entry):/order#personal_information,#address,#shipping,#payment, translated (/pedido#datos_personales,#direccion,#envio,#pagoin Spanish) or typed in "Names of the steps in the URL". At each step the dataLayer receives{event: 'checkout_url', checkout_step, checkout_paso, page_location}(checkout_paso= the key of the theme script it replaces): a funnel in GA4 or a flow in GTM or Connectif shows where the visitors leave. - "Also a GA4 page view": a
page_viewwith that URL through gtag.js, only when the module sends the browsing to GA4 itself. With GTM or another module sending the browsing ("Who sends the browsing to GA4" = another tool) there is only the dataLayer event, so nothing reaches GA4 twice. - No cookies, no personal data, no requests: the dataLayer event does not wait for consent; the page_view goes through gtag.js, where Consent Mode decides, as every GA4 event of the module. One page checkouts are left alone.
- If a theme already runs the same script, only one of them writes each step.
- Installed by copying the files (not from the module manager): empty the cache of PrestaShop, or the steps keep the English names until the translation cache expires.
- Tested to the payment step in 1.7.8 and 8.2 (Classic), 9.0 (Classic) and 9.2 (Hummingbird), also going back to an earlier step: new test
tests/tools/checkout-url.js.
v1.3.39
- Shops with a page cache (AllInOneCache and the like): the event id of the PageView was written by PHP, so it stayed in the cached HTML. Every visitor of a URL sent the same id, Meta kept only the first one and the PageView was undercounted. The id is now born in the browser, on every page load, and the pixel (Meta, Snapchat) and the server beacon use that same id. Shops without a page cache count the same as before.
- A second visit to a cached page in the same browser session did not send the server half of the PageView: the mark in sessionStorage used that fixed id. The mark is gone.
- After installing: empty the page cache. Until then, the pages already stored keep working with their old id. The upgrade empties the compiled templates.
- New test
tests/tools/pageview-id.js.
v1.3.38
- GA4 with the purchase tag of GTM kept on: new setting "Wait for the purchase tag of GTM (minutes)" (GA4 section, 0 = off, as before). The GA4 row of a Purchase waits those minutes in the queue and is skipped with
browser_tag_firedwhen the buyer saw the confirmation page or a GTM module logged the purchase as sent; otherwise it goes through the Measurement Protocol with its original time. Only the purchases of buyers who did not come back after paying (Redsys, Bizum...) reach GA4 from the module, and none twice. The refunds are sent as before. Use thetransaction_idof that module (id_orderfor rcpgtagmanager). - The logs read are
cdc_gtm_order_log(cdc_googletagmanager) and, new,rcpgtagmanager_order_tracking_status(rcpgtagmanager of Reaction Code): statuses 3 (pushed in the browser of the buyer) and 4-8 and 10 (sent from its server) count as sent; 2, 9, 11, 12 and 13 do not. The scheduled import of Google Ads also leaves out the orders rcpgtagmanager sent. - Assistant: rcpgtagmanager is listed among the modules that load GTM, and HiCookie Law (hicookielaw,
window.hiCookieLaw) among the consent banners. A new finding tells when one of those GTM modules is active and GA4 does not wait for its purchase tag. - New test
tests/espera-etiqueta-ga4.php.
v1.3.37
- A visitor whose consent was already denied when the page started (withdrawn in another tab, or the page left before the 3 s) kept an old
rkra_vidon a shop with a page cache: no change from granted to denied happened on the page and the cached page never ran the module. The page now asks the beacon to remove it 3 s after starting denied, once per browser session (a mark in sessionStorage, not a cookie), not on every page.
v1.3.36
- 1.3.35 still removed
rkra_vidat once on rekire.com: the theme refreshes the cart (POST /carrito) right after a consent change, that controller runsactionFrontControllerInitAftertoo and the check of the pages read the consent cookie already denied. The check now runs only when the visitor opens a page (GET,Sec-Fetch-Mode: navigate, not AJAX); any other request leaves it to the beacon, which waits 3 s for a stable choice.
v1.3.35
- 1.3.34 removed
rkra_vidat once wherever PrestaShop hasactionFrontControllerInitAfter(not 1.7.6): the beacon is a front controller too, so that hook ran on it and the check of the pages (enforceConsent()) read the consent cookie already denied, before the 3 s that protect a visitor who had accepted (seen on rekire.com). That check no longer runs on the controllers of the module; the beacon removes the cookie only when the script asks for it.
v1.3.34
- Withdrawing the consent did not remove
rkra_vidon a shop with a page cache (AllInOneCache on rekire.com): the cached page never runs the module, so theSet-Cookieof 1.3.33 never left. Now the script asks the beacon (a front controller, never cached) to remove it when ad_storage goes from granted to denied, 3 s later and only if it is still denied: a platform that writes its default before the stored choice says "denied" for a moment to a visitor who had accepted, and that must not remove it. The check on the pages stays for shops without a page cache. tests/tools/consent-vid-pixel.jswithdraws the consent on the page (a Consent Mode update) and checks the beacon removes the cookie, not at once.
v1.3.33
- The visitor cookie
rkra_vid(HttpOnly, 90 days) was written by the server on the first visit, before any consent; it is a marketing cookie. Now it is created only when ad_storage is granted: in the consent the beacon carries, in therkra_consentcookie of the module, or in the defaults of the module (granted when the consent handling is disabled). Whenrkra_consentsays ad_storage is denied the next page removes it (the consent platform cannot: it is HttpOnly). Not in the beacon of the change itself: a platform that writes its default before the stored choice would remove it, for a moment, from a visitor who had accepted. Also checked indisplayHeader, since PrestaShop 1.7.6 has noactionFrontControllerInitAfter. - Without that cookie the beacon keeps the context of the visitor with his cart (a key derived from it, nothing written in the browser), so the order still knows the consent he gave; without a cart nothing is stored and the events of the page are still handled (it answered
no_sessionbefore). An order placed by the visitor himself with no stored visit takes the consent from hisrkra_consentcookie. - Meta Pixel injected by the module: without consent
fbevents.jsis no longer fetched. Loaded withconsent revoke,initandPageViewin its queue and thegrantbehind them, it sometimes never started the pixel on the page where the visitor accepted, and that PageView was lost (seen with RKR Cookies on PrestaShop 9.2; from the next page it worked). The first grant now goes to the head of the queue and only then the script is fetched: the order of the next pages. Meta also gets no request at all from a visitor who has not accepted. - New tool
tests/tools/consent-vid-pixel.js: norkra_vidnorfbevents.jsbefore deciding, both after accepting (several rounds), the queue of the pixel when the script is fetched, and the cookie removed on the next page once the consent is withdrawn.--simularaccepts with a Consent Mode update when the banner of a copy does not grant.
v1.3.32
- Meta Pixel injected by the module next to a consent platform that writes its own Consent Mode before the module (cookiesplus 1.8: a default
deniedwithwait_for_updateand, for a visitor who already chose, anupdateright after it):window.rkraAcpAdswas taken from that default only, so for a visitor who had accepted it said "denied". The stub then sentfbq('consent', 'revoke')and, since 1.3.29, dropped any other "grant", and no PageView reached Meta on any page after the first one (seen on rekire.com). Now the updates the platform wrote after its default count too: the pixel is granted for a visitor who accepted and revoked for one who refused, as before. - GA4 was not affected: the
page_viewafter the reload keepsgcs=G111(the G100 seen was the page view of the first visit, sent in a batch after accepting). - Graph API of Meta: v25.0 by default and as the fallback of the sender (v21.0, the default until now, expires on 21/01/2027; v25.0 lasts until 29/07/2028). The update moves a stored
RKRAC_META_API_VERSIONfrom v21.0 to v25.0 only when it is still that old default; a version chosen by hand is kept. The list of the screen offers v21.0 to v26.0. The relay builds Meta requests with its copy ofRkraMetaSender: runtools/sync-lib.shthere. - First interaction (1.3.29/1.3.30):
scrollno longer counts. A theme that scrolls the page by itself on load (scrollTo) fired it without the visitor and fetchedgtag.jsandfbevents.js~2.6 s after the page; a visitor who scrolls touches (touchstart), turns the wheel (wheel), presses a key (keydown) or clicks (pointerdown) first. - New tool
tests/tools/consent-orden.js: the real order of the Consent Mode queue (default, updates, js, config) and the requests to GA4 and Meta before and after the first interaction; andtests/tools/primera-interaccion.js(nothing is fetched on load nor with a scroll made by code; the wheel does).
v1.3.31
- Scheduled import of Google Ads:
confirmation_seenwas only set when the customer of the session owned the order, but the browser tags of the page (Google Ads, GTM) fire on every load of the confirmation. A guest whose session is gone when the bank or the payment module sends him back (cash on delivery included) loaded the page, its tag counted the purchase, and the CSV listed it again. Now a load of the confirmation of the order with its secure key in the URL (key) marks it too; the data of the order in the page stays only for its owner. - "Wait before listing" (
RKRAC_GIMPORT_MIN_AGE) defaults to 24 hours (1440 minutes) instead of 60: a buyer who comes back to the confirmation some hours later is no longer listed first. Google Ads downloads the file once a day. A value saved before keeps working: change it in the screen.
v1.3.30
- First interaction (1.3.29): the
scrolllistener no longer uses the capture phase. A capturing listener ofwindowalso receives the scroll of any element, and a carousel that scrolls by itself loadedgtag.jsandfbevents.js2-5 s after the page without the visitor touching it (seen on rekire.com). Now only the scroll of the page counts; pointerdown, keydown, touchstart and wheel keep the capture phase.
v1.3.29
- The Google tag (
gtag.js, GA4 and Google Ads) and the Meta Pixel (fbevents.js) loaded by the module are fetched on the first interaction of the visitor (pointerdown, keydown, touchstart, wheel or scroll, once). A Google tag fetched while the page loads left PageSpeed Insights mobile without an LCP (NO_LCP, no performance score), even when it was fetched after theloadevent. - The
dataLayer, the Consent Mode defaults and updates,gtag('js'),gtag('config')andfbq('consent'/'init'/'track')run as before into the queues of the stubs: the script sends them when it arrives, so the page view of a visitor who interacts is not lost, with the consent state of that moment (advanced Consent Mode included). - A visitor who leaves without touching the page is only counted by the server half (Conversions API, Measurement Protocol when configured).
- New option in Consent Mode v2, "When the Google tag and the Meta Pixel load" (
RKRAC_TAG_LOADING): "On the first interaction" (default) or "As soon as the page loads" (the previous behaviour). - The Meta Pixel injected by the module drops a
fbq('consent', 'grant')of another script while the consent of the module says denied. cookiesplus (1.8.x,fireFBPixel()) calls it on every page when its Meta integration has no finality assigned, before the visitor answers: the pixel then sent the PageView to facebook.com/tr and wrote_fbpwithout consent. The grant of the module itself (the visitor accepts) goes through as before.
v1.3.28
(1.3.27 is not a version of this line: it is the number of a package modified by a customer.)
- Change to winter time (25/10/2026 in Europe/Madrid): between 02:00 and 02:59 every event processed by the queue failed with "The event date is in the future" (invalid_event), a purchase included. The queue read the moment of the event back from
event_log.date_add, a local time, and that hour exists twice:strtotime()took the second one, one hour ahead. Now: event_log.event_ts(new column) keeps the exact moment, andRkraEventQueue::eventFromLog()uses it (date_add only for older rows);- a moment up to 65 minutes ahead (also a purchase whose order was placed in that hour,
orders.date_addbeing local time too) is sent with the current moment; more than that is still a wrong time zone and the validator stops it. - A rejection of the relay (
relay_rejected) keeps the detail the relay sends apart, by index (payload_too_large,user_data_not_hashed:ph,customer_pii:email...): "Relay rejected the envelope: invalid_envelope (payload_too_large)". - New test
tests/cambio-hora.php.
v1.3.27
Actualización a la versión 1.3.27.
v1.3.26
- Scheduled import of Google Ads: the schedules of Google Ads now go through its Data Manager, which takes the first row as the header, so it read
Parameters:TimeZone=...as a column and missed the others. The file starts with the header of columns, and eachConversion Timecarries the offset of its own date in the time zone of the shop (2026-10-21 00:25:22+02:00,+01:00after the change of time). The rest of the columns stay the same. Google Ads asks for a URL ending in .csv: add?f=conversiones.csv(the parameter is ignored).
v1.3.25
- Scheduled import of Google Ads: "Purchases from" (
RKRAC_GIMPORT_SINCE) was compared only with the date of the Purchase event, so an order placed before the module was installed and paid later (a bank transfer, a late payment) entered the file: it has no frozen attribution, its gclid comes from the visit context when it was paid (maybe a later visit) and its conversion time is not the one of the purchase. Now the order itself (orders.date_add) must also be on or after that date (or inside the window of days when it is empty).
v1.3.24
Scheduled import of Google Ads (purchases without confirmation page)
- Google Ads no longer lets new integrations upload click conversions with
ConversionUploadService.UploadClickConversions(they must use the Data Manager API). Until the module speaks that API, the purchases of the buyers who did not come back after paying (Redsys, Bizum, bank) reach Google Ads by the scheduled import of a file, which needs no API access. - New front controller
gadsimport: a CSV for Google Ads > Uploads > Schedules > HTTPS (HTTP Basic, usergoogleadsand a password generated by the module;?key=too, for hostings that drop the Authorization header), template "conversions from clicks":Parameters:TimeZone=...,Google Click ID,Conversion Name,Conversion Time,Conversion Value,Conversion Currency,Order ID,Ad User Data(Granted). 404 while the import is off, 401 without the right credentials. - Rows: purchases with a gclid (last touch, then first touch, then the event) and
ad_user_datagranted, older than the waiting time (60 minutes) and inside the window (30 days, 90 at most) and after "Purchases from". Never: orders whose confirmation page was seen (confirmation_seen, 1.3.20), orders in the log of cdc_googletagmanager, orders typed in the back office, test events, orders in a cancelled, refunded or payment error state (by the configuration and by the e-mail template of the state:order_canceled,refund,payment_error), orders with a Refund event, and purchases that the API sent or is still sending to Google Ads (agoogle_adsrow that is not failed or skipped).validis not required. Value as the API (margin when so configured). - GBRAID and WBRAID are not in the file (the file import of clicks only takes gclid): counted in the last download.
- Google Ads section: switch (off), name of the conversion action, password with "Regenerate", start date (set to the day it is enabled), waiting time and days; the URL, user, password and last download are shown under the name. Guide: the steps in Google Ads.
v1.3.23
- Google Ads rejected every click conversion with HTTP 400 INVALID_ARGUMENT ("Unknown name hashed_postal_code at address_info"): OfflineUserAddressInfo has no
hashed_postal_code(the postal code goes in clear text inpostal_code), and a wrong field rejects the whole request, gclid included.user_identifiersof a click conversion now carry onlyhashed_emailandhashed_phone_number: nothird_party_user_id(not accepted in click uploads) and noaddress_info(the module only keeps the postal code hashed). - A failed receipt of the relay stores the message of the platform taken from its
response_excerpt(Google:error.message, also from a cut excerpt) after the error, up to 1000 characters, instead of onlyhttp_400. - The relay builds these requests with its copy of the module classes: run
tools/sync-lib.shin the relay and deploy it. - New tests
tests/gads-identificadores.php.
v1.3.22
- Google Ads (uploadClickConversions and uploadConversionAdjustments, with
partial_failure): a rejected conversion comes in a 200 answer withpartialFailureError(camelCase in the REST API) and an empty object inresults. The sender looked forpartial_failure_errorand for an emptyresults, so CLICK_NOT_FOUND, TOO_RECENT_CONVERSION_ACTION, EXPIRED_EVENT... were stored as sent. NowRkraGoogleAdsSender::partialFailure()reads both spellings and every empty row ofresults, and stores the error with the code of Google (gads_click_not_found,gads_expired_event...) and its message. TOO_RECENT_CONVERSION_ACTION and CONCURRENT_MODIFICATION are retried (the first one every 2 hours, so the 5 retries cover the hours a new conversion action needs); the rest are final (dead letter). - The relay builds these requests with its copy of the module classes: run
tools/sync-lib.shin the relay and deploy it.
v1.3.21
- "Connect with Google" (assistant):
RkraOAuth::start()always asked the relay forproducts = ['ga4', 'google_ads'], so Google showed the Analytics scopes too, also to someone (the shop or its agency) who only manages Google Ads and may have no access to GA4. Now it asks for the product of the step (google_adsfrom the Google Ads step,ga4from the GA4 one) plus the products already connected for Google (fromoauth/status), so a new authorization never loses them (the relay already asks Google withinclude_granted_scopes). From the welcome step, both, as before.
v1.3.20
Google Ads by API only when the purchase tag of the page did not fire
- When the buyer pays with Redsys, Bizum or a bank and does not come back, the confirmation page never loads and its Google Ads (or GTM) tag never fires; when it does come back, the tag counts the purchase and an API upload would count it twice. New setting "Wait for the purchase tag of the page (minutes)" (Google Ads section, 0 = off, as before):
- the Google Ads row of a Purchase is queued with
next_retry= now + those minutes (the hybrid dispatch leaves it to the cron); - when its time comes, it is skipped with
browser_tag_firedif the buyer saw the confirmation page (new columnconfirmation_seenofrkra_acp_order, set when the owner of the order loads it) or if the order is in the log of cdc_googletagmanager (cdc_gtm_order_log); otherwise it is uploaded as usual (gclid, gbraid or wbraid; only with ad_user_data granted, as the consent gate already required). - Not for orders typed in the back office.
Campaigns
- When the last touch has no campaign (the visitor came back to another page of the same click, without
gad_campaignid) and the first touch is the same click (same gclid, gbraid or wbraid), the campaign of the first touch is used: for new events, for the attribution of the order and for the rows filled by the update. - Rows of the event log and of the orders stored with the id of a Google Ads campaign before its name was in "Google Ads campaign names" take the name: in the update and each time the settings are saved. Data of the shop only, nothing is sent again.
v1.3.19
- 1.3.18 copied the
utm_campaigncolumn of the order, which stays empty for a Google Ads click known only bygad_campaignid(no utm): the campaign is only in the attribution of the order (last.id). Those purchases kept an empty campaign, and once 1.3.18 had filledutm_sourcethey were no longer "the three empty" and were never filled again. Now: - the campaign of an order is taken as the events take it (
RkraAttribution::campaign(): the name from "Google Ads campaign names", or the id):RkraOrderRepository::campaignOf(); saveAttribution()stores that name inutm_campaignof the order;- the update fills
utm_campaignof the orders stored with only the id (fillCampaignNames()), and then the event rows without campaign, also the ones that already have source and medium; - a new event row without campaign takes it the same way.
v1.3.18
- Purchases skipped by consent lost their campaign in the event log: with consent denied the attribution of the order is often repaired later from the beacon of the cart, when the event row is already stored, so
utm_source/utm_medium/utm_campaignstayed empty and "Sales by campaign" put them under "-". Now: - a new event row without campaign takes the one frozen with its order (
rkra_acp_order, not for back office orders); - when the attribution of an order is saved later, its event rows without campaign get it;
- the update fills the rows already stored. Only the columns of the event log change: it is data of the shop for its statistics, nothing more is sent to any platform.
- "Sales by campaign" adds the columns "Not sent (no consent)" and "Revenue not sent", with a note: Google Ads may show more conversions than were sent because it models the ones without consent.
v1.3.17
- AddPaymentInfo in onepagecheckoutps: the payment option is marked with jQuery (
.prop('checked', true).trigger('change')on the click of its card), which fires no nativechange, and one option comes preselected, so no AddPaymentInfo left those shops. Now it is also sent: - on the click of a payment card (
.payment-option,.module_payment_container, labels of.payment-options), with the option checked after it; - on the jQuery
changeofinput[name="payment-option"]; - with the checked option when the order is placed (
#payment-confirmation button,.js-payment-confirmation button,#btn-placer_order), for the customers who keep the preselected one. Once per payment module and page, as before. Checked in a copy of a shop with onepagecheckoutps 5.2.0 on PS 9.1.4 (logged in customer with an address): nothing before; AddShippingInfo with the preselected carrier and AddPaymentInfo now.
v1.3.16
- onepagecheckoutps stops the propagation of the
changeof its carrier (and payment) radios before it reaches the document, so the listeners of 1.3.14, in the bubbling phase, never heard it and no AddShippingInfo left those shops. The carrier and payment listeners now use the capture phase (checked in a copy of a shop with onepagecheckoutps 5.2.0 on PS 9.1.4: the document saw thechangeonly in capture; with it, AddShippingInfo leaves).
v1.3.14
- onepagecheckoutps (PresTeamShop) and thecheckout (Zelarg) override the OrderController, so their checkout is the
orderpage: it was the checkout page type, but not a one page checkout, and the JS waited for the "continue" button of the delivery step, which those checkouts do not have. No AddShippingInfo nor AddPaymentInfo left those shops. Now theorderpage is a one page checkout whenoverride/controllers/front/OrderController.phpbelongs to one of them (and the module is enabled), or whenorderis listed in "Other checkout pages". - Safety for a one page module installed but not in use: when the page has the
confirmDeliveryOptionbutton of the step checkout, the carrier radio does not send AddShippingInfo, and choosing a payment does not send it again when it was already sent for the cart.
v1.3.13
- One page checkouts of other modules: their page was never the
checkoutpage type (onlyphp_selforder/checkout counted), so no InitiateCheckout, AddShippingInfo or AddPaymentInfo left a shop with steasycheckout. Now the front controllers of steasycheckout, supercheckout (Knowband), onepagecheckoutps (PresTeamShop) and thecheckout (Zelarg), and theorder-opcpage, are the checkout. - New setting "Other checkout pages" (Advanced):
module:controllerorphp_selfentries, separated by commas, for any other checkout module. - On those pages (
page.onePage) AddShippingInfo is sent when the carrier radio changes, and with the preselected carrier when the customer chooses a payment without changing it; AddPaymentInfo as before.
v1.3.12
- Consent diagnostics: the names of the cookies present before consent were read only once, when the page loaded, so the ones that other scripts write a few seconds later (aplazame.js and its
AMP_...) never showed up. They are read again at 8 seconds and when the page is hidden or left (pagehide,visibilitychange), while there is still no consent, and only the new names are sent (beacon fieldpre_consent_cookies).
v1.3.11
Consent diagnostics for the relay (contract section 13.1)
POST /1.0/diagnosticsonce a day (maintenance pass of the cron), when the debug key changes and from the new button "Send diagnostics" (relay section of the configuration). Only figures, cookie names and states:- per day (the last 7 complete days and today): new beacons and how many granted, denied, partially granted or unknown consent; events and purchases by state (sent, skipped by consent, other, failed, debug_sent, anonymous);
- the consent platform found by the page (cookiesplus, Cookiebot, OneTrust, Complianz, lgcookieslaw, GTM, the module...), whether a Consent Mode default and updates were seen and who wrote the default;
- the NAMES of the cookies present before consent, normalised to a pattern (
AMP_7c485abf30->AMP_#), never their values, without the technical ones of the shop and of the consent platforms (new tablerkra_acp_diag, kept 30 days); - the state of the debug mode and of the anonymous GA4 purchase.
- The answer of the relay (and of the handshake) can revoke debug keys (
debug_revoked).
Debug mode only with a key of the relay (contract section 13.2)
- The switch of 1.3.10 is gone (the update deletes it). The debug mode is on only while a key issued by the panel of the relay is valid:
rkd1.<exp>.<HMAC-SHA256("rkd1|" . shop URL . "|" . exp, hex(sha256(token)))>, 24 hours at most. A wrong, expired, too long or foreign key is refused with its reason; a new relay token or a revocation in the panel ends it. - Same reach as before: test orders and the debug IPs only; deliveries marked
debug_sent; a red warning on every screen of the module while it lasts. - New tests
tests/diagnostico-relay.php(against the relay 1.3.0) andtests/consentimiento-excepciones.php(with a key).
v1.3.10
Two exceptions to consent (both off by default)
- Debug mode "send without consent (test orders and listed IPs only)": the test orders (e-mail of a test customer) and the visits and orders from the IPs the merchant lists (exact or IPv4 ranges from /24) are sent as if consent were granted. Nobody else. A red warning shows on every screen of the module while it is on, and each delivery is marked "debug, no consent" in the event log (new column
delivery_modeof the channel log). - "GA4: anonymous purchase without consent": the purchase of a visitor who did not consent reaches GA4 through the Measurement Protocol stripped of everything that identifies a person (no user data, no user_id, no IP nor browser, a random client_id used once and never stored, consent DENIED); only value, currency, transaction_id and items. Never to Meta or any other platform. The event is anonymised in the shop, before any builder (the shop or the relay), and its request is not stored. Marked "anonymous".
- Sending everything regardless of consent is not an option and will not be.
- New test
tests/consentimiento-excepciones.php(against the fake relay).
v1.3.9
Event log
- The column "Campaign" of the events of an order (Purchase, Refund) shows the campaign the order is attributed to: the last touch frozen with the order in
rkra_acp_order, not the utm of the event row, which is empty when the purchase is confirmed later or by a payment notification. Google Ads campaigns withoututm_campaignshow their name from the setting "Google Ads campaign names" or theirgad_campaignid(the id is in the tooltip). - New "Export XML" next to "Export CSV", for the same filtered list (up to 5,000 rows). Both exports carry the attributed source, medium, campaign, campaign id and channel, and the first and last touch (the XML also the landing page and date of each touch).
- New test
tests/tools/events-export.js(screen and both downloads): green on 1.7.6.5 and 9.2.0.
v1.3.8
Google Ads campaigns without utm_campaign
- Google Ads adds
gad_campaignid(andgad_source) to the landing URL, but most campaigns carry noutm_campaign: the column "Campaign" showed "-". The id is now kept as the campaign id of the touch (utm_id, sent to GA4 ascampaign_idincampaign_details), andgad_sourceis kept too. - When there is no
utm_campaign, the campaign is named with the new setting "Google Ads campaign names" (one per line,21888563683 = Shopping socks;=,;,:,,or a tab), or shows the id itself. It applies to the order panel, the event log, the statistics and GA4/Meta. Autm_campaignalways wins. - Touches stored by older versions keep
gad_campaignidinside their landing URL: the id is read from there, so the orders of before also show it.
Landing page
- With
url_passthrough(Consent Mode) the click ids travel to the internal links, and the first beacon can arrive on the second page. When the referrer is a page of the shop with the same click ids, that page is taken as the landing page (closer to the real entry) and no internal referrer is stored. - New test
tests/atribucion-gad.php.
v1.3.7
Panel of the order page
- On the old order page of 1.7.6 (Bootstrap 3
panel) the table "Campaign of the order" grew with the landing page and referrer URLs (gclid,_gl, gbraid…) and covered the next blocks (nacex: the staff could not change the state of the order). The panel now never makes the page wider: markup valid forpanelandcard, the tables scroll inside their own box withtable-layout: fixed, and the URLs show host and path only (cut to 60 characters, full URL in thetitle). - Its own small stylesheet
views/css/order-panel.css, loaded only on the order page, instead of the wholeadmin.css. - New test
tests/tools/order-panel.js(widths, overlap with another block, screenshot): green on 1.7.6.5 with nacex and on 9.2.0.
Reconciliation and consent of older orders
- The reconciliation starts at the first order the module saw in each shop (lowest
id_orderof its own table): orders placed before the module was active are never sent, whoever runs it. - An order never takes the context (consent, campaign) of a visit of its customer that started after the order:
findByCustomer()has a date limit, measured with the same clock as the visits.
v1.3.6
Orders of payment notifications taken for back office orders (urgent)
- The origin of an order was decided with
defined('_PS_ADMIN_DIR_'). The modulescronjobsandautoupgradedefine that constant at the top of their main file, so with them installed every order created by a payment notification (Redsys, Bizum…) was stored asbo: its purchase was filtered as a back office order, never sent, and it lost its campaign. - New
RkraRuntime::isBackOffice(): an admin controller (orcontroller_type"admin"), or an employee in the context without a front controller (the Symfony pages of the back office). The constant is no longer used to decide anything about the visitor or the order (isFrontVisitor()drops it too). - The update repairs the stored rows: an order stored as
bowithout the note "Manual order -- Employee: …" (any language) inps_messagebecomesother, gets the campaign of the beacon of its cart and the time of its first paid state. When the reconciliation is enabled, the next run of the cron runs it at once, and the purchases that are still inside the window of each platform (GA4 72 h, Meta 7 days) are queued with their campaign. To do it right away:cron?task=reconcile. - New test
tests/origen-bo.php(cronjobs loaded in a notification, employee in the back office, repair, manual order untouched, reconciliation).
v1.3.5
Consent Mode with a consent platform that writes its default first
- Some cookie modules (cookiesplus with Google Tag Manager) write
gtag('consent', 'default', …)right after<head>, already with the choice of a returning visitor, and send anupdateonly when the banner is used. The module then wrote its own default (alldenied) and, at start-up, anupdatewith its own state: a visitor who had accepted ended up denied in GTM, and the module did not send anything to Meta for him. - Now
head.tpllooks at thedataLayerfirst: if another default without region is there, the module writes neither its default nor the update of its own cookie, and takes those values as the initial state (window.rkraAcpCmpDefault). consent.readFromDataLayer()reads that default as the base when there is one, always below anyupdate. The default of the module itself is never read. Without a consent platform nothing changes.- New test
tests/tools/consent-cmp.js(new visitor, accepts, reload, returning visitor without the cookie of the module, rejects; state seen by GTM): all green on 1.7.6.5 with cookiesplus 1.7.1 and on 9.1.5 without a CMP.
v1.3.4
GA4 with Google Tag Manager
- New setting "Who sends the browsing to GA4" (GA4 step of the assistant and GA4 section of the configuration). With "Another tool (GTM)" the module sends nothing to GA4 through gtag.js (it does not load the tag either, even in "module" mode) and sends only
purchaseandrefundthrough the Measurement Protocol, with theclient_idandsession_idof the_gacookies so they join the session of GTM. The other platforms keep their browsing events. In GTM only the purchase and refund tags are paused. - New setting "transaction_id of the purchases in GA4": the reference of the order (default) or its id, the one many GA4 modules and tags used, so old and new reports join. It is decided in the shop and travels with the event (
ga4_transaction_id), so the relay that builds the request uses the same one (the relay needs theRkraGa4Senderof this version in itslib/).
v1.3.3
Includes everything in 1.3.2, which was not published on its own.
PrestaShop 1.7.6 and 1.7.7
- Minimum version lowered to 1.7.6.0. Tested on 1.7.6.5 (copy of a real shop), 1.7.8.11, 9.0.0, 9.1.5 and 9.2.0: installation, the six screens of the back office, an order paid by bank transfer, the queue to the relay, the cancellation (refund to GA4) and the cron.
- Before 1.7.8 the core does not read the
translations/<locale>/*.xlfof a module, and the module came out in English. The catalogues of the module are now added, in memory, to the translator of the request (also used by$this->trans()and by{l s='' d=''}in the templates). Nothing is written to the database or the cache, and 1.7.8+ is not touched.
Subscription renewals
- The orders that renew a subscription of RKR Product Subscription (another, older order of the same subscription exists) are sent only to GA4 by default: the revenue adds up there and the advertising platforms do not count a conversion every month. The other platforms store them as
skippedwith the reasonsubscription_renewal. New setting "Subscription renewals" (Events): only to GA4, to no platform or to all of them. - A request without cookies that names a cart or a customer (the cron or a payment webhook of another module) is no longer taken for the visitor: the order is recorded with origin
otherand the IP and browser of the server are never attached to the customer. Front controllers namedcron,webhook(s),notification,ipnorcallbackare machine calls.
v1.3.2
Expected refusals are "skipped", not "failed"
- Events a platform has nothing to receive are now stored as
skippedwith their reason, do not count as errors and are not written to the error log of PrestaShop: no consent of the visitor (consent:...), no identifier the platform can match, usually a bot or a visitor without cookies (no_identifiers), a free order (zero_value) and an event older than the platform accepts (out_of_window). Until 1.3.1 they werefailed+invalid_event, and filled the log (71ViewContentin one night). - The consent gate is checked before the identifiers: an order without consent was skipped in GA4 but failed in Meta with "no identifiers", because without consent its customer data is removed.
- Real problems (invalid currency, negative value, malformed GA4 name, a date in the future, a missing page URL) are still
failedwith their reason.
Reconciliation
- An order missing in one channel is queued only for the channels that miss it and still accept it. An order inside the 7 days of Meta but past the 72 hours of GA4 was queued for both, and failed in GA4 by age.
- A delivery already skipped as
out_of_windowis counted as out of the window in the report, not as delivered.
Status changes without a currency in the context
trackOrder,trackRefundsandtrackCancellationload the currency of the order (and its language and shop when missing) inContextwhile they compute the event, and restore what was there afterwards. A status change from the console, an ERP or a cron failed withComputingPrecision::getPrecision(): Argument #1 must be of type int, null givenand the purchase was lost until the reconciliation.
Orders placed before the module
- They have no consent stored and are treated with the defaults of Consent Mode (denied by default, so they are skipped with
consent:ad_user_data_denied). This is deliberate and now explained in the Guide (Consent Mode v2 & privacy → Orders placed before the module).
v1.3.1
Campaign attribution (utm)
- Attribution policy: last non-direct touch, as GA4 does for its sessions. A visit with
utm_*or an ad click id replaces the campaign; a direct return (noutm_*, no click id) keeps it for the lifetime of the visitor cookie (90 days by default). The first touch is also kept and never replaced. - Internal campaigns do not replace the external one: new settings "Internal utm_source values" (comma separated) and "Ignore utm on internal links" (utm on a page reached from the shop itself, on by default).
- Each touch keeps utm_source / medium / campaign / term / content / id and, when present, utm_source_platform, utm_creative_format and utm_marketing_tactic, its click ids, landing page, referrer and time. A click id without utm implies google / cpc (gclid, gbraid, wbraid) or bing / cpc (msclkid).
- The campaign is frozen with the order when it is placed: a later visit with another campaign does not move it, and an order typed in the back office has no web campaign. Purchases confirmed later (payment received, back office, cron) keep the campaign of the visit that placed the order.
- Back office: "Campaign of the order" in the order panel (first and last touch, click ids, landing page, referrer), a Campaign column in the event log and in its CSV export, and "Sales by campaign (utm)" in the statistics.
- GA4 Measurement Protocol:
campaign_detailsevent (campaign_id, campaign, source, medium, term, content) sent with the purchase only when it cannot join the browser session (no_ga_<stream>cookie: consent denied, blocker). With a session_id GA4 already attributes the purchase to the campaign of that session. New setting "Send the campaign to GA4 and Meta" (on). - Meta Conversions API: utm_source / medium / campaign / term / content / id as custom properties of
custom_data.
AI channel
- Visits from AI assistants form their own channel "AI" with the concrete platform (ChatGPT, Perplexity, Gemini, Copilot, Claude, Meta AI, DeepSeek, Mistral, Grok, You.com, Phind, Poe), detected by the referrer or by utm_source. The list is the constant
RkraAttribution::AI_PLATFORMS. - A visit with a click id of an ad (ChatGPT Ads
oppref/obref, gclid, msclkid...) is paid, never organic AI; ChatGPT Ads without utm shows as chatgpt / cpc. - Kept with the order like the campaign; shown in the order panel (Channel column), the event log and its CSV (
ai_platform), and "Sales from AI assistants" in the statistics (orders and revenue per platform). - GA4 checklist: guided step to create a custom channel group with an "AI" channel ("Source matches regex", expression ready to copy, above "Referral"). With Google connected through the relay (1.2.1 or later) the step has a "Fix" button that creates or updates the group "Canales con IA (RKR)", and the audit ticks it by itself; when the property already has its 2 custom groups, it explains what to do.
- Senders: an event without some keys (quantity, items_count... from another module, an old queue row or the relay) no longer prints PHP warnings.
Fixed
- The landing page and referrer of the visitor were overwritten by every page he visited; they now keep the first visit (each campaign keeps its own).
- Internal banners with their own
utm_*replaced the campaign the visitor came from.
Checked (no change needed)
- The module never removes, rewrites or redirects
utm_*, gclid or fbclid: nohistory.replaceState, no redirect, no canonical of its own. - With GA4 or Google Ads loaded by another module or by GTM it adds no
gtag('config')and nopage_view; with its own tag, exactly one config. - It writes only its own cookies (
rkra_vid,rkra_consent);_ga,_ga_<stream>,_gcl_aw,_fbp,_fbcand the cookies of other tags are only read.
v1.3.0
New platforms
- Microsoft Advertising (UET Conversions API), Pinterest Conversions API, Snapchat Conversions API and LinkedIn Conversions API: their own step in the assistant, configuration, "Test" button with the platform error explained, health light, reconciliation, event names, consent and click ids (
msclkid,_epik,ScCid/_scid,li_fat_id). - Their browser tags (UET, Pinterest tag, Snap Pixel, LinkedIn Insight Tag) can be loaded by the module with the same event id as the server; UET follows its consent mode, the others load once the visitor accepts the advertising cookies.
- Microsoft gets the email and the phone with its own normalisation (no dots nor alias in the email, E.164 with "+").
Relay (contract v1.2)
- Every call to the relay is signed with the signature v2 (method, path, timestamp and body); v1 only towards a relay that does not know v2.
- "Connect with Google / Meta / TikTok / Microsoft / Pinterest / LinkedIn" in each step of the assistant through the OAuth hub of the relay: choose the account, property, stream, conversion action, pixel or rule, and the module configures it. The shop keeps only the values that are not secret; the relay keeps the tokens ("custody"). Reconnect and disconnect, and a warning on every screen when the relay asks to reconnect.
- GA4 checklist checked with Google when Google is connected: the points the Admin API can see are ticked by themselves and a "Fix" button applies what the API allows (retention, purchase as key event, dimensions, link with Google Ads); the rest stays as a manual task with its path.
- Plans (contract section 12): plan, free trial, expiry and monthly event quota shown in the back office; the channels a plan does not include are sent directly from the shop when they have their own credentials, or are reported as not sent, with the reason in the health light.
- A channel connected through the relay is never sent directly without the shop's own credentials: it waits for the relay.
Data collection
- Each browser tag (Meta Pixel, GA4, Google Ads, TikTok Pixel) has a mode: loaded by the module, loaded by another module or Google Tag Manager, or server only. In the first two the browser and the server send the same
event_id, so the platforms deduplicate. GA4 never receives an event twice: navigation goes through gtag, purchases and refunds through the Measurement Protocol (everything through it in server-only mode). - Consent Mode v2 with stored consent restored before the tags load,
ads_data_redaction,url_passthroughand adapters for Cookiebot, CookieYes, Complianz and OneTrust besides the gtagconsent update. - Complete GA4 e-commerce funnel on Classic, Hummingbird and 1.7.8 themes:
view_item_list,select_item,view_promotion,select_promotion,view_item,add_to_cart,remove_from_cart,view_cart,begin_checkout,add_shipping_info,add_payment_info,purchase,search,login,sign_up,generate_lead,add_to_wishlist. - Items with category path (5 levels), brand, variant, list, index, discount and coupon; the cost price never leaves the shop.
- Click ids (
gclid,gbraid,wbraid,fbclid,ttclid,msclkid...) and UTM parameters kept 90 days in a signed first-party cookie set by the server, with the first-seen time (Metafbc). - Identity: phone in E.164 with the country prefix, external id of the customer and of the visitor, GA4
user_id(plain or hashed),_gasession id. - Business data: margin as Google Ads value (optional), new customer, lifetime value, coupon, shipping tier and payment method.
- Back office events: purchase when the order is paid (default for new installs; upgrades keep "when created"), orders created in the back office (
phone_call), partial refunds per credit slip, cancellations, and Google Ads conversion adjustments (RETRACTION / RESTATEMENT).
Setup and health
- Setup assistant in 11 steps with live format checks, detection of tags already printed by other modules, theme, consent banner, payment modules and cron, and a "Test" button per platform that sends a real test event and translates the platform error. Room for a "Connect with Google / Meta / TikTok" button in each step (not active yet).
- Platform checklists for GA4, Meta and TikTok with deep links to the right screen of each platform; the ticks are stored per shop.
- Health traffic light per platform: order coverage, match quality, click id share, delay and recent errors.
Delivery
- Every event is validated before it is sent (date, platform window, currency, amounts, required identifiers); invalid events are kept with the reason instead of being rejected by the platform.
- Server events without a page (paid in the back office, cron, refunds) carry the shop URL and a coherent
action_source. - Backup cron: when the real cron does not run, visitors' requests process the queue after the response has been sent.
- Daily reconciliation of orders against deliveries per platform, inside each platform's window, with a report in the configuration screen and the cron task
reconcile. - No network call during the front office response or the checkout.
Fixes
- The visitor cookie no longer uses the core
Cookieclass: creating one with another key replaced the encryption engine of the session cookie and the visitor lost the cart. - GA4
num_itemsand server items of browser events were empty.
4 otros productos de la misma categoría
También podría interesarte
Preguntas y respuestas
¿A qué plataformas envía las conversiones?
0A nueve: Meta, GA4, Google Ads, TikTok, Microsoft Ads, Pinterest, Snapchat, LinkedIn y OpenAI / ChatGPT Ads, desde tu servidor. En GA4 cubre 17 eventos, del listado de productos a la compra, y también viajan reembolsos parciales, cancelaciones, pedidos creados desde el back office y ajustes de conversión de Google Ads.
¿Se contarán las compras dos veces, por el píxel y por el servidor?
0No. Para cada etiqueta eliges quién la carga: el módulo, otro módulo o Google Tag Manager, o nadie y solo servidor. Si la carga el navegador, navegador y servidor envían el mismo event_id y la plataforma deduplica; en GA4, además, un evento nunca llega dos veces.
¿Cómo gestiona el consentimiento de cookies?
0Con Consent Mode v2: restaura el consentimiento guardado antes de cargar las etiquetas, usa ads_data_redaction y url_passthrough, y trae adaptadores para Cookiebot, CookieYes, Complianz y OneTrust, además del consent update de gtag. Una denegación explícita de tu banner nunca se sobrescribe.
¿Ralentiza la tienda o el pago?
0En modo cola no hace ninguna llamada de red mientras se genera la página o se paga: los eventos esperan en una cola que procesa el cron cada 5 minutos, y si el cron falla la procesan las propias visitas. Si tu alojamiento no permite cron, los modos Híbrido o Inmediato envían en la confirmación del pedido, con un pago algo más lento. Lo que hace en los hooks está protegido para que un fallo suyo no rompa el pedido.
¿Necesito un relay o un servidor aparte?
0No es obligatorio: sin relay, el módulo funciona igual con tus propias credenciales de cada plataforma. Si tu agencia te facilita un relay del lado del servidor, pegas su URL y el token, y puedes conectar Google, Meta, TikTok, Microsoft, Pinterest o LinkedIn con un clic si el relay ofrece esa conexión. Al relay solo viajan identificadores con hash y, del cliente, ciudad, provincia, código postal y país.
¿Es difícil de configurar? ¿Qué versiones admite?
0Trae un asistente que examina tu tienda (tema, banner de consentimiento, etiquetas de otros módulos, pagos y cron) y te guía plataforma a plataforma, con un botón «Guardar y probar» que envía un evento real y explica el error con palabras normales. Es compatible con PrestaShop 1.7.8 a 9.2, desde PHP 7.2. La instalación y configuración también se pueden contratar con horas de soporte.
Reseñas de clientes
Todavía no hay reseñas. ¿Lo has comprado? Cuéntales a otros clientes qué te parece.
Las reseñas marcadas como «Compra verificada» son de clientes que compraron el módulo en rekire.com o que tienen el Pase anual, que incluye todos nuestros módulos: las enlazamos con su pedido antes de publicarlas. Publicamos las valoraciones positivas y las negativas; solo retenemos las que incumplen nuestras normas (insultos, datos personales o publicidad). Ver todas las reseñas de la tienda




















