BV Commerce Forum
»
BV Commerce Support
»
Development
»
How to Add Google Analytics and eCommerce Tracking to BV Commerce 5
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Thanks -- but it's not a secure/nonsecure issue -- I figured that one out. It's that Firefox is saying the certificate, which is registered to google.com does not match the URL, which is google-analytics.com -- A significant number of people use Firefox, so I'm concerned. |
|
|
|
|
Rank: Member
Joined: 4/10/2006(UTC) Posts: 462
|
hmm, are you using this url as mposted above: https://ssl.google-analytics.com/urchin.js?When I type that url directly into firefox it gives no certificate errors and when viewing the security certificate it provides the following... Issued To Common Name *.google-analytics.com Organization Google, Inc So everything appears valid. I checked that url in both Firefox 1.5 and 2.0. If you have a publically available url where you are experiencing this issue, I'd be happy to see if the errors show up for me there as well. |
Netriplex Corporation<br /> |
|
|
|
Rank: Member
Joined: 4/10/2006(UTC) Posts: 462
|
Just did a quick test, I think you are using https://WWW.google-analytics.com/urchin.js instead of https://SSL.google-analytics.com/urchin.js. The www version of that url causes a redirect to www.google.com and causes a cert error (appears in ie7 as well). |
Netriplex Corporation<br /> |
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
You are right! All I did was change to https -- and didn't change the www to ssl. Thanks! I'll give that a shot. |
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
This isn't working for me so far; no scripts are being added to the receipt page (that I can tell), and no order data is being tracked.
Any suggestions? |
|
|
|
|
Rank: Member
Joined: 3/8/2007(UTC) Posts: 139
|
Hey Cliff,
I'm looking into this. I'll let you know what I find out tomorrow.
Thanks, |
Everett Comstock
BV Software |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
|
|
|
|
|
Rank: Member
Joined: 7/18/2006(UTC) Posts: 18
|
Hi Cliff
I had the same problem -- Spoke to Support (Everett)
This is what I got:
*********************
*********************
*********************
<SPAN id=ctl00_ContentPlaceHolder1_GridView1_ctl06_Label4>In your Receipt.aspx.vb page, add the following function call:
Private Sub LoadOrder() If Request.Params("id") IsNot Nothing Then Dim o As Orders.Order = Orders.Order.FindByBvin(Request.Params("id")) If o IsNot Nothing Then Me.ViewOrder1.OrderBvin = o.Bvin Me.ViewOrder1.LoadOrder() 'New Code Me.GoogleAnalyticsReceipt1.RenderGoogleReceipt(o) 'End New Code End If Else Me.lblOrderNumber.Text = "Order Number missing. Please contact an administrator." End If End Sub
*********************
*********************
*********************
Hope this helps!
|
|
|
|
Rank: Member
Joined: 3/8/2007(UTC) Posts: 139
|
Hey Cliff, Leo beat me to the punch. But yes, adding "Me.GoogleAnalyticsReceipt1.RenderGoogleReceipt(o)" to the VB page should do the trick.
Thanks Leo! |
Everett Comstock
BV Software |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Thanks guys, I'll give this a shot. In the meantime, any thoughts on my previous question? Originally Posted by: "Cliff" Quick question:
Marcus' instructions say to include the scripts before the closing </header> tag. I'd prefer to insert directly before the closing </body> tag, since it's an external script.
Can you see any issues with doing this? Will the conversion code placed by the control still be inserted after urchin.js? |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The urchin.js tag should work anywhere ABOVE the analytics call. I think you can put it outside the header in the body tag just above the analytics tags.
|
|
|
|
Rank: Member
Joined: 2/18/2006(UTC) Posts: 172
|
I was wondering if this is a '(0)-ZERO' or 'o': Me.GoogleAnalyticsReceipt1.RenderGoogleReceipt(o) ?
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Michael, I believe it's a lower-case letter 'o', which stands for 'order' in this case. |
|
|
|
|
Rank: Member
Joined: 10/7/2005(UTC) Posts: 15
|
I know this off topic, but I was wondering if there is anyway to use Google Analytics with <SPAN id=objAdminFooter_lblVersion>BVC 2004.
Thanks!
Dean
|
|
|
|
Rank: Member
Joined: 4/4/2004(UTC) Posts: 670
|
Dean, I have developed a managed library that provides full population to Google Analytics for BVC2004. If you need details, contact me. Scott Mech [email protected]
|
|
|
|
Rank: Member
Joined: 10/7/2005(UTC) Posts: 15
|
|
|
|
|
Rank: Member
Joined: 4/4/2004(UTC) Posts: 670
|
Everyone, We have developed add-in for BVC5 that fully populates Google Analytics, Google Adwords, Bizrate/Shopzilla, Shopping.com, Share-A-Sale, and several other engines with analytics and conversion tracking. We populate Brand, UPC, MPN, whether customer is new/returning, product category, and more. Tracking for each can be enabled/disabled through easy editing of configuration file. Our add-in works whether BVC5 is moving the viewstate or not and things like Google Analytics page tracking will appear at the bottom of the page before the closing body tag. If anyone would like additional information, feel free to contact me. Scott Mech [email protected]
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Scott has set this up on our site and it works great! |
|
|
|
|
Rank: Member
Joined: 8/13/2004(UTC) Posts: 73
|
Marcus,
Please let me know if is there a guide as how to implement Google Ecommerce Tracking in a BV4.0 store.
thank you.
|
|
|
|
Rank: Member
Joined: 10/19/2007(UTC) Posts: 22
|
Hello Pymenta,
I found some information by using the search feature of the forums, sorry your question wasn't answered sooner.
term: google Select the forum to search :BVC 2004 - Technical Support and Questions Searched Date Range : Last 6 months.
Chris
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.