Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'variables'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges


Expert ID

Found 5 results

  1. Site URL: https://evergreenfineartsfestival.com Hi my site has many pages that include the current year and some other data. I'm trying to inject that data via the head tag by clicking into Settings->Advanced->Code Injection, then on the pages using a code block to access the data. The code injection is: <script type="text/javascript"> var year = "2021"; var lastYear = "2020"; var nextYear = "2022"; var event = "55th"; var friday = "27"; var saturday = "28"; var sunday = "29"; function docWrite(variable) { document.write(variable)
  2. Site URL: https://jontyhurwitz.com I have an enquiry form in the site footer. When I get the enquiry through, I have no way of know which page it was submitted from. I have created a hidden field in the form, and would like to pass the Page Title or the slug into this hidden form field. You can see in this image, its the variable SQF_SLUG that I'd like to fill with the Page Title or the Page Slug. Is it possible? I can't find a way
  3. I am having trouble with a project for a client. She is selling clothing sets. She wants the customer to be able to select what size top they would like, and then which type of bottom, and then which size of bottom. I am having trouble accomplishing this because the variables are all connected together and so Iā€™m having to add a ton of potential combinations. Is there a way to add multiple drop down variables but have them not be connected?
  4. I am trying to setup integration with an affiliate program. I'm sending an XHR to the affiliate on order confirmation (using the code-injection tool), but I can't figure out what the SquareSpace variable is to get the discount code. I need to include this in the JSON I'm sending. Does anyone know what that variable is called? What I have already is below. I've tested it with hardcoded data to confirm that it does work correctly, but I need to know what that "coupon" variable is on the SquareSpace side. <script type="text/javascript"> let request = new XMLHttpRequest; request.op
  5. I am attempting to set up an affiliate program for my site. I am using the program Post Affiliate Pro, and in setting up the tracking of purchases, Post Affiliate Pro has given me a code to inject into the order confirmation page which will send them info if a customer used a coupon code given by a certain affiliate. However, in the instructions they gave me, they said I would need to edit the code and replace ('Coupon_Code') with whatever squarespace uses as a variable for its coupons Here is the code they said to modify and inject: sale.setCoupon('Coupon_Code');
Ɨ
Ɨ
  • Create New...