add google ads conversion tracking?

  1. 6 months ago

    TeiMoney

    22 Sep 2018 User since 2017 + 77 RP

    did anyone figured out how you can track conversions on google adwords
    where do i need to put the code?
    i tried installing the code with tag manager on the download page but it gave me an error on google tag assistant
    what do i need to do if i want to track a sale for example?

  2. itbangz

    23 Sep 2018 Power Contributor User since 2016 + 1498 RP

    it works for me with free downloads, but not with paid. Ive recently changed the code, so will see maybe it will work. Ill post here if it does.

  3. itbangz

    3 Oct 2018 Power Contributor User since 2016 + 1498 RP
    Edited 6 months ago by itbangz

    this type of code works for me. replace with your values: (on download page)

    <!-- Global site tag (gtag.js) - Google Ads: 926XXXXXX -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=AW-92XXXXXXX"></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'AW-92XXXXX');
    </script>

    <!-- Event snippet for paid download conversion page -->
    <script>
    gtag('event', 'conversion', {'send_to': 'AW-926XXXXX/pApHXOHEn4YBENuu0bkD'});
    </script>

    you can get your code on adwords conversions page

  4. TeiMoney

    14 Oct 2018 User since 2017 + 77 RP

    Hi' @itbangz' thats dope bro ill definitely give it a shot & will update here!

 

or Sign Up to reply!