I have a subpage in a jquery mobile page where I’d like to insert att Google adwords conversion cookie. But using the traditional snippet from Adwords doesn’t work. On Android it even makes the page go blank.
Anyone done this before?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are probably loading the conversion script later on the page by doing something like this:
Or using a jQuery function to load scripts that is similar to the function above. Turns out that you can’t include the
conversion.jsscript in this manner because it usesdocument.writeto write the img tag on the page. Because it usesdocument.writesome browsers will remove everything from the page and replace the content with the output ofdocument.write, which in this case is an empty gif.You better use the default tag provided by google to mark a conversion. If you need to load it without a page refresh just open an iframe to a page that contains this tracking code.
Of course this is just an example. You should use your own code that have your unique conversiod_id.