Hi There @djinnie
Since we do not provide support for 3rd party plugins, can you please try an alternative method to implement Google Tag Manager on your site. First of all, make sure that you have setup a child theme correctly and activate it by following our guide here (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57).
Then you will see that there are two parts, which you will need to implement accordingly.
A code for <head> of your site
Code immediately after the opening <body> tag
To implement the head part, you can add the following code into your child theme’s functions.php file and replace the following line
<!-- Replace this line with Google Tag Manager head code -->
with the code that you have received from Google.
function my_tag_manager_code_head() { ?>
<!-- Replace this line with Google Tag Manager head code -->
<?php }
add_action( 'wp_head', 'my_tag_manager_code_head' );
Then to implement body
tag part, follow the instructions below.
Create file base.php
in wp-content/themes/pro-child/framework/views/header/
and replace the following line
<!-- ADD THE TAG MANAGER CODE HERE -->
with the body code provided by Google.
<?php
// =============================================================================
// VIEWS/HEADER/BASE.PHP
// -----------------------------------------------------------------------------
// Declares the DOCTYPE for the site, includes the <head>, opens the <body>
// element as well as the .x-root <div> and .x-site <div>.
// =============================================================================
$x_root_atts = x_atts( apply_filters( 'x_root_atts', array( 'id' => 'x-root', 'class' => 'x-root' ) ) );
$x_site_atts = x_atts( apply_filters( 'x_site_atts', array( 'id' => 'x-site', 'class' => 'x-site site' ) ) );
?>
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- ADD THE TAG MANAGER CODE HERE -->
<div <?php echo $x_root_atts; ?>>
<?php do_action( 'x_before_site_begin' ); ?>
<div <?php echo $x_site_atts; ?>>
<?php do_action( 'x_after_site_begin' ); ?>
Add your goolge tag manager
code after this line
<!-- ADD THE TAG MANAGER CODE HERE -->
Hope that helps.
Thanks!