mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ function updateLocalTemplateOptions(req, res, next) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const member = req.member ? {
|
const member = req.member ? {
|
||||||
|
uuid: req.member.uuid,
|
||||||
email: req.member.email,
|
email: req.member.email,
|
||||||
name: req.member.name,
|
name: req.member.name,
|
||||||
firstname: req.member.name && req.member.name.split(' ')[0],
|
firstname: req.member.name && req.member.name.split(' ')[0],
|
||||||
|
|
Loading…
Reference in a new issue