Mavi90
November 30, 2022, 1:24am
1
Hi,
I used to have hotjar on my site and have since deleted it. After going through my coverage on dev tools, I see that my site has a few hotjar scripts still coded to my site. How do I find them and remove them?
The following scripts/codes need to be removed
My site is www.feedmomandme.com
Thanks!
Hi @Mavi90
Please follow these steps:
A page like this will appear:
Step 3: Enter the files you want to search in this box, for example, “hotjar”
If there are files, you will remove them.
In case there is no such file found, there is another way. Please try the following steps:
Step 1: Download theme: click Download theme file
Step 2: The theme file will be sent to your email, then download the theme
Step 3: Extract the theme file
Step 4: Download a search engine like visual studio code
https://visualstudio.microsoft.com/downloads/
Step 5: Open visual studio code, then open the folder you just unzipped
Click on the file
Open folder
Step 6: Copy/paste the files you want to search here. Related files will appear.
Then check where the scripts are located and copy the file name into the theme to find the file containing that code.
Then open that file and copy the script & press Ctrl + F and Ctrl + V to find where the code is in the file, and delete it.
If you can’t find it, you should contact Hotjar or us for support.
Mavi90
December 3, 2022, 2:37pm
3
Thanks for the response! I tried searching for it through Shopify’s edit code, and nada. I downloaded my theme and opened it in VS Code but all the code isn’t readable. Is there and extension I need?
Mavi90
December 3, 2022, 5:28pm
4
I figured it out! When I search hotjar, nothing comes up in VS code. In dev tools, it says otherwise.
Mavi90
December 13, 2022, 3:26am
5
I figured it out!! Hotjar was connecting to my google tag manager
Is there a way to stop Hotjar from connecting to Google tag manager?