{"id":64,"date":"2007-08-22T01:43:00","date_gmt":"2007-08-22T08:43:00","guid":{"rendered":"http:\/\/rajiniravi.com\/ravi\/wp\/?p=64"},"modified":"2007-08-22T01:43:00","modified_gmt":"2007-08-22T08:43:00","slug":"conversion-tracking-issue-in-adwords","status":"publish","type":"post","link":"https:\/\/ravi.rajiniravi.com\/blog\/2007\/08\/conversion-tracking-issue-in-adwords\/","title":{"rendered":"Conversion tracking issue in Adwords"},"content":{"rendered":"<p>One of the first issues I faced with AdWords conversion tracking was really ridiculous. I thought we had inserted the conversion code in the right page at the right place. Still conversions didn&#8217;t show up.<\/p>\n<p>What had happened was that we were using an interface to change the code and all line feeds in the Google Conversion tracking script were converted to break<span> tags (BTW, try entering the correct break tag in Compose mode in Blogger and see if it posts right). The technical guys noticed this immediately but kept saying, <\/span><span style=\"font-style: italic;\">&#8220;<span style=\"font-style: italic;\">Google cannot track the conversion if the codes have any extra  character&#8230; <\/span>&#8221; and a Google Engineer said, &#8220;<span style=\"font-style: italic;\">the conversion code wont work with the < <\/span>b<span style=\"color: rgb(255, 255, 255);font-size:78%;\" >.<\/span>r\/<span style=\"font-style: italic;\">> tag<\/span>.&#8221; <\/span><span>I wonder if they knew the real reason?<\/span><span style=\"font-style: italic;\"><br \/><\/span><span><br \/><script> and the <\/script>A little knowledge of JavaScript cleared the whole issue immediately. The reason, simply put, is that the < <\/span>b<span style=\"color: rgb(255, 255, 255);font-size:78%;\" >.<\/span>r\/<span>> tags inserted cause the JavaScript interpreter to fail in the user&#8217;s browser and hence tracking fails. The solution is to make sure that there are no line feeds in any javascript in between your script tags. And make sure all those semicolons are in place too for the tracking to work&#8230;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the first issues I faced with AdWords conversion tracking was really ridiculous. I thought we had inserted the conversion code in the right page at the right place. Still conversions didn&#8217;t show up. What had happened was that we were using an interface to change the code and all line feeds in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3979,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"book_review_cover_url":"","book_review_title":"","book_review_series":"","book_review_author":"","book_review_genre":"","book_review_isbn":"","book_review_publisher":"","book_review_release_date":"","book_review_format":"","book_review_pages":"","book_review_source":"","book_review_rating":"","book_review_summary":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6,8],"tags":[12,21],"class_list":["post-64","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rambling","category-technology","tag-adwords","tag-google"],"jetpack_featured_media_url":"https:\/\/ravi.rajiniravi.com\/blog\/wp-content\/uploads\/2021\/01\/photo-1547139559-c89c59d117611.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media\/3979"}],"wp:attachment":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}