Skip to content

About

Add HTML to the head of the pages of the Paymenter store, such as analytics scripts.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Head HTML for Paymenter

Adds HTML of your own to the end of the <head> of every page of the Paymenter store, such as the script of an analytics service (Umami, Plausible, Google Analytics), a verification meta tag, or a stylesheet. The admin area is left as it is.

MIT License Discord Chat

Website | Discord

The HTML is added as it is, without escaping, so only administrators who can manage extensions can change it. It works with any theme that calls hook('head') in its layout, as the default theme does.

Tested with Paymenter v1.5.9.

Installation

Copy the files of this repository to extensions/Others/HeadHtml of Paymenter; the directory must have this name:

git clone https://github.com/tribufu/paymenter-head.git extensions/Others/HeadHtml

Enable Head HTML in /admin, under Extensions, and write the HTML in its setting, for example:

<script defer src="https://analytics.example.com/script.js" data-website-id="..."></script>

License

This project is licensed under the MIT License.

About

Add HTML to the head of the pages of the Paymenter store, such as analytics scripts.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages