Hi, we have problems integrating the Tag Manager on WoodMart.
We generally integrate Analitycs and Manager.
The Analitycs tag inserted in the theme header works; The TagManager instead is composed of 2 snippets, one to put in the header and one in the body. When the second snippet is inserted in the body, the site shows a blank page.
We then tried to integrate it into the body via plug-in https://it.wordpress.org/plugins/insert-headers-and-footers/
but we got the same result.
We tried to integrate the snippet through the function.php in the following way:
function custom_code_body () {
?>
YOUR CODE GOES HERE (replace this text)
<? php
}
add_action (‘woodmart_after_body_open’, ‘custom_code_body’, 1);
but we keep getting blank page once the function is saved.