简体   繁体   中英

Need help regarding magento

An issue in a magento website. I am supposed to remove an analytics code which I am not able to find out.

Things I have tried :

1) Look up on system > configuration > Design (magento panel)
2) template > page > header.php

*This code is attached right after the body tag. Please help !

Since we don't know your Magento setup, a quick solution:

1) If the code is placed in a file, if you have shell access:

   grep -R "var _gaq" .

2) If the code is setup in admin, do an export of the database, open the file and search for the same string: "var _gaq"

When you finally narrowed it, you may be able to remove it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM