Add Google jsapi service
This commit is contained in:
parent
2d163f04f3
commit
fa0b9c1bbf
|
|
@ -28,6 +28,7 @@ Bonus:
|
|||
- Google Analytics (ga.js)
|
||||
- Google Analytics (universal)
|
||||
- Google+
|
||||
- JSApi
|
||||
- Linkedin
|
||||
- Pinterest
|
||||
- Shareaholic
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue