What does Loader::element('footer_required'); do2 users found helpful
I'm not stupid but what is it's function?
I know the header one provides the C5 edit bar but the footer well I'm not too sure
nothing cosmic. I have a few folks asking me about these, and it is simply a required thing. It has a simple purpose as the name implies. The folks asking me are mainly designers or non-tech folk that are looking at files. So with the usage of MVC, footer.php is required throughout the site and this ensures your footer data gets to the bottom of each page.
It's obvious your not stupid, your using C5.
I've tried installing google analytics in a number of ways
I've done it through the dashboard > Tracking Codes, but when I go to save it the entry disappears. If I inspect the document I end up seeing the ga.js entry in the <body> but after waiting a significant amount of time it still doesn't show up in GA.
I also tried inserting the snippet before </header>, before </body>, and before </footer> and again I can see the entry, but after waiting good amount of time I couldn't see the entry in GA.
<?php Loader::element('footer_required'); ?> is present in 'footer.php' and I believe that's where the C5 dashboard entry goes. I've also cleared the cache as per usual.
Do you have any thoughts on what might be going on?