How to Find & Fix Shopify Speed Optimization Scam

If you recently got this Javascript code in your Shopify theme files, you may consider removing it.
However, you need to make sure the corresponding tags are being deleted.

Before making any changes, consider securing a backup.
Downloading Shopify theme:

Malicious code highlighted:

Obfuscated JavaScript code:


2023 update – liquid files infected with hacking code