Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #572738

    Hi, I tried to solve my issue via search function in here but didn’t succeed. So I have to ask for help.

    I need to add a Google conversion tracking tag to one single page of a new website (please see tag in the private content). I added it to a code block on that specific page.

    The Google tag assistent however identifies the tag, but indicates two optimization suggestions (actually three but one of them doesn’t have to do with my issue here):

    Code should be placed directly above the closing <body> tag.
    Non-standard implementation

    Could you tell me how to implement the tag into the Enfold code block to follow these optiimzation requests by Google please?

    Thank you very much,
    Chris

    • This topic was modified 8 years, 2 months ago by L+T. Reason: formatting
    #573490

    Hi L+T!

    Thank you for using Enfold.

    It doesn’t really matter where you put it but if you really want to place the conversion code right above the closing body tag, you can use the wp_footer action. https://codex.wordpress.org/Function_Reference/wp_footer

    Example: https://kriesi.at/support/topic/yet-another-2-logo-header-question/#post-571295

    Cheers!
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.