Project

General

Profile

Task #3144

Replace Google tag code

Added by Ram Kordale over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
07/24/2023
Due date:
07/25/2023
% Done:

100%

Estimated time:
2.00 h

Description

Current code is

<!-- Google Tag Manager -->

  <script>(function(w,d,s,l,i){

w[l]=w[l]||[];

w[l].push({'gtm.start':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);

})(window,document,'script','dataLayer','GTM-MHVNX9X');</script>

  <!-- End Google Tag Manager -->

Please replace with

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJBX0M9032"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-SJBX0M9032');
</script>

#1

Updated by Ayush Khandelwal over 1 year ago

  • Description updated (diff)
#2

Updated by Ayush Khandelwal over 1 year ago

  • Due date set to 07/25/2023
  • Status changed from New to In Progress
  • Estimated time set to 2.00 h
#3

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Ayush Khandelwal to Ram Kordale
  • % Done changed from 0 to 100
#4

Updated by Ram Kordale over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF