Webflow sync, pageviews & more.
NEW

Redirect Logged in User to Dashboard

Example

Redirect Logged in User to Dashboard

Description

Redirect a Memberstack user to your Webflow user dashboard if they are logged in to your Webflow Memberstack membership site.

Instructions

  1. Place the Javascript code on the head custom code section of any page that you want them to be redirected to their dashboard
  2. Update the custom code URL to your members dashboard URL page

Javascript snippet


<!-- Add to HEAD section -->
<script>
MemberStack.onReady.then(function(member) {   
  if (member.loggedIn) {
     var memberId = member.id;
     window.location.replace("/change-to-collection-url/" + memberId);
  }
})
</script>

CSS snippet

HTML snippet

Change Active Webflow Tab

Change Active Webflow Tab

Change the default Webflow active tab on your Webflow site with this custom Javascript code.

Hide Element After Click w/Cookie

Hide Element After Click w/Cookie

Hide an element on your Webflow site after click with a cookie via this Javascript snippet. This is perfect for welcome modals, cookie notifications, notification alerts and other items that only need to be displayed a single time.

Navigate Webflow Slider with Arrow Keys

Navigate Webflow Slider with Arrow Keys

Add arrow keys keyboard functionality to Webflow's native slider with this simple Javascript code. This added functionality allows users to use their keyboards to navigation through slides in a Webflow slider.

Setting & Manipulating Cookies

Setting & Manipulating Cookies

Set, modify and manipulate cookies on your Webflow site via this Javascript code. This allows you to set a cookie, get a cookie, modify a cookie, check a cookie and delete a cookie on your Webflow site.

Scroll to Top of Page on Tab Click

Scroll to Top of Page on Tab Click

Automatically scroll a user to the top of page on a tab change on your Webflow site. A simple Javascript code snippet that allows for you to scroll users to the top of your site based on your selected class.

Page Transition Click Delay

Page Transition Click Delay

Add a delay when a user clicks on a link on your Webflow site. This functionality adds a nice delay to your Webflow site before the users hit the next page.

Back to Previous Page Button

Back to Previous Page Button

Add a back to previous page button to your Webflow site with this simple Javascript code snippet. When a user clicks on the button they'll be returned to the previous page they were visiting.

Age Gate Modal Overlay

Age Gate Modal Overlay

Add a birthday/age gate modal confirmation to your Webflow site via this simple Javascript code snippet.

DRAG
Real-time sorting by
No items found.
DRAG
Real-time sorting by