Exposed member uuid to themes as @member.uuid

no-issue

Ronseal. Exposes's uuid for use in third party tracking/linking of
members, e.g. google tag manager

refs: https://forum.ghost.org/t/ghost-and-member-id-for-google-tag-manager/12317
This commit is contained in:
Fabien O'Carroll 2020-03-02 13:14:03 +02:00
parent 65d258972b
commit c1bd6f35cb

View File

@ -114,6 +114,7 @@ function updateLocalTemplateOptions(req, res, next) {
};
const member = req.member ? {
uuid: req.member.uuid,
email: req.member.email,
name: req.member.name,
firstname: req.member.name && req.member.name.split(' ')[0],