Reply
Highlighted
Member
Posts: 1
Registered: ‎01-08-2011

Can't use Google Analytics with SIM?

Based on a little testing, it looks like I can't include Javascript in my SIM header or footer.

Authorize.net turns all the <script> tags to <noscript> tabs.

 

If true this means that I can't do conversion tracking in Google Analytics, as there's no way to

record whether the shopper completes the payment process or not.

 

This seems like a big disadvantage. Am I missing something?

Posts: 1,476
Topics: 33
Kudos: 37
Solutions: 126
Registered: ‎09-14-2009

Re: Can't use Google Analytics with SIM?

If you sue relay response you can put the Google Analytics code on that page. Then you will know if they complete the process or not.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Member
Posts: 2
Registered: ‎09-13-2010

Re: Can't use Google Analytics with SIM?

As stymiee said, use the relay response page to include your GA JavaScript snippets, and set the goal URL in GA as /gateway/transact.dll if you're using the Server Integration Method (SIM). It works.