Adding code to header and footer

Hi there,
On my site taylorandtessier.com I’d like to add some Google Tag Manager code to my header and footer. I know I will do this via the Child theme but I am not sure what structure to use. There are multiple header and footer files under both Cranium and Views.

Can you please advise as to what the correct file to edit and the file structure for both the header and footer on this site?

Thanks so much!

Marcus

Hey Marcus,

Thank you for reaching out to us. You can achieve this with WordPress hooks, please follow this thread Trying to add google code to header / body

To learn more about filters and actions in X / Pro please see https://theme.co/docs/actions-filters-and-hooks

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.