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. Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee 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 Monday at 10:29 PM Share Posted Monday at 10:29 PM 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment