Jump to content

Tracking User ID

Tihomir J.

Recommended Posts


I have some problems with tracking user id using Google Analytics.

This is a code but it seems to me that doesn`t work:

        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

    ga('create', 'UA-xxxxxx-x', 'auto');
    ga('send', 'pageview');
  {{if \IPS\Member::loggedIn()->member_id}}
    ga('set', '&uid', {expression="\IPS\Member::loggedIn()->member_id"});

Any ideas?

Thank you

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...