mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
✨ 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:
parent
65d258972b
commit
c1bd6f35cb
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user