web analytics - How to track which search results are displayed to users -
a client wants track after user searches store location, stores displayed user. omniture can track? on client's website, after filling out zip code , click on "search store", page url doesn't change. advice appreciated!
yes, can track this, if page doesn't reload (sounds ajax call done search).
however, tracking stores displayed visitor isn't practical thing track, unless have couple of stores...if have dozens or hundreds etc. there's no practical way track that, , client should reconsider why want track in first place.
the more feasible , actionable thing track user performed search event itself, , maybe zipcode user enters.
in case, track after page load, need pop following:
s.linktrackvars : variables want track must "registered" linktrackvars. ensure other variables set on page load not sent in omniture , over-counted. not use 's.' prefix in list, no spaces between commas, , variables case-sensitive. put whatever variables intend on populating call. if want track event (and should), 'events' should go in here (the actual variable name, not event number).
s.linktrackevents : events want track need added variable register event. should same value use s.events
also populate variable want track in call.
s.tl(true,'o','store location search') : omniture click tracking method. takes 3 arguments. first used if tracking link, should pass object reference of link, since aren't doing here, can pass true. 2nd arg specifies type of tracking. can 'd' download, 'e' exit, or 'o' other. 3rd argument description of tracking call. put 'store location search' in there, can put whatever want. doesn't matter because value show in link tracking reports , reports useless anyways; you'll looking @ variable , event reports.
here example of put together:
in example, using evar1 track zipcode entered, , event1 track search event.
s.linktrackvars = 'events,evar1'; s.linktrackevents = 'event1'; s.events = 'event1'; s.evar1 = '12345'; s.tl(true,'o','store location search'); with example able see how many store location searches performed looking @ event1 metric. able see zipcodes used in search, evar1 report.
Comments
Post a Comment