📜 ⬆️ ⬇️

Traffic analysis secret

It is logical that effective promotion includes not only the choice of channels to attract users, but also the analysis of traffic with further tuning of each channel. The goal of tuning is to increase the return on the resources invested, to increase the conversion.


I think no one doubts that it is better not to track the overall return on all website promotion works, but the effectiveness of each promotion channel separately.

By channel promotion of the site in this post, I understand any way to attract users: SEO, contextual advertising, media, articles on thematic sites, etc.
Immediately, I’ll make a reservation that the article is more focused on regular corporate websites, since, in my opinion, it is easier for online stores and services to identify the purpose of attracting traffic: buying, registering, downloading. And this goal is already established in the statistics collection system. To set a goal means to register the view of the page you need, for example, “Thank you for your purchase.” By the way, Google Analytics users can track events using _trackEvent, which adds flexibility.

Returning to corporate sites, we need this sign:
Summary of the effectiveness of promotional channels

* data are taken from personal experience, and do not have a political background

When you have such a sign, everything becomes easier, and you can immediately see what you are paying for, and where you should pay attention. Naturally, the more detailed the table, the better the analysis. For example, for the same contextual advertising, you can specify not the general “Direct” and “AdWords”, but specify up to ad groups or keywords.

We register promotion channels

The first thing to start with is to mark all links, that is, add parameters to the link, for example: sitename.ru/super-tovar/? marker = direct (it is important that the engine of your website allows you to add extraneous parameters to the links). Thus, in the statistics of visits you will see transitions to the site from different promotion channels.

I love Google Analytics , so I will continue to focus on it. Google Analytics uses cookies for its work, and the most interesting one is __UTMZ :

It is important for us that it stores the source, the transition tool (for example: CPC, banner, email), the name of the advertising campaign. And in this cookie, you can write the desired value, simply by adding special parameters in the URL. You can use Google link builder links or pens:
sitename.ru/? utm_source = yandex_direct & utm_medium = CPC & utm_campaign = ya_direct_camp
This is an example of a link for Yandex.Direct, here yandex_direct is the traffic source, CPC is the medium, ya_direct_camp is the name of the advertising campaign.

After that, analytics on the “All traffic sources” page will see transitions from different promotion channels, for example, like this:
Different promotion channels in Analytics

Contact Accounting

Now it is extremely important to accurately count the number of contacts (calls, letters) from each channel. We continue to use Google Analytics for counting.

Messages sent using the feedback form can be counted by tracking events or sending people to the page sitename.ru/send-message-ok/ : “Thank you, your message has been delivered to us. We will reply within 24 hours". And just count the number of transitions to our page for each channel.

But to count the number of calls and e-mails for each channel, you have to twist. We will need several phone numbers (the city numbers are now inexpensive for cellular operators, you can use the services of IP-telephony operators or just use the available numbers) and access to the site templates. The idea to the disgrace is simple: take __utmz, extract the source and show each source your contact phone number and e-mail. Do not forget about another set of "default" (in case the source is not defined or not configured). I am not a programmer, so I asked my friend to write a few lines of code (we’ll show special contacts to users from Yandex.Direct with links in ads from an advertising campaign marked):

$output = '';

$__utmz = explode('.',$_COOKIE['__utmz']);
$__utmz = explode('|',$__utmz[4]);

$param = array();
foreach ($__utmz as $value) {
$value = explode('=',$value);
$param[$value[0]] = $value[1];

if ($param['utmcsr'] == '(yandex_direct)'){
$output = ': (321) 123-45-67<br>E-mail: contact@sitename.ru';

if ($output == '') {
$output = ': (321) 123-45-65<br>E-mail: info@sitename.ru'; }

echo $output;

Calculating the cost of sale

If sales statistics are collected, then it’s easy to calculate the price of one sale for each channel.

After you have all this information, start optimizing your website promotion channels.

The most interesting thing is that every time I do not cease to be surprised by the results of the analysis. And I am very interested to hear your decisions: how do you optimize advertising costs? And what was unexpected for you when analyzing traffic?

PS Thanks to the author of the illustration Natalia Rerekina.

Source: https://habr.com/ru/post/102821/

All Articles