codeandtonic Posted January 31, 2022 Share Posted January 31, 2022 (edited) Blog post with video here How to install Google Analytics to Squarespace (UPDATED METHOD 2022) I was waiting for this, as it was scheduled to come out in november 2021, but just now I noticed the update live so we can finally add GA4 to SQSP. It was of course possible to do before, but a manual code injection method will NOT track e-commerce transactions so this is a super welcome update. It's easy and will track e-commerce transactions automatically. I hope you'll find it useful 🙂 -Fenix Edited January 31, 2022 by codeandtonic sayreambrosio 1 Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem. Get in touch here! Link to comment
axelvargas Posted April 12, 2022 Share Posted April 12, 2022 hello Fenix! how have GA4 analytics worked for you? I installed them since the beginning of February using the Squarespace integration and use them parallel to my Universal Analytics platform, and they are correctly identifying everything *except* e-commerce transactions. I've lost all the info on sales, conversions and value, and I can't seem to find any fix. this have been specially troublesome to my Google Ads campaign, as I used to have great insight with the UA info, but not anymore with the GA4 integration. have you run into these or have any insight about it? thanks! PeterPots 1 Link to comment
codeandtonic Posted April 13, 2022 Author Share Posted April 13, 2022 12 hours ago, axelvargas said: How have GA4 analytics worked for you? To be 100% honest I'm currently still using Universal Analytics. My click tracking plugin is a lot easier to work with UA. In GA4 navigating and filtering events has not been as smooth. The ecommerce support should be there. In the Squarespace+Google webinar when they revealed the details it was confirmed to be included. So perhaps ask Squarespace support. You can also hit me up if you want me to take a look at what might be causing the issue. However debugging analytics stuff is always a bit painful 😅 Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem. Get in touch here! Link to comment
paul2009 Posted April 18, 2022 Share Posted April 18, 2022 On 4/13/2022 at 12:20 PM, codeandtonic said: I'm currently still using Universal Analytics. My click tracking plugin is a lot easier to work with UA. Bear in mind that Google plan to sunset Universal Analytics and want users to move to Google Analytics 4. They currently plan to stop processing UA hits from July next year so they are encouraging UA users to start gathering from GA 4 now so that historical insights are available to measure later. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
codeandtonic Posted April 19, 2022 Author Share Posted April 19, 2022 14 hours ago, paul2009 said: Bear in mind that Google plan to sunset Universal Analytics and want users to move to Google Analytics 4. Thanks! Yeah, I've noticed this alert in my UA dashboard, and you're 100% right... However I'm still a little unsure what's the plan gonna be, as EU has pretty much stated that all Google Analytics usage is illegal. I've tried some cookieless legal options like Plausible and Fathom, and they're great except with the e-commerce stuff which is important 😞 Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem. Get in touch here! Link to comment
jenq Posted April 20, 2022 Share Posted April 20, 2022 On 2/1/2022 at 2:12 AM, codeandtonic said: Blog post with video here How to install Google Analytics to Squarespace (UPDATED METHOD 2022) I was waiting for this, as it was scheduled to come out in november 2021, but just now I noticed the update live so we can finally add GA4 to SQSP. It was of course possible to do before, but a manual code injection method will NOT track e-commerce transactions so this is a super welcome update. It's easy and will track e-commerce transactions automatically. I hope you'll find it useful 🙂 -Fenix @codeandtonic Hey Fenix Great vid, interesting about the code injection. I recently added the GA4 property to two existing websites along with UA in the correct format and it wasn't picking up any data. Once I added in the gtag.js, it started to show data. Any thoughts on this? Neither of the two sites I tested with have eCom so I can't test this portion but I would like to implement correctly for the rest of my client sites. SS support couldn't see any issues at their end and when I reported what worked for me, they said they would pass this along to the team. Cheers Jen Link to comment
codeandtonic Posted April 21, 2022 Author Share Posted April 21, 2022 Hi jenq 👋 Try the tagasisstant.google.com to make sure the GA4 is installed correctly and getting data. Here's video showing how Google Chrome – at 14.46 4.mp4 Get in touch if you want me to help you with this! Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem. Get in touch here! Link to comment
jenq Posted April 26, 2022 Share Posted April 26, 2022 On 4/21/2022 at 11:49 PM, codeandtonic said: Hi jenq 👋 Try the tagasisstant.google.com to make sure the GA4 is installed correctly and getting data. Here's video showing how Google Chrome – at 14.46 4.mp4 17.57 MB · 0 downloads Get in touch if you want me to help you with this! Thanks, will this also work if I'm not using Google Tag Manager? Either way, still not quite sure how I get around the issue I had with gtag.js, where adding it resulted it collecting data. Link to comment
1957Goldtop Posted June 2, 2022 Share Posted June 2, 2022 There is something wrong with their implementation... it's tracking e-commerce purchases but it's not registering the transaction revenue: Link to comment
codeandtonic Posted June 7, 2022 Author Share Posted June 7, 2022 On 6/3/2022 at 1:53 AM, 1957Goldtop said: There is something wrong with their implementation... it's tracking e-commerce purchases but it's not registering the transaction revenue: You're right. I've seen other report this as well and also do not see sales in my own GA4 / Squarespace. I wonder if GA4 is so unpopular that no one has complained to Squarespace..? Personally I've had very hard time using the data compared to UA. Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem. Get in touch here! Link to comment
JeffDD Posted June 15, 2022 Share Posted June 15, 2022 Any updates to this issue? Should we install some script on the order confirmation page? Link to comment
PeterPots Posted January 30 Share Posted January 30 Also looking for an update here. I've tried a script on the order confirmation page that I configured with GTM, so now I have both the integration and GTM running, but so far, it's still not working. Link to comment
marlatallime Posted February 7 Share Posted February 7 My understanding is that GTM won't work with Squarespace bc it drops the code injection on the checkout page. Does the update introducing an Order Status Page allow for complete user journey tracking across the site & transaction completion? Link to comment
PeterPots Posted February 8 Share Posted February 8 I've been working to resolve the ecommerce revenue reporting issue for the last week now. I've been able to get some revenue data to populate by creating an event modification for the purchase event directly in GA4 (see attached image). I think the problem is that SQS does not send the currency type with the purchase event, which is required by GA4 to display the data. By modifying the currency parameter for the event, you can set the currency type. BloomingDesignCo 1 Link to comment
marlatallime Posted February 17 Share Posted February 17 (edited) On 2/7/2023 at 1:31 PM, marlatallime said: Does the update introducing an Order Status Page allow for complete user journey tracking across the site & transaction completion? Not as far as I can tell. I am using GTM to track purchase conversions and it clearly drops the code. I don't see the <head> snippet when I inspect the page, and the Tag Assistant doesn't show any pages after the product page. Edited February 17 by marlatallime Link to comment
GlynMusica Posted February 21 Share Posted February 21 A purchase conversion will only be transmitted if a) You can fire GTM or GTAG on the checkout page. b) You know the variables that SquareSpace uses to write the sale information to the field to transmit to GA4. You may be able to setup a goal in GA4 that captures when a purchase if it is possible to add that code to the page where the checkout happens, or maybe after payment there is a thank you page which you can define and then set as a destination URL to trigger a purchase event. You may then (I've not checked but you could in Google UA) if you have an average order value, hard-code the value of a goal conversion into your goal. This will bring some information into Google Analytics. I hope that can help. We provide digital marketing services for businesses that need exposure/sales from search and social media networks. We also build incredibly fast and well optimised multi-language Square Space websites.Digital Marketing | Marketing Digitale Link to comment
Amanda-FWI Posted February 27 Share Posted February 27 (edited) I've been having an issue with my GA4 Analytics picking up my IP address even with the filters properly installed, so I am unable to get clear data, has anyone had this issue and resolved it?It's even picking it up in Google Analytics when I am logged in at edit mode! Edited February 27 by Amanda-FWI Link to comment
chrismccreery Posted March 3 Share Posted March 3 Their current GA4 integration is poor at best. The purchase event they pass over via the measurement protocol will report as "direct" for every single one. If you're trying to measure attribution for these events you won't be able to until they fix these issues. JulienDeneker 1 Link to comment
JulienDeneker Posted April 7 Share Posted April 7 I find it crazy that after all this time they still have not fixed this issue!! Makes you wonder how they take e-commerce seriously... I contacted the support and they argue it is a glitch with GA (what a joke...) Here is a good video on the topic: Link to comment
BloomingDesignCo Posted May 10 Share Posted May 10 On 2/8/2023 at 2:49 PM, PeterPots said: I've been working to resolve the ecommerce revenue reporting issue for the last week now. I've been able to get some revenue data to populate by creating an event modification for the purchase event directly in GA4 (see attached image). I think the problem is that SQS does not send the currency type with the purchase event, which is required by GA4 to display the data. By modifying the currency parameter for the event, you can set the currency type. Thank you so much for sharing this screen shot. Going to try this out on my ecommerce site and see if it works! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment