Skip to content

Commit

Permalink
switch timeout on loadGTM back to 1 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlandia committed Jul 12, 2023
1 parent 830a624 commit 37bfea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/templates/partials/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
};setTimeout(loadGTM.bind(null, window,document,'script','dataLayer','${customer_gtm_id | n, js_escaped_string}'), 3000);</script>
};setTimeout(loadGTM.bind(null, window,document,'script','dataLayer','${customer_gtm_id | n, js_escaped_string}'), 1000);</script>
<!-- End Google Tag Manager -->
% endif

Expand Down

0 comments on commit 37bfea1

Please sign in to comment.