• Hi,

    I’ve recently added your plug-in to the attributed website https://www.skyfii.io.

    However, I’m unsure if the plug-in code placement has been successful?

    I tried the codeless injection but this altered the front end.

    As a result I selected the footer placement, issue is that there is no <footer> HTML in the existing webpage source HTML for the site, maybe due to the web theme (Salient). I’d assume this selection will not complete the code injection if it cannot locate the appropriate field within the HTML?

    I’m comfortable uploading the code directly to the <head>, however want to ensure the current placement won’t work before proceeding.

    Thanks for your feedback.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I checked you site and the container code is placed correctly.
    If codeless breaks the design of your frontend and if you do not wish to alter your existing theme, footer is the only option.

    This does not mean my plugin is looking for a <footer> HTML5 element, it just simply attaches some code to the WordPress action wp_footer to add some additional code at the end of the page source.

    Please also note that placement option only decides where to put the so called noscript or iframe part of the container code that is only executed if your user does not have JavaScript enabled for some reason. That should affect only ~1% of your site visitors. The main container code is always placed into the <head>.

    Your GTM container is currently empty, therefore some diagnostic tools may report a HTTP404 error regarding the container code but this is the normal behavior until you publish your first container version.

    Thread Starter jacksonskyfii

    (@jacksonskyfii)

    Thanks for your response.

    Does your plug-in require anything else in order to be recognised within Google Analytics.

    Say if I was to submit a Contact Form 7 would this be recognised in Google Analytics as an event?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    My plugin will not track any event automatically within your GA account. This is by design: with Google Tag Manager you can setup you very own measurement on the GTM UI.

    It is like a blank sheet of paper where my plugin gives you a more professional paintbrush and a much better set of colors but still, it is your job to create a beautiful painting ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Container Code Placement Question’ is closed to new replies.