Google Analytics Process Update Required - [RESOLVED]
I've reviewed the instructions here: http://www.checkfront.com/support/google-analytics/
and I've found what I believe is an error that results in erroneous Google Analytics (GA) tracking when the WordPress plugin widget is used.
Essentially, the issue breaks down like this:
- Visitor hits the main site (banjobilly.com) and begins a GA session
- The main site must have _setAllowLinker set to true, and _setDomainName can be set to anything (setting it to 'none' is pointless as far as I can tell, as GA sets the domain name to something regardless...it's not as if the cookie can be used by any domain just b/c we choose 'none')
- When the user views the checkfront booking widget, the content is loaded in an iframe. However, this iframe isn't loaded using GA's recommended procedure, so the current GA session data isn't transferred to the iframe
- What's more, because the iframe doesn't load any Google analytics tracking code, no session can continue inside the frame
- Because no session can continue inside the frame, completion of "step 1" in our checkout process - i.e. clicking on "continue" after filling out the booking form - isn't something we can track
- Since clicking on "continue" takes the user to a branded sub-domain page on checkfront.com that ALSO doesn't have Google analytics tracking code (and why would there be when the iframed content doesn't have GA tracking, right?), whatever GA session data we have on the user (i.e. medium, source, conversion funnel, etc.) is officially closed on our site as soon as they click "continue"
At this point, the usefulness of our ecommerce data falls off quite a bit
- If/when the user begins a new GA session on the thank you page (aka payment completed page), the new session shows that the traffic source is "direct", then associates the ecommerce data with a direct visitor that only looked at one page
Basically, we end up with a Google Analytics account that tells us the only traffic that converts is "direct" traffic, that we have a landing page that converts at 100%, and we have no conversion/ecommerce data specific to the proper session that began just a few moments earlier.
While I'm no expert on cross-domain tracking, in the last few months I've worked on this for a few clients. Quite frankly, I'm amazed at the lack of emphasis on this problem with most 3rd party cart providers. They simply don't seem to care that their users can not collect highly actionable ecommerce data in GA because of a lack of compatibility on their system.
However, I know that Checkfront is different, as you guys have attacked problems people have brought up in the past.
I hope you can come up with a solution for this one too.
Ideally, we could add our GA tracking ID in the Wordpress plugin settings area, then your plugin could pass this ID to the iframed page ( along with the proper _getLinkerUrl syntax, see https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#trackingIFrames ), then the iframed page could pass the ID to the payment page, and then finally onto the booking completed page.
Questions? I'm happy to put this in a video too.
This discussion has been closed.