G
G
Glavryba2016-07-11 17:28:59
CMS
Glavryba, 2016-07-11 17:28:59

How to remove the number on the site (on joomla), if they come from direct?

Colleagues, please tell me how to comment on the line with the phone number on the site (it's on Joomla 1.5) when they log in from Ya.Direct, i.e. Does the URL contain a UTM tag?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-07-11
@gangstarcj

Determine that there is a utm label, and this is a regular GET and hide it in the
J1.5 template - it would be time to update

E
Egor Ogurtsov, 2016-07-16
@mrdubz

The easiest way

<script type="text/javascript">
$(document).ready(function () {
    if(window.location.href.indexOf("utm_source") > -1) {
       $('.block-phone').hide();
    }
});
</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question