Вопрос

Because webfont distributors base their licensing off of page views, would AJAX requests (.load()) have an effect?

Example:

$('#read').load('index.php #read'); // update #read div
$('#watch').load('index.php #watch'); // update #watch div
Это было полезно?

Решение 2

Generally speaking, no.

An ajax page request gets a string of information (usually html/xml/json). For the purposes of the webfont service, it is tracking requests for the webfont itself. Whenever the browser processes the tag with the request to the webfont itself, then that is the request that is logged.

Unless, of course, if the ajax request is specifically for the webfont, or an injection of a element that requests the webfont. Then yes, it would be a page view for that font.

Другие советы

No, because the whole page is not loading again. I don't think the font producers are concerned with the ajax paradigm.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top