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

  • Jackson

    Member
    28 September 2022 at 4:04 am

    You’re trying to integrate Google Analytics 4 with a .pug template file and despite following the instructions, you’re receiving a notice that Google Analytics isn’t collecting any data. In essence, it sounds like the code you’ve implemented has not activated Google Analytics on your website. This could be due to a variety of reasons. It could be that the code you’ve implemented isn’t firing correctly, or there may be an issue with the settings in your Google Analytics account. It would be beneficial to verify that the Google Analytics ID you have used in your code is correct. Additionally, do more checks with different tools to validate that the GA code is not firing. Sometimes, it might take some time for the data to start appearing in the GA console so ensure that you have waited for enough time as well. If the problem persists, consider reaching out to a professional developer to look at your problem, perhaps there’s something you might have overlooked considering this is a new territory for you.