Added UserID tracking
This commit is contained in:
parent
d6c19862de
commit
a164b228e6
|
@ -58,6 +58,9 @@
|
|||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(["setCampaignNameKey", "private_area"]);
|
||||
{% if order %}
|
||||
_paq.push(['setUserId', '{{order.code}}']);
|
||||
{% endif %}
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -77,7 +80,9 @@
|
|||
<a href="/manage/welcome">Your Booking</a>
|
||||
{% endif %}
|
||||
<a href="/manage/nosecount">Nose Count</a>
|
||||
{% if order %}
|
||||
<a style="float:right;" href="/manage/logout">Logout</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
{% block main %}{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue