Sha256 Hasher - Custom Variable Template

The sha256 Hasher custom variable template is a Server Container variable template for Google Tag Manager’s community template gallery.

Resource
Gallery entry
GitHub repo

Description

The sha256 Hasher template takes any input string and converts it to a (practically) irreversible hash, encoding the result in either base64 or hex.

You can use this template to satisfy the hashing requirements for personally identifiable information on platforms like Google Analytics and Facebook.

Release notes

Date Changeset
2 February 2021 Initial release.