top of page
Crumpled Fabric

0

Anchor URLs in Wix Studio

Click URL to copy

Aug 11, 2025

3 min read

WIX Ideas Team

Tags: Wix Studio Anchor URL Anchor

How to Create Anchor URLs in Wix Studio – Step-by-Step Guide

If you’ve ever wanted to send someone a direct link that takes them straight to a specific section of your website, anchor URLs are the perfect solution. Whether you’re building with Wix or Wix Studio, this trick is a game-changer for improving user experience and making your site more shareable.


In today’s tutorial from Wix Ideas—your go-to resource for mastering Wix and Wix Studio—we’re going to show you exactly how to create and call URLs in Wix Studio so you can link to specific sections, forms, or even images on your site.


What is an Anchor URL and Why Use It?

An anchor URL is a link that includes a section ID, so when someone clicks it, they’re taken directly to that section of your page—no scrolling required. For example:


https://yoursite.com/page#sectionID

This is perfect for:

  • Linking to donation forms

  • Sending customers straight to a pricing table

  • Highlighting special offers or promotions

  • Improving navigation for long pages


With Wix Ideas, we’ll show you how to go beyond Wix’s default anchor feature and create shareable, scroll-to links that work anywhere on the internet.


Step-by-Step: Creating Anchor URLs in Wix Studio


1. Identify the Section You Want to Link To

Scroll to the section in your Wix Studio editor. In our example, we used a donation form, but this can be any section or element—even an image.


2. Give the Section an ID

Open the Inspector Panel and find the section’s ID. If you want, rename it to something memorable (e.g., donationForm or specialOffer).


3. Add the Velo Code

To make anchor URLs work, you’ll add a short Velo by Wix script to your site’s masterPage.js file. This code reads your URL, detects the section ID after the hash (#), and scrolls the page directly to it.

Here’s what it does:

  • Reads the current URL

  • Checks for a section ID

  • Automatically scrolls to that section when the page loads


4. Publish and Test

Once your site is published, simply add #sectionID to your page URL and share it. For example:


https://mysite.com/page#donationForm

When visitors open this link, they’ll land exactly where you want them.


Why This Works So Well in Wix Studio

While Wix offers built-in anchors, this Velo-powered method from Wix Ideas gives you more flexibility—making your links usable outside your site too. It’s perfect for marketing emails, social media posts, or any campaign where you want to send people to a specific spot without them having to scroll.


Learn More with Wix Ideas

If you found this guide helpful, you’ll love the rest of our Wix and Wix Studio tutorials at Wix Ideas Tutorials. We cover practical tips, advanced tricks, and creative techniques to make your site stand out.


Need a professional, custom-built site? Get a free quote today at Wix Ideas Quotes.

Want to speed up your design process? Browse our ready-to-use Wix and Wix Studio templates at Wix Ideas Shop.


Wix Ideas is all about helping you master Wix and Wix Studio while building a site you love. If you’re ready to create smarter, faster, and more shareable websites, start exploring today!



Code


Leave a comment (0)

Thanks for leaving a comment🎉

Tusar

Tusar

May 1, 2025

Wix page printing

You suggestion on printing wix page helped to create print icon but print was not initiated. please help in this regard.

Reply

January 20, 2000

ahmed

ahmed

May 19, 2024

wix form data

Hi i need your help also in wix form submission

the problem is that some fields are generated when $w.onReady(function () { like day & date and when i choose the student name i get the phone number from database .

and the form save only the field u fill it by ur self like input or dropdown

Reply

Walter Odibi

Walter Odibi

January 20, 2000

bromar

bromar

Sep 29, 2023

Love the tutorial!!!

You are truly great at creating these instructional videos!! Thank you! I am having trouble figuring out . . 'the triggered email' . . it is not being sent to the user submitting the form, the form and the email to the admin works great. . Could you point me to where this might have already been addressed? or any other help? On a second note. .the submit button success/failure message will go back to the default message once it's connected to the data set(I couldn't figure that out either. )

Reply

Walter Odibi

Walter Odibi

January 20, 2000

kaan

kaan

Jun 4, 2023

wishlist and rating system

hello sir I try today 2 hours but not working if you want I pay money can you do this 2 ( wishlist and rating star) system please I send to you invaid

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Hi there, you can contact me here using the in-app chatbox

Waqas

Waqas

Apr 16, 2023

Triggered Email Backend

Hi mate please can you send email by backend

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Hi Waqas, there isn't a backend code for this tutorial. The emails will be sent from the client-side.

Ghan

Ghan

Dec 29, 2022

Great Tutorial

Hi !

First of all, I want to thank you for your great tutorials, they helped us a lot with the coding.
But I still need your help, if you don't mind. I have based on Save Calculated Field using Wix Data Hooks Codes, to code my form . but the problem is I don't know why the code only reads the computation for "week2" computation and not the "weeks"

here is the code

I also did a separate column in the dataset where the chosen datas for both fields will be placed.

$w.onReady (() => {
$w("#Person").onChange(() => {
$w("#weeks").onChange(() => {
$w("#week2").onChange(() => {
let person = Number($w("#Person").value);
let weeks = Number($w("#weeks").value);
let week2 = Number($w("#week2").value);


$w("#totalLabel").show();

$w("#totalLabel").text = `"${String(weeks * Number(person))}페소"`; //DESIGN YOUR MESSAGE
$w("#totalLabel").text = `"${String(week2 * Number(person))}페소"`; //DESIGN YOUR MESSAGE

});
});
});

});

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Hi there, thanks for your comment. I see why this is a problem. The onChange() function seems wrong in combination.

To combine onChangeFunctions use this method

$w("#Person, #weeks, #weeks2").onChange(() => {

//code here

});

Walter

Walter

Aug 8, 2022

More Details? Watch video

Hi, you can click here to watch the video https://www.youtube.com/watch?v=9bx7-nBeZ5c

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Walter

Walter

Jul 11, 2022

For you

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Walter Odibi

Walter Odibi

Apr 18, 2022

Awesome Feature

This tutorial shows you how to display views on your Wix repeater.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=Iz7SdaCSdXg

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Walter Odibi

Walter Odibi

Apr 18, 2022

Amazing tutorial

This amazing tutorial will show you how to a comment section to your WIX dynamic page.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=f8-vJQFNZ_c

Reply

Walter Odibi

Walter Odibi

January 20, 2000

Walter Odibi

Walter Odibi

Apr 10, 2022

Great Feature🎉

This amazing tutorial will show you how to add a visitor view counter to your WIX dynamic page.

🚩MORE TUTORIALS https://www.wixgenius.com/wix-tutorials

Reply

Walter Odibi

Walter Odibi

January 20, 2000

RELATED TUTORIALS 🚀

Turn Scroll Animation in Wix Studio

Turn Scroll Animation in Wix Studio

Turn elements and put them in place as you scroll down or up a section of your Wix Studio website

bottom of page