V
V
Vitaly2016-03-02 03:05:58
Google
Vitaly, 2016-03-02 03:05:58

Why is Google adWords not converting?

Help with connecting the Google adWords conversion script. It is not possible to use the script offered by adWords in the project, since most of my events take place on Ajax.
I tried to implement sending conversions on the advice of Google Develops https://developers.google.com/adwords-remarketing-... but the conversions do not go through. Or they pass, but not regularly. Conversions without values. On click
Implementation code (typescript):

namespace Goals {

    class adWords extends BaseElement{
        public events:string[] = [ 'goals#registered', 'goals#checkout', 'goals#one-click', 'goals#go-to-cart' ];

        /* <![CDATA[ */
        onRegisteredEvent() {
            adWords.goal( 'Id6XCJrFq2MQ7ITdyQM' );
        }

        onOneClickEvent() {
            adWords.goal( 'p-JqCKCEm2MQ7ITdyQM' );
        }

        onCheckoutEvent() {
            adWords.goal( 'rqiOCMfLq2MQ7ITdyQM' );
        }

        onGoToCartEvent() {
            adWords.goal( 'tertCL_zmmMQ7ITdyQM' );
        }
        /* ]]> */

        static goal( conversion_label:string ) {
            try {
                /* <![CDATA[ */
                google_trackConversion({
                    google_conversion_id: 959922796,
                    google_conversion_label: conversion_label,
                    google_conversion_language : "en",
                    google_conversion_color: "ffffff",
                    google_conversion_format : "3",
                    google_remarketing_only: false
                });
                /* ]]> */
            } catch ( e ) {
            }
        }
    }
    Core.addElement( new adWords() );
}

All events are processed. Google Tag Assistant shows that the conversion has been sent. What can cause conversions to fail?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy, 2016-04-01
@SimbiozizV

I was able to solve this problem with the help of Google Tag manager.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question