Y
Y
Yaroslav Shevtsov2019-09-05 06:21:42
contextual advertising
Yaroslav Shevtsov, 2019-09-05 06:21:42

Is it possible to find out the source of traffic from the application form?

Is it possible to find out the source of traffic from the application form on the site?
For example, there is a site on modx, the client came through some kind of advertising, left a request and the letter came out
Name: Vladimir
Phone: 899093848
Advertising: search results (Contextual advertising, etc.) The
question is more about how realistic it is?
If yes, then I ask for clarification or a link to the documentation, if not, then I will be grateful for an alternative option. (The main thing is to understand where the person who left the application came from?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UncleMisha, 2019-09-05
@RedX-Yar

This is not a problem at all, you need UTM tags. I don't know what it looks like in modx, but a simple form with utm tags looks like this:

<form >
<input type="hidden" name="utm_source" value="<?php echo isset($_GET['utm_source']) ? $_GET['utm_source'] : '' ;?>" />
<input type="hidden" name="utm_medium" value="<?php echo isset($_GET['utm_medium']) ? $_GET['utm_medium'] : '' ;?>" />
<input type="hidden" name="utm_campaign" value="<?php echo isset($_GET['utm_campaign']) ? $_GET['utm_campaign'] : '' ;?>" />
<input type="hidden" name="utm_content" value="<?php echo isset($_GET['utm_content']) ? $_GET['utm_content'] : '' ;?>" />
<input type="hidden" name="utm_term" value="<?php echo isset($_GET['utm_term']) ? $_GET['utm_term'] : '' ;?>" />
<input type="text" name="name" placeholder="Ваше имя">
<input type="text" name="phone" placeholder="Телефон" required>
<button type="submit">Отправить</button>
</form>

Utm tags will work only in a file with the "PHP" extension, letters will come like this:
Username: Vasya
Phone: 8 (777) 777 77 77
utm_source: google
utm_medium: cpc
utm_campaign: utm
utm_content: ad2 utm_term
: utm tags
internet shaft :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question