/reports/tacjslog is called on every page view

Created on 22 December 2022, almost 2 years ago
Updated 4 December 2024, 14 days ago

Problem/Motivation

/reports/tacjslog is called every time a page is loaded after having allowed a service.
IMHO it should only called once when the service is allowed.

Steps to reproduce

  1. Add at least one service to tarteaucitron.
  2. Allow this service.
  3. Reload the page.

Proposed resolution

tarteaucitron-log.js should check for status === "engage" instead of status === "true".
tarteaucitron.pro() is called with =true every-time the service is loaded, but is only called with =engage when the user clicks to allow the service.

🐛 Bug report
Status

Fixed

Version

6.3

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024