I am using Prestashop version 1.7.5.1 and trying to add google tag manager code so I can enable tracking.
I followed instructions from one of the forum topics (from this forum only) but after I added the codes, my website crashed and it gave me "HTTP ERROR 500". Once I restored the original file, my website worked fine again.
Here are the steps I followed:
1. I edited the file /var/www/html/themes/MY_THEME/templates/layouts/layout-both-columns.tpl
2. I added Head Section Code under "<Head>" tag
3. I added Body Section code after <body id="{$page.page_name}" class="{$page.body_classes|classnames}">
Once I do this, the website starts throwing HTTP Error 500 on me. Can someone help me with this issue and suggest me a solution please?
Thanks in advance.