How to add NW Number Counter Tool in Webflow?
Step#1
Adding the script within Page Settings on Webflow.
Integrating our Number Counter tool into your website is simple! Follow these steps to get started:
- Click on "Pages" in the left navigation or press "P" on your keyboard.
- Select the settings icon beside the page you want to add the script to.
- Scroll down to the "Before </body> tag" section.
- Simply copy the script we've provided and paste it here.
Step#2
Set Custom Attribute
To ensure your number counter works seamlessly, apply custom attributes directly to your number elements.
- Select the number element you want to animate.
- Go to the Element Settings panel.
- Add the following custom attributes:
- Name: 'nw-counter' and Value: 'true' (eg. nw-counter="true")
- Name: 'nw-start-number' and Value: 'starting value of your animation' (eg. nw-start-number="0")
- Name: 'nw-duration' and Value: 'duration of your animation' (eg. nw-duration="2")
“NOTE: The ending value of the animation is the value you put in the text element itself.
Step#3
Publish Your Site
It's recommended to publish your site in a staging environment first to ensure the number counter works as expected. Once confirmed, publish it to your live site.
By following these steps, you'll successfully implement the Number Counter on your Webflow site.
Get exclusive access
By subscribing, you'll stay ahead of the curve and gain valuable insights into cutting-edge WebFlow techniques.