Wordpress добавить SubID не к стандартной ссылке, а к deeplink
4 USDТребуется добавить два новых параметра к ссылке.
Сейчас юрл вот такой:
https://ad.admitad.com/g/qmjujo24347a325286cd98cf0a/?ulp=https%3A%2F%2Fskyeng.ru%2Fadults
А нужен вот такой:
https://ad.admitad.com/g/qmjujo24347a325286cd98cf0a/?ulp=https%3A%2F%2Fskyeng.ru%2Fadults&subid={{ referrer-from-cookie }}&subid1={{ user-id-from-wp }}
{{ referrer-from-cookie }} - этот параметр с cookie
{{ user-id-from-wp }} - айдишник пользователя с Wordpress
Кусок кода который за это отвечает:
url; // cookie value must go here in a new variable
} else {
if ( $course_id === 'eng' ) {
$course_url = 'https://***';
}
}
wp_redirect( $course_url );
exit;" data-timestamp="1591973976786" data-userid="424266919967965184">----JS snippet----
export function setGtmCookies() {
if (!Cookies.get('yosome_gtm_referrer')) {
const utm_campaign = getQueryParams().utm_campaign;
const referrer = getQueryParams().referrer;
const _referrer = ${utm_campaign ? utm_campaign : ''}_${referrer ? referrer : ''};
Cookies.set('yosome_gtm_referrer', referrer !== '' ? _referrer : '');
}
}
----PHP snippet----
if ( isset( $_REQUEST[ 'course' ] ) && $_REQUEST[ 'course' ] && is_user_logged_in() ) {
$course_id = $_REQUEST[ 'course' ];
if ( is_numeric( $course_id ) ) {
$course = yosome_db_get_course_by_id( $course_id );
$course_url = $course->url; // cookie value must go here in a new variable
} else {
if ( $course_id === 'eng' ) {
$course_url = 'https://***';
}
}
wp_redirect( $course_url ); - вот здесь ссылка
exit;
url; // cookie value must go here in a new variable
} else {
if ( $course_id === 'eng' ) {
$course_url = 'https://***';
}
}
wp_redirect( $course_url );
exit;" data-timestamp="1591973976786" data-userid="424266919967965184">Кто готов сделать?
Current freelance projects in the category Javascript and Typescript
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5770 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 2 days 15 hours back ∙ 101 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 2 days 20 hours back ∙ 21 proposals |
Commercial on-premise video communication platform "ViM"It is required to develop an on-premise video conferencing system with a basic calculation for 100 simultaneous connections (10 isolated rooms of 10 people each). The platform should have a built-in architecture for future horizontal scaling up to 1000 users by adding new media… Javascript and Typescript, Web Programming ∙ 3 days 16 hours back ∙ 32 proposals |
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 4 days 19 hours back ∙ 18 proposals |
Website design updateIt is necessary to update the design of the existing website using HTML, CSS, JS: refresh the appearance, make it modern and responsive for mobile devices. Smooth animations and interactive elements need to be added. HTML & CSS, Javascript and Typescript ∙ 5 days 13 hours back ∙ 90 proposals |