squareweb Posted March 3, 2021 Share Posted March 3, 2021 Hi, @tuanphan and @paul2009 . I am working on the order confirmation and I want to have customers specific on my order confirmation page. I added the below code In code injection of order confirmation and but the google analytics is unable to read that data. let me know if you can help in achieving the customer specific information on order confirmation page. heres the url of website: https://www.1fortheworld.org/ and heres the code I used: <!--ORDER CONFIRMATION PAGE CODE INJECTION--> <script> var sqsCheckoutOrderId = {orderId}; var sqsCheckoutOrderSubtotal = {OrderSubtotal}; var sqsCheckoutOrderSubtotalCents = {OrderSubtotalCents} var sqsCheckoutOrderGrandtotal = {OrderGrandtotal}; var sqsCheckoutOrderGrandtotalCents = {OrderGrandtotalCents}; var sqsCheckoutCustomerEmailAddress = "{customerEmailAddress}"; </script> <!--ORDER CONFIRMATION PAGE CODE INJECTION END--> any help would be highly appreciated. Thanks alot Link to comment
paul2009 Posted March 3, 2021 Share Posted March 3, 2021 35 minutes ago, squareweb said: I added the below code In code injection of order confirmation and but the google analytics is unable to read that data. If you're using Google Analytics to track conversions, Squarespace automatically sends the following information for every received order, without adding code: Order ID Your store name Purchase total (includes shipping) Customer's city, region, and country Product name SKU You can find more information in this guide: Using Google Analytics with Squarespace. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.