Extensions

View

Declaration:

public extension View
See more

granifyScrollTracking() Since 7.1.0

A custom modifier used by Contextual Commerce to collect scroll statistics from a page that uses a SwiftUI ScrollView. Add this modifier to the top-level(or highest level) ScrollView on a page that was created using SwiftUI’s declarative structure. Do not add this modifier to more than one ScrollView on a given page. If this modifier is present on a page, do not include a mainScrollView in that page’s trackPageView call.

Declaration:

func granifyScrollTracking() -> some View
Provide feedback button