Don't show Olark for non-trial/non-pro users.
parent
d06b6ab180
commit
47d63b0e6c
|
@ -417,7 +417,8 @@
|
|||
{% include 'snipts/snipt-edit-js-template.html' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% if not debug %}
|
||||
{% if request.user.profile.get_account_age <= 7 or request.user.profile.is_pro %}
|
||||
{% if not debug %}
|
||||
{% block olark %}
|
||||
<!-- begin olark code -->
|
||||
<script data-cfasync="false" type='text/javascript'>/*<![CDATA[*/window.olark||(function(c){var f=window,d=document,l=f.location.protocol=="https:"?"https:":"http:",z=c.name,r="load";var nt=function(){
|
||||
|
@ -456,6 +457,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'analytics.html' %}
|
||||
|
|
Loading…
Reference in New Issue