Tealium.TealiumTagger.TrackScreenViewed C# (CSharp) Méthode

TrackScreenViewed() public méthode

Reports a page view event with the specified details. Variables that have the same name as persisted variables set by SetVariables will take precedence. All variables passed to this call will not be persisted, with the exception of the screen/view/page name.
public TrackScreenViewed ( string viewName, IDictionary variables = null ) : void
viewName string
variables IDictionary
Résultat void
        public void TrackScreenViewed(string viewName, IDictionary variables = null)
        {
            if (variables == null)
                variables = new Dictionary<string, string>();

            variables[settings.ViewMetricIdParam] = viewName;
            SetVariable(this.settings.ViewMetricIdParam, viewName);

            TrackCustomEvent(settings.ViewMetricEventName, variables);
        }