Strange "ghost" on default page

Hi, I used to have a particular javascript reloading part of a page. The div ID reloaded was “unicitem”.
I :

  • removed all .js calling it
  • modified all twigs with name inside
  • checked all grav dir with grep -ri -e “unicitem” to ensure nothing was left behind (not in twig php yaml or else)
  • cleared cache from grav
  • restarted of course apache and phpfpm

and, I don’t understand why, it appears at the very end of the page ! Is there a possibility flushing the cache is not enough ?

thanks for any idea…
Capture d’écran 2022-02-05 à 12.36.46

OK, found ! The problem was not coming from my code but from a google tag manager : gtm.js
I don’t know why this happened, but I found the ghost in the source script from them. Something went wrong in google’s world :smiley:

Capture d’écran 2022-02-08 à 16.43.56

#gohstbuster :wink:

2 Likes