Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yandex metrica goals #70

Merged
merged 3 commits into from
Mar 15, 2024
Merged

Conversation

LadyCaster
Copy link
Collaborator

No description provided.

Купить билет
</button>
{% endif %}
{% include 'mainpage/include/buttons/order_button.html' with modal_btn='yellow ' order_btn='yellow ' %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если этот блок по смыслу подходит и для основного курса и для адванседа, давай такие держать в папке common.

Это позволяет отследить, какие компоненты общие и их можно переиспользовать, а какие для конкретного курса.

'utm_campaign': params.get('utm_campaign'),
'utm_content': params.get('utm_content'),
'utm_term': params.get('utm_term')
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лишние отступы и я бы тут не хардкодил названия параметров, а взял всё с ключами, которые начинаются с utm_.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А ещё там ж значения на кириллице могут быть, я бы их заэнкодил.

Copy link
Collaborator Author

@LadyCaster LadyCaster Mar 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А ещё там ж значения на кириллице могут быть, я бы их заэнкодил.

джанга сама из вот этого
utm_content=any&utm_source=%D1%81%D0%BE%D1%80%D1%81
Делает вот это
/?utm_content=any&utm_source=сорс

@LadyCaster LadyCaster merged commit ca1945a into moscowpython:master Mar 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants