ESLint fixes
This commit is contained in:
parent
1103a87282
commit
574834f0c0
3 changed files with 4 additions and 11 deletions
|
|
@ -3,9 +3,7 @@
|
|||
<script module>
|
||||
// GTM configuration
|
||||
const GTM_ID = 'GTM-P9TTSWG2';
|
||||
</script>
|
||||
|
||||
<script module>
|
||||
import { registerPageview as registerChartbeatPageview } from './providers/chartbeat';
|
||||
import { registerPageview as registerGAPageview } from './providers/ga';
|
||||
|
||||
|
|
@ -13,7 +11,6 @@
|
|||
function registerPageview() {
|
||||
registerChartbeatPageview();
|
||||
registerGAPageview();
|
||||
|
||||
}
|
||||
|
||||
export { registerPageview };
|
||||
|
|
@ -53,10 +50,10 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|||
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript>
|
||||
<iframe
|
||||
<iframe
|
||||
src="https://www.googletagmanager.com/ns.html?id={GTM_ID}"
|
||||
height="0"
|
||||
width="0"
|
||||
height="0"
|
||||
width="0"
|
||||
style="display:none;visibility:hidden"
|
||||
></iframe>
|
||||
</noscript>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
// Reuters Chartbeat UID
|
||||
const UID = 52639;
|
||||
|
||||
const URL = '//static.chartbeat.com/js/chartbeat.js';
|
||||
|
||||
const attachScript = () => {
|
||||
// If script is already attached, skip
|
||||
// loaded via GTM Container
|
||||
// loaded via GTM Container
|
||||
};
|
||||
|
||||
export default (authors: { name: string }[]) => {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
// Reuters Google Tag ID
|
||||
const GOOGLE_TAG_ID = 'G-WBSR7WLTGD';
|
||||
|
||||
const URL = `https://www.googletagmanager.com/gtag/js?id=${GOOGLE_TAG_ID}`;
|
||||
|
||||
const attachScript = () => {
|
||||
// If script is already attached, skip
|
||||
// loaded via GTM Container
|
||||
|
|
|
|||
Loading…
Reference in a new issue