Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter David

    (@nicheplay)

    Q: How to add Google Tag Manager to Thesis in WP?

    A: So that others can find the answer here as well… let me detail how I got the Google Tag Manager code AND the “data layer” into Thesis 1.8.x using OpenHook. (Thanks to @brazenlygeek!)

    1) Google Tag Manager

    Google Tag Manager should be located just after the opening <body> tag . So, added that code snippet to hook thesis_hook_before_html.

    2) Data Layer

    if you implement a data layer, it needs to be in the <head> section. So, added it to the wp_head box.

    Thread Starter David

    (@nicheplay)

    If you want it in your <head>, add it to the wp_head box

    Looks like that did the trick. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)