T
T
techmarketing2019-11-11 14:25:10
Yandex.Metrica
techmarketing, 2019-11-11 14:25:10

How to execute Ya.Metrika script before redirect to flask?

How to execute Ya.Metrika script before redirect to flask?
app.route('/')
def first():
(execute Y.Metrica script here)
return redirect(url_for…..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2019-11-11
@bacon

No way, Ya.Metrika scripts are designed to work on the client side, not the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question