Learn business growth with Google Analytics 4 Forums Google Analytics 4 How to Integrate Google Analytics 4 into a .pug Template Reply To: How to Integrate Google Analytics 4 into a .pug Template

  • Brooke

    Member
    3 March 2023 at 6:21 pm

    The problem seems to be with how Google Analytics is being integrated with your PUG file. If you’re getting a notification from Google Analytics saying it isn’t collecting any data, it’s possible that the tracking code might have been incorrectly installed or isn’t functioning properly. Sometimes, it can take up to 24 hours for data to begin appearing in Google Analytics after the tracking code has been installed. The code you’ve included looks fine, but you may want to double-check the G-********** part, which should represent your Google Analytics’ unique tracking ID. If the problem persists, consider getting further assistance to resolve the error in your coding.