Skip to content

Package of support classes for Northeastern University websites

Notifications You must be signed in to change notification settings

ITS-Digital-Technology/support

Repository files navigation

Northeastern Support

Package of support classes for Northeastern University websites

Installation

You can install the package via composer:

composer require northeastern-web/support

Usage

Meta tags

The 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() !!}

Analytics scripts

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() !!}

About

Package of support classes for Northeastern University websites

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages