Adobe Commerce only. Learn more.

Unsubscribe - Events SDK Reference

Functions

The following functions unsubscribe from events.

mse.unsubscribe.addToCart

Unsubscribes from the addToCart event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.addToCart(handler);

mse.unsubscribe.customUrl

Unsubscribes from the customUrl event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.customUrl(handler);

mse.unsubscribe.dataLayerChange

Unsubscribes from the dataLayerChange event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.dataLayerChange(handler);

mse.unsubscribe.dataLayerEvent

Unsubscribes from the dataLayerEvent event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.dataLayerEvent(handler);

mse.unsubscribe.initiateCheckout

Unsubscribes from the initiateCheckout event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.initiateCheckout(handler);

mse.unsubscribe.instantPurchase

Unsubscribes from the instantPurchase event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.instantPurchase(handler);

mse.unsubscribe.pageActivitySummary

Unsubscribes from the pageActivitySummary event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.pageActivitySummary(handler);

mse.unsubscribe.pageView

Unsubscribes from the pageView event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.pageView(handler);

mse.unsubscribe.placeOrder

Unsubscribes from the placeOrder event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.placeOrder(handler);

mse.unsubscribe.productPageView

Unsubscribes from the productPageView event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.productPageView(handler);

mse.unsubscribe.recsItemAddToCartClick

Unsubscribes from the recsItemAddToCartClick event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsItemAddToCartClick(handler);

mse.unsubscribe.recsItemClick

Unsubscribes from the recsItemClick event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsItemClick(handler);

mse.unsubscribe.recsRequestSent

Unsubscribes from the recsRequestSent event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsRequestSent(handler);

mse.unsubscribe.recsResponseReceived

Unsubscribes from the recsResponseReceived event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsResponseReceived(handler);

mse.unsubscribe.recsUnitRender

Unsubscribes from the recsUnitRender event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsUnitRender(handler);

mse.unsubscribe.recsUnitView

Unsubscribes from the recsUnitView event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.recsUnitView(handler);

mse.unsubscribe.referrerUrl

Unsubscribes from the referrerUrl event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.referrerUrl(handler);

mse.unsubscribe.removeFromCart

Unsubscribes from the removeFromCart event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.removeFromCart(handler);

mse.unsubscribe.searchCategoryClick

Unsubscribes from the searchCategoryClick event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.searchCategoryClick(handler);

mse.unsubscribe.searchProductClick

Unsubscribes from the searchProductClick event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.searchProductClick(handler);

mse.unsubscribe.searchRequestSent

Unsubscribes from the searchRequestSent event.

Name Required Description
handler Yes Event handler  

Syntax:

1
mse.unsubscribe.searchRequestSent(handler);

mse.unsubscribe.searchResponseReceived

Unsubscribes from the searchResponseReceived event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.searchResponseReceived(handler);

mse.unsubscribe.searchResultsView

Unsubscribes from the searchResultsView event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.searchResultsView(handler);

mse.unsubscribe.searchSuggestionClick

Unsubscribes from the searchSuggestionClick event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.searchSuggestionClick(handler);

mse.unsubscribe.shoppingCartView

Unsubscribes from the shoppingCartView event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.shoppingCartView(handler);

mse.unsubscribe.signIn

Unsubscribes from the signIn event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.signIn(handler);

mse.unsubscribe.signOut

Unsubscribes from the signOut event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.signOut(handler);

mse.unsubscribe.updateCart

Unsubscribes from the updateCart event.

Name Required Description
handler Yes Event handler

Syntax:

1
mse.unsubscribe.updateCart(handler);