Package of support classes for Northeastern University websites
You can install the package via composer:
composer require northeastern-web/supportThe package includes the Meta class for any meta related tags.
Add the following code to inside your <head> tag.
<?php echo Northeastern\Support\Meta::head() ?>If your project is using Laravel Blade's templating engine, you can add the following code.
{!! Northeastern\Support\Meta::head() !!}The package includes the Analytics class for the Northeastern analytics scripts.
Add the following code to inside your <head> tag.
<?php echo Northeastern\Support\Analytics::googleTagManagerScript() ?>And add the following code just after your opening <body> tag.
<?php echo Northeastern\Support\Analytics::googleTagManagerNoScript() ?>If your project is using Laravel Blade's templating engine, you can add the following code inside your <head> tag.
{!! Northeastern\Support\Analytics::googleTagManagerScript() !!}And add the following code just after your opening <body> tag.
{!! Northeastern\Support\Analytics::googleTagManagerNoScript() !!}