Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AdWords Conversion Tracking via DTM

Avatar

Avatar
Validate 1
Level 2
vipinvijayan10
Level 2

Likes

8 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
vipinvijayan10
Level 2

Likes

8 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
vipinvijayan10
Level 2

28-08-2018

This is actually a follow up question on my original postRe: Google Conversion Tracking On a Button

I've added the AdWords Global site tag (gtag.js) as a page top rule - Sequential HTML(single snippet for both DBM and AdWords as per this). And then added the AdWords event snippet onto a button as non-sequential JS. Now when I click on the button I can't seem to find the event snippet firing - could you help please?

Notes

  • I'm checking in Chrome developer console (network tab) to find the respective conversion label
  • Google Tag Assistant isn't picking up the event snippet too
  • when I try adding the gtag+event snippet as a single non-sequential HTML code, I can see an AdWords call happening on the button-click but again not the conversion label.

Regards,

Vipin

Replies

Avatar

Avatar
Validate 1
Level 2
vipinvijayan10
Level 2

Likes

8 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
vipinvijayan10
Level 2

Likes

8 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
vipinvijayan10
Level 2

28-08-2018

Ignore this question, it's sorted.

Just for everyone's reference, it worked when I added only the gtag part of the event snippet as non-sequential JS

  gtag('event', 'conversion', {

      'send_to': 'AW-XXXXXXX/abcdefghijk',

  });

whereas the entire event snippet is:

<script>

function gtag_report_conversion(url) {

  var callback = function () {

    if (typeof(url) != 'undefined') {

      window.location = url;

    }

  };

  gtag('event', 'conversion', {

      'send_to': 'AW-XXXXXXX/abcdefghijk',

      'event_callback': callback

  });

  return false;

}

</script>

Avatar

Avatar
Validate 1
Level 4
LeoS_Taco
Level 4

Likes

63 likes

Total Posts

25 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
LeoS_Taco
Level 4

Likes

63 likes

Total Posts

25 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
LeoS_Taco
Level 4

20-09-2018

Did you already have the universal analytics tool set up, or did you not need that? Also, how did you QA it on the front-end to make sure it was firing?