{"_id":"583544b807e6c80f004edffa","user":"564f641651f2ec0d001d6998","parentDoc":null,"project":"564f643f33082f0d001bb714","category":{"_id":"57d698404340330e00953c72","project":"564f643f33082f0d001bb714","version":"57d698404340330e00953c6c","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-10T19:30:55.729Z","from_sync":false,"order":5,"slug":"дополнительные-интеграции","title":"Интеграции DDM"},"version":{"_id":"57d698404340330e00953c6c","project":"564f643f33082f0d001bb714","__v":2,"createdAt":"2016-09-12T11:57:52.437Z","releaseDate":"2016-09-12T11:57:52.437Z","categories":["57d698404340330e00953c6d","57d698404340330e00953c6e","57d698404340330e00953c6f","57d698404340330e00953c70","57d698404340330e00953c71","57d698404340330e00953c72","57d698404340330e00953c73","58a5711c79ac232f00cbadb5"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-23T07:26:48.342Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":11,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Инициализация\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"ddManager.initialize({\\n\\tintegrations: {\\n  \\tSociomantic: {\\n      \\\"advertiserToken\\\": \\\"site-ru\\\",\\n      \\\"prefix\\\": 'sonar_',\\n    \\t\\\"region\\\": \\\"eu\\\",\\n    }\\n\\t}\\n});\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Описание опций\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Ключ\",\n    \"h-1\": \"Тип\",\n    \"h-2\": \"Описание\",\n    \"0-1\": \"String\",\n    \"0-0\": \"advertiserToken\",\n    \"0-2\": \"**Обязательное поле.**  Sociomantic ID.\",\n    \"1-0\": \"prefix\",\n    \"1-1\": \"String\",\n    \"1-2\": \"Префикс для глобальных переменных. По умолчанию названия глобальных переменных будут сохраняться без префикса. При необходимости его можно запросить у сотрудников Sociomantic.\",\n    \"2-0\": \"region\",\n    \"2-1\": \"String\",\n    \"2-2\": \"Регион загрузки скрипта. Например: eu.\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]","excerpt":"","slug":"sociomantic","type":"basic","title":"Sociomantic"}
[block:api-header] { "type": "basic", "title": "Инициализация" } [/block] [block:code] { "codes": [ { "code": "ddManager.initialize({\n\tintegrations: {\n \tSociomantic: {\n \"advertiserToken\": \"site-ru\",\n \"prefix\": 'sonar_',\n \t\"region\": \"eu\",\n }\n\t}\n});", "language": "javascript" } ] } [/block] [block:api-header] { "type": "basic", "title": "Описание опций" } [/block] [block:parameters] { "data": { "h-0": "Ключ", "h-1": "Тип", "h-2": "Описание", "0-1": "String", "0-0": "advertiserToken", "0-2": "**Обязательное поле.** Sociomantic ID.", "1-0": "prefix", "1-1": "String", "1-2": "Префикс для глобальных переменных. По умолчанию названия глобальных переменных будут сохраняться без префикса. При необходимости его можно запросить у сотрудников Sociomantic.", "2-0": "region", "2-1": "String", "2-2": "Регион загрузки скрипта. Например: eu." }, "cols": 3, "rows": 3 } [/block]