A
A
Alexander Trots2018-08-23 19:40:55
CMS
Alexander Trots, 2018-08-23 19:40:55

Content generation by utm, how to implement?

There is a landing page (I don't use cms) that uses utm in the following format:
site.ru/?utm_term={keyword}
{keyword} - random keyword.
There are over 60 items on this page. Loading such a page takes a certain time, which is not good.
It is necessary that the content be loaded on this page, depending on what keyword it uses and this content is displayed on the page.
Is there a way to do this or is there a ready-made solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-08-23
@Sanasol

well, filter the output products by the presence of this word in them, if any.
or make a set of products for each key static.
To say nothing more, the code is self-written.
incompatible things

S
Sergey Panteleev, 2018-08-23
@s_panteleev

switch($_REQUEST['utm_term']) {
    case 'keyword1':
        // контент при ?utm_term=keyword1
        break;
    case 'keyword2':
        // контент при ?utm_term=keyword2
        break;
}

If you have a selection from the database - form a filter in switch, if just html blocks - delimit their output

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question