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