Main Content

Magnolia Community Forums: Get help with Magnolia: How to get currently logged in user id in custom Marketing Tag


  • beardov
    beardov
    Full name: Bear code
    Posts: 1
    Last post: Jul 24, 2016 1:55:41 PM
    Registered on: Jul 24, 2016
    How to get currently logged in user id in custom Marketing Tag
    #1 by beardov on Jul 24, 2016 1:55:41 PM

    Hi,

    I am looking to setup a custom Marketing Tag in Magnolia CMS, for integrating an Analytics type solution (think MixPanel).

    The tool I am looking to integrate collects analytics on a user level, so I need to set the embed code with the currently logged in user id.

    I know how to create a custom Marketing Tag and get it to run some JS (log to the console, for example) but I don't know how to get the currently logged in user id so I could use it in my JS code.

    Thanks!

  • katejilson
    katejilson
    Full name: kate jilson
    Posts: 1
    Last post: Nov 4, 2016 11:42:23 AM
    Registered on: Nov 4, 2016
    Re: How to get currently logged in user id in custom Marketing Tag
    #2 by katejilson on Nov 4, 2016 11:42:23 AM

    At the same time, there are also some tools that allow integration of affiliate marketing platforms through which you are able to get proper tracking of all your marketing metrics.

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/