Tagged: AdWords, enfold theme, google tag manager, GTM, remarketing, woocommerce
-
AuthorPosts
-
February 8, 2018 at 7:30 pm #909917
Hello,
I’m using the Enfold theme.I woud like to put google tag manager tag, google remarketing and conversion tracking code into head and body section as described by Adwords to put the new snippet codes but I don’t have the option in Appereance and Editor to put general tag into head section and additional tag into body section? What do you suggest me to use a plugin or do you have a better idea?
Best regards,
DanielFebruary 8, 2018 at 10:58 pm #910022Hey dadisk8,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
BasilisFebruary 10, 2018 at 9:15 pm #910648Hey Basilis,
thank you for the reply, but I’m really satisfied that this theme doesn’t have option to put the code into the body or head section such all other themes.
Best regards,
DanielFebruary 12, 2018 at 6:03 am #910907Hi Daniel,
Please send us the code and where it should go and we’ll give you functions to use. If you only need to place it in the head then you can paste the code in the Analytics field under Enfold->Google Services.
Best regards,
RikardJune 19, 2018 at 8:56 am #974652/** * Google Tag Manager Body Script */ function google_tag_manager_body_code() { ?> // Body Code <?php } add_action( 'ava_after_body_opening_tag', 'google_tag_manager_body_code', 1); /** * Google Tag Manager Head Script */ function google_tag_manager_head_code(){ ?> // Head Code <?php } add_action('wp_head', 'google_tag_manager_head_code', 1);
Put this in your functions.php of your child theme.
Best,
PatrickJune 19, 2018 at 9:16 pm #974967Hi,
Thank you very much for sharing the snippet, we appreciate it.
Best regards,
BasilisJuly 2, 2018 at 8:24 am #979985I wish to add to the requests for Google Tag Manager support. It is the most significant missing feature in Enfold.
July 2, 2018 at 10:04 pm #980313Hi,
You can use the code provided previously, to get going with the task :)
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.