Note that there are some explanatory texts on larger screens.

plurals
  1. POTracking adwords performance on a site using Backbone Router
    primarykey
    data
    text
    <p>So we just relaunched our site as a Backbone powered single-paged app, but we're having a heck of a time tracking our conversions from our AdWords ads into the site with Google Analytics.</p> <p>The problem is that in order for Google Analytics to track the fact that the user came in from AdWords, it looks for a URL query parameter called <code>gclid</code> in the URL:</p> <pre><code>http://test.com/?gclid=(Q#kjsdf0INKJSDJF9 </code></pre> <p>But, when the Router from Backbone initializes, it removes all the query parameters from the URL, so when the tracking event fires, it doesn't see that the user came from an AdWords ad.</p> <p>We tried sending the user to an interstitial page that loads the analytics code and waits for the event to fire and then forwards them into the site, but</p> <ol> <li>Its ugly and shows users a blank page for a while</li> <li>Doesn't work without a significant wait for IE8 users (who make up 50% of our user base sadly)</li> </ol> <p>We contacted Google's AdWords help to see if we can manually give the <code>gclid</code> to Analytics and their answer was </p> <blockquote> <p>You should hire one of our consultants who will figure out how to keep the URL parameters on your site so it works correctly because we do not support manually setting the <code>gclid</code> ID</p> </blockquote> <p>(Sadly only a very minor paraphrase.)</p> <p>Google-fu leaves me blank in this respect -- lots of people asking questions in the Google forums, but no answers.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload