Add Google jsapi service

This commit is contained in:
Amauri CHAMPEAUX 2015-02-17 14:30:29 +01:00
parent 2d163f04f3
commit fa0b9c1bbf
2 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Bonus:
- Google Analytics (ga.js)
- Google Analytics (universal)
- Google+
- JSApi
- Linkedin
- Pinterest
- Shareaholic

View File

@ -282,6 +282,20 @@ tarteaucitron.services.analytics = {
}
};
// jsapi
tarteaucitron.services.jsapi = {
"key": "jsapi",
"type": "api",
"name": "Google jsapi",
"uri": "http://www.google.com/policies/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.addScript('//www.google.com/jsapi');
}
};
// linkedin
tarteaucitron.services.linkedin = {
"key": "linkedin",