Eszter Posted March 24, 2021 Share Posted March 24, 2021 Site URL: http://www.collyco.com Hi! We are a beauty supplement brand and we would like to work with influencers. I need to implement a piece of code such as this: <img src="https://system.makeinfluence.com/p?bid=undefined&value=[INSERT-ORDER-VALUE]&uid=[INSERT-ORDER-ID]"> This has to go to the "thank you" page once the purchase has been done. Now I don't know if there is such a thing on Squarespace Ecommerce and unfortunately the company does not have a specific code snippet for Squarespace. Any idea how I could implement this and where? I am really lost because as I know, I cannot edit the online shop part nor add custom code. Thank you! Beyondspace 1 Link to comment
Beyondspace Posted March 27, 2021 Share Posted March 27, 2021 On 3/24/2021 at 5:17 PM, Eszter said: Site URL: http://www.collyco.com Hi! We are a beauty supplement brand and we would like to work with influencers. I need to implement a piece of code such as this: <img src="https://system.makeinfluence.com/p?bid=undefined&value=[INSERT-ORDER-VALUE]&uid=[INSERT-ORDER-ID]"> This has to go to the "thank you" page once the purchase has been done. Now I don't know if there is such a thing on Squarespace Ecommerce and unfortunately the company does not have a specific code snippet for Squarespace. Any idea how I could implement this and where? I am really lost because as I know, I cannot edit the online shop part nor add custom code. Thank you! You can use the tags like this to get the value of your order Using Code Injection – Squarespace Help {orderId} – The unique ID of the confirmed order {orderSubtotal} – The subtotal of the confirmed order {orderSubtotalCents} – The subtotal of the confirmed order, in cents {orderGrandTotal} – The grand total of the confirmed order {orderGrandTotalCents} – The grand total of the confirmed order, in cents {customerEmailAddress} – The customer's email address, as it was entered in the "Billing Info" section <img src="https://system.makeinfluence.com/p?bid=undefined&value={orderGrandTotal}&uid={orderId}"> BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! 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