diff --git a/README.md b/README.md index 2d28804..e9f8833 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Bonus: - Google Analytics (ga.js) - Google Analytics (universal) - Google+ +- JSApi - Linkedin - Pinterest - Shareaholic diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 5ad9446..c0c285e 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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",