M
M
mi1ord2019-11-01 16:08:33
JavaScript
mi1ord, 2019-11-01 16:08:33

How friendly is pushstate with SEO?

Good afternoon.
Such a thing: depending on the selected filters, I send an ajax request to the server. At the same time, I need to update the URL in the browser line in the form "/some/path/right/here", where the words between the slashes are the filtering parameters (I am currently updating using pushstate). And in order for the site to be considered as "live" as possible, it is necessary that Yandex and Google counters count this as a transition. What is the best way to do this?
I don’t know how this applies to SEO, but I will be grateful for any tips and thoughts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yarovoy, 2019-11-04
@mi1ord

If the analytics is through GTM, then you need to add all pages and history change triggers to the analytics tag with the following settings .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question