D
D
denbukas2017-02-16 18:07:30
JavaScript
denbukas, 2017-02-16 18:07:30

Sending an email notification when a page is visited / a goal is reached?

There is a problem: a subscriber in a letter clicks on a link marked with utm tags, gets to the page, it is necessary that a notification / letter is automatically sent to my email when visiting the page (like, here is a new visit to the page, and even better, the utm tag is transmitted to the letter - subscriber's email). As a result: so that when a subscriber visits a certain page, a letter arrives in the mail (a new visit to the page by a subscriber with such and such an email).
How can it be implemented? It seems like a simple task, it’s a pity there is no email notification in the metric about the achievement of the goal ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bkosun, 2017-02-16
@bkosun

Use something like this:
www.clickmeter.com

A
Andrey Goncharov, 2017-02-17
@agmegadeth

Well, here are 2 lines should solve your problem. Place on the page where the user comes with utm tag with his email.

<?
$user_email = $_GET["utm_XXX"];
mail('ex[email protected]', 'My Subject', $user_email);
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question