Google Analytics Code In 404 Pages

we have Seo addon installed, nut all 404 pages don't contain Google Analytics code,

we just migrated and we have some old URLs “Not found”, but we canno track those visits in Google Analytics

Where should I add Analytics code? I have tried in 404.tpl under /stores/1/skins/basic/customer but doesn't seem to work…

Where is page 404 generated??


it should be “[color=#282828][font=arial, verdana, tahoma, sans-serif]stores/1/skins/basic/customer/404.tpl”[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]please don't forget to clean up the template cache after changes[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]best regards,[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]WSA team[/font][/color]

actually it's the exception.tpl file in the same folder, I found it…