Tealium.TealiumTagger.TrackItemClicked C# (CSharp) 메소드

TrackItemClicked() 공개 메소드

Reports a click/link 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.
public TrackItemClicked ( string itemName, IDictionary variables = null ) : void
itemName string
variables IDictionary
리턴 void
        public void TrackItemClicked(string itemName, IDictionary variables = null)
        {
            if (variables == null)
                variables = new Dictionary<string, string>();

            variables[settings.ClickMetricIdParam] = itemName;
            TrackCustomEvent(settings.ClickMetricEventName, variables);
        }