# Patent

## Title
Web-beacon plug-ins and their certification

## Abstract

Tools and techniques are provided to allow partners of analytics providers and others who use web-beacons to submit web-beacon plug-ins for scrutiny, and for the plug-in to either be refused or else to be certified for use in a core JavaScript file or similar component. Analytics providers and others may also write web-beacon plug-ins. Certified plug-ins are executed in response to page loads, visitor clicks, and other visitor and programmatic actions at a website that has been tagged by the analytics provider's web-beacon, without requiring re-tagging of the website with a separate web-beacon for the partner. This allows the partner to obtain analytics data by piggybacking on the analytics provider, without re-tagging, and without compromising the availability and accuracy of the analytics data already being gathered. To be certified, web-beacon plug-ins must satisfy specific criteria as to their size, behavior, namespace, and the like.

## Background
This application is a Divisional of U.S. application Ser. No. 11/426,556, filed Jun. 26, 2006, which is incorporated by reference herein in its entirety.


BACKGROUND
Web site usage via browsers is regularly tracked and analyzed by commercially available web analytics services, which gather detailed data about web page usage, and to some extent about particular web site users. Entities which provide other entities with web analytics services are referred to as “analytics providers”. One leading web analytics provider is Omniture, Inc., of Orem, Utah, the owner of the present invention. OMNITURE provides web analytics technology under its well-known mark SITECATALYSTTM. All other marks used herein are property of their respective owners.
At present web analytics data are typically collected from server logs or using web beacons. Web-beacons are small image requests placed in a web page to cause communication between the user's device and a server. The server may be controlled by the analytics provider, by the vendor whose website contains the web-beacons, or by another party. Web-beacons are also known as clear GIFs, web bugs, image requests, or pixel tags. Web-beacons can be used for advertising, behavioral targeting, and other processes, to gather information a visits to websites. Web-beacons are commonly used by analytics providers to gather analytics data.
In particular, in some known web-beacon-based analytics systems, a web-beacon was pasted into website pages to cause communication with a core JAVASCRIPT file on the customer server; web-beacons may also be hosted on other servers, such as analytics provider (Omniture) servers. The pasted web-beacon code was served on each HTML page the customer wished to track. The core JavaScript file was effectively included via the pasted code, allowing the customer to make some updates to the analytics data gathering process without having to re-tag the entire website.
In one simple and commonly found configuration, the entities involved with analytics are (a) the website visitor, (b) the vendor or other entity responsible for the website being visited by the user, and (c) the analytics provider that was retained by the vendor to obtain analytics data about visits to the website. More recent configurations have also involved (d) third-party advertisers or other entities. In some cases, these third party entities have partnered with the analytics provider, and the vendor is their shared customer.
As used herein, “analytics provider” refers to an entity that provides web analytics services, such as Omniture, or Omniture partners or competitors such as COREMETRICS, GOOGLE, NEDSTAT, WEBSIDESTORY, WEBTRENDS, EPIPHANY (SSA GLOBAL), NETRATINGS, SANE SOLUTIONS (UNICA), SAS INSTITUTE, AQUANTIVE, DOUBLECLICK, and 24/7 REAL MEDIA. “Partner” refers here to an entity which has a formal business relationship with the analytics provider; in the case of analytics provider Omniture, some of the many examples of partners or potential partners are ADVERTISING.COM and BAYNOTE. The term ‘co-customer’ refers to a vendor or other shared customer of the analytics provider and the partner; in the case of analytics provider Omniture, an example of a potential co-customer is AOL.
However, when a partner needed real-time data about website visits via their own web-beacon to provide a desired service to the co-customer, re-tagging has been used. That is, the partner's own web-beacon was pasted into the website pages, in addition to the analytics provider web-beacon. Such re-tagging can require a large investment, which may in turn impede the sales cycle for partners of the analytics provider, and often creates additional expense and delay for the co-customer. As an alternative for partners who don't require their own web-beacon, Omniture and other companies commonly provide bulk data feeds to the partner, which does not require re-tagging. In other words, a partner can collect data regarding co-customer website usage in several ways: collect it directly themselves via their own web-beacon (or by processing server logs), or collect it directly from the co-customer via some sort of data feed, or collect it from a third party (e.g., Omniture or other analytics provider) with the co-customer's permission via a data feed. Of course, another alternative to retagging is to do without the partner's services. Another alternative would be to modify the core JavaScript file in an ad hoc way by adding code inline to the body of that file to gather data requested by the partner, and then sending the resulting data to the partner.
Other concepts related to the present invention may be known, or become apparent through sources other than this background, including without limitation the references being made of record in connection with the present patent application.
SUMMARY
The present invention provides tools and techniques for facilitating use of web-beacon plug-ins. Some methods of the invention may be used by an analytics provider, with steps such as obtaining a web-beacon plug-in, by writing it or by receiving it from a partner of the analytics provider (or by writing it themselves); scrutinizing the web-beacon plug-in to determine the extent to which the web-beacon plug-in complies with certification criteria for interfacing with a core analytics component of the analytics provider in a web-beacon-based analytics system; certifying the web-beacon plug-in as compliant with certification criteria; and permitting execution of the web-beacon plug-in in conjunction with execution of the core analytics component in the web-beacon-based analytics system. Similar methods may be used by parties other than analytics providers.
Some generally corresponding methods may be used by an analytics provider's partner, by a vendor/co-customer, or by another entity's partner, with steps such as creating a web beacon plug-in, sending a web-beacon plug-in to the party for scrutiny, learning the extent to which the scrutinized web-beacon plug-in complies with the certification criteria, and modifying the web-beacon plug-in to bring it into compliance if necessary.
The invention also provides systems employing web-beacons, such as a web-beacon-based analytics system including web-beacon code to be pasted into web pages of a co-customer website, core code invoked through the web-beacon code, and partner web-beacon plug-in code invoked through the same web-beacon code. The web-beacon plug-in is configured to plug into the core code to receive control and data from the core code through the interface and to send control and data only in conformance with the interface. The interface is for passing control and data to the plug-in and for limiting the effect of the plug-in on the core code outside the plug-in, e.g., by preventing the plug-in from damaging data used by the core code. Similar systems may employ web-beacons for purposes other than facilitating analytics provider data sharing with partners.
More generally, the invention provides an infrastructure and web-beacon plug-in interface which scales to allow multiple such plug-ins. Web-beacon plug-ins can be written by disparate sources, e.g., by partners, or outsourced by partners to analytics providers or third parties (including the provider) to write on behalf of the partner. Web-beacon plug-ins can be written to accomplish a variety of business purposes, facilitating technical actions that include firing a web beacon, writing text to a page, and many others. Using the invention, web-beacon plug-ins can perform such actions, triggered by various events such as a page load, link click, and so on. Certification parameters are provided, so that co-customers and partners alike can be assured of a specified level of quality. In particular, piggybacking off of a deployed web-beacon helps partners collect the data they need directly from their own web-beacon deployed on the co-customer web site. Plug-in usage tracking and accounting may help make embodiments more attractive and applicable to real-world businesses.
These examples are merely illustrative. The present invention is defined by the claims, and even though this summary helps provide a basis for claims, to the extent this summary conflicts with the claims ultimately granted, those claims should prevail.



DRAWINGS
To illustrate ways in which advantages and features of the invention can be obtained, a description of the present invention is given with reference to the attached drawings. These drawings only illustrate selected aspects of the invention and thus do not fully determine the invention's scope.
FIG. 1 is a flow chart illustrating methods performed by or on behalf of an analytics provider or other entity to capture, direct, protect, and/or otherwise control the flow of analytics information and facilitate web-beacon plug-in use, according to at least one embodiment of the present invention.
FIG. 2 is a flow chart further illustrating the methods of FIG. 1.
FIG. 3 is a flow chart illustrating methods performed by or on behalf of a partner of an analytics provider to facilitate web-beacon plug-in use, according to at least one embodiment of the present invention.
FIG. 4 is a block diagram illustrating roles, data, information and control flow, devices, methods, and other aspects of some system embodiments of the present invention.



DETAILED DESCRIPTION
Introduction
The present invention provides tools and techniques to help gather information about user interaction with websites, in a manner that protects and complements analytics provider services and other infrastructure previously put in place. The invention is illustrated in discussions herein and in the drawing figures by specific examples, but it will be appreciated that other embodiments of the invention may depart from these examples. For instance, specific features of an example may be omitted, renamed, grouped differently, repeated, instantiated in hardware and/or software differently, performed in a different order, or be a mix of features appearing in two or more of the examples. Likewise, analytics providers and their partners and co-customers are often cited in examples herein, but the inventive methods and systems can also be used by others entities.
Definitions of terms are provided explicitly and implicitly throughout this document. Terms do not necessarily have the same meaning here that they have in general usage, in the usage of a particular industry, or in a particular dictionary or set of dictionaries. The inventors assert and exercise their right to be their own lexicographers, with respect to both coined terms and other terms.
It is not necessary for every inventive embodiment or configuration to include every component shown in the figures or discussed in the text, or to include components in the same numbers and relationships shown here. The figures and textual descriptions are merely examples.
A “page event” means a page load, page refresh, or other event modifying web page data in a visitor's device. “Visitor action event” means a click, scroll, resize, other action taken by a visitor to a website. “Programmatic event” means a senddate( ) call, a programmed determination that a specified amount of time has passed, or any other programmatic action.
Analytics Provider Methods, Plug-ins, Interfaces, Certification, and More
FIGS. 1 and 2 illustrate methods for use by or on behalf of an analytics provider, for instance. Although these inventive methods may be performed by an analytics provider, they may also be performed by another entity, including without limitation by an entity which acts under the direction of, and/or for the benefit of, an analytics provider. Indeed, they may be performed by a partner of the analytics provider, for the mutual benefit of the partner and the analytics provider. Reference is also made to additional figures below, because an understanding of the inventive systems and devices will help an understanding of the methods, and vice versa.
During an obtaining step 102, the performing entity receives, creates, or otherwise obtains a web-beacon plug-in 438. In particular, the web-beacon plug-in may be written by analytics provider, or it may be obtained by an analytics provider from a partner 460 of the analytics provider 462. “Analytics” is used somewhat broadly herein; analytics technology generates and/or gathers data about visitor behavior in websites, including in some cases web page visits, Flash or other multimedia presentation interactions, RSS or other feed interactions, and/or other visitor behavior during networked presentations, in a manner similar to widely used HTML web page analytics.
The obtained web-beacon plug-in may have been carried by any familiar or hereafter developed transmission conduit, such as email, file transfer, fax, post, courier, screen display, and so on. A party that generates the plug-in also thereby obtains it. Also, an analytics provider can obtain a plug-in from a partner even if the web-beacon plug-in does not leave the physical presence of the partner; the plug-in may be viewed, copied, or otherwise obtained by an authorized agent or employee of the analytics provider who visits the partner's office, for example. Upon being obtained 102, the web-beacon plug-in is available for scrutiny 104.
During scrutiny 104, the web-beacon plug-in is scrutinized to determine the extent to which the plug-in 438 complies with certification criteria 466. Scrutiny typically involves at least a review of the plug-in's code (instructions and/or data; source and/or executable). Related information such as screen shots, testbed results, code review summaries, programmer identifications, and the like, may be considered together with web-beacon plug-in code. In some cases, such as where the partner 460 submitting 302 the plug-in has already established a strong history of providing compliant plug-in code, the related information may be a sufficiently complete and credible proxy for the code to make analytics provider review of the code itself unnecessary.
Regardless, the method includes scrutinizing 104 the web-beacon plug-in to determine the extent to which the web-beacon plug-in complies with at least one predetermined certification criterion 466 for interfacing 436 with a core analytics component 432 of the analytics provider in a web-beacon-based analytics system 400. Examples of certification criteria 466 are given below, but it may be helpful to note here that certification may be directed, for instance, at requiring specific measures to prevent the plug-in from interfering with the analytics services that are being provided to the co-customer 464 by the analytics provider 462.
The scrutiny is concerned at least in part with the interface 436 between the web-beacon plug-in 438 and the analytics provider's core analytics component 432. That interface may be embodied, at least in part, in one or more function calls, as found in an application program interface (API), function specification, DLL interface, library function interface, or the like. However, certification may go beyond the questions of which parameters are passed in a function and what values (if any) are returned from a plug-in function. The effects on the plug-in on global variables 434, memory resources 410, 428, web page 412 text, images, and other content 416 as perceived by the visitor 402, web-beacons 414 in the current web page and other web pages, browsers and/or feed aggregators, etc. 418, cookies 420, and on other system 400 components, may also be important enough to require certification before placing the plug-in in a working system 400. These effects may be part of a defined interface 436, regardless of whether the plug-in is implemented with a function, a macro, the same or a separate thread as the analytics provider code 432, pasted inline code, the same or a separate file as the analytics provider code 432, or in some other manner.
The term “plug-in” is used herein in a manner that differs from at least some usages in the industry. For instance, unlike some known “browser plug-ins”, the present plug-in 438 generally would not necessarily add functionality to a browser 418 to enhance the user's sound, video, or animation experience. In some embodiments, web-beacon plug-ins could deliver advertisements, change the appearance of the web page, or otherwise modify the user's experience. The present plug-in 438 plugs most directly into a core JS file 430 or the like, so it 438 would not necessarily be viewed as a plug-in to a web browser, even when it is invoked via a web-beacon 414 of a web page 412 in the web browser 418. “JS” stands for JavaScript. Unlike conventional browser 418 plug-ins, the present plug-in is typically stored and maintained remotely from the visitor's system 404, on a server 428 of the analytics provider 462 and/or a co-customer server 424. The present plug-in 438 need not have a traditional modular form, although that would be a suitable design choice in some embodiments.
In some embodiments, the plug-in 438 is scrutinized 106 to determine whether it avoids changes to values of variables 434 of the core analytics code 432. Such avoidance is a possible certification criterion 466, and the scrutinizing step 104 can be directed at least in part to determining whether the web-beacon plug-in 438 complies with this criterion. Compliance may be required by the analytics provider 462 or a co-customer before they agree to deploy the plug-in in a given system 400, particularly if the system 400 is up and running and the co-customer 464 (and possibly other partners) depend on the availability and accuracy of the data being provided by the system. Plug-in deployment may well be controlled by the party that hosts the core component 430, whether that is an analytics provider, a co-customer, or some other entity.
In some embodiments, the plug-in 438 is scrutinized 108 to determine whether it limits its function names and variable names to a partner-specific namespace. Such a namespace may be assigned to the partner 460 by the analytics provider 462, or assigned in some other manner that prevents name clashes between analytics provider variables 434 and plug-in variables. For example, one possible approach is for the analytics provider to assign a different plug-in prefix <partner prefix> to each of its partners 460. The prefix must then be used in all of that partner's plug-in function and variable names. The analytics provider tag will only cause execution of the partner web-beacon plug-in that is named <partner prefix>_main( ). Such naming is a possible certification criterion 466, and a namespace scrutinizing step 108 may determine whether the web-beacon plug-in 438 complies with this criterion. The certification criteria 466 collectively define at least a portion of the interface 436; an actual function call such as foo_main( ) may also be part of the interface.
Similarly, in some embodiments one or more of the following are certification criteria 466: avoiding web-beacon plug-in execution errors (scrutiny step 110); avoiding web-beacon plug-in 438 writes of HTML code to a web page 412 after the web page has been loaded into a display memory 410 of a user's device 404 (scrutiny step 112); keeping the combined size of the web-beacon plug-in 438 and the core analytics component 430 below a predetermined maximum combination size (scrutiny step 114); making the plug-in 438 compatible with a specified JAVASCRIPT/ACTIONSCRIPT/VBSCRIPT/XML or other code 432 level (scrutiny step 116) and/or with a specified set of web browsers such as the set containing INTERNET EXPLORER version X and FIREFOX version Y, or the set containing all browsers except NETSCAPE 2.0, for instance (scrutiny step 118).
Scrutiny 120 may also examine compliance with other certification criteria. For instance, instead of or in addition to JavaScript, the core component 430 may use compiled code and/or other software languages or formats; compatibility with those may be a certification criterion 466. As another example, the plug-in may be required 120 to avoid some or all of the following: network activity, operating system calls, file system calls. The plug-in may also be required 120 to perform certain actions, such as logging its activities, calling debug or trace functions, and the like.
In some cases, a scrutinized plug-in 438 will fail some or all of the required criteria. As a result, the analytics provider will normally refuse 128 to certify the plug-in. To help the partner and/or the analytics provider modify 314 the plug-in to make it compliant, the analytics provider will normally also provide 130 details explaining which criteria were not met. Technical suggestions for changes, information about any testbed that was used 104 by the analytics provider, listing of source code 432, 430, 414 with which the plug-in 438 was tested, examples of compliant plug-in code, and/or other detailed information may also be provided 130 to assist the partner.
In other cases, however, the scrutinized plug-in 438 will meet the required criteria 466, perhaps entirely, or perhaps only well enough to proceed to additional testing. Regardless, the analytics provider or another authorized entity will certify 122 the plug-in for use in a system 400, which may be a testbed system or a fully released in-use commercial system, depending on the circumstances. Certification may be outsourced. Certification may be an express action 122 as simple as sending an email accepting the plug-in, or it may be more complex, such as sending the partner a legal agreement to review and enter to assign liability if the certified plug-in does not perform as expected. Certification may also be an implicit action 122, such as running 124 the plug-in in the selected system 400, offering or endorsing the plug-in within the provider's product line or marketing materials, or allowing an installed plug-in 438 to continue running 124.
In short, some methods include the steps of certifying 122 the web-beacon plug-in as compliant with a plurality of predetermined certification criteria 466, and permitting 124 execution of the web-beacon plug-in in conjunction with execution of the core analytics component 430 in the web-beacon-based analytics system 400. Running a scrutinized plug-in in the system 400 performs both steps 122, 124. Certification may also be done separately, e.g., by email, phone, fax, or other communication to the effect of “the plug-in meets the requirements”. Permitting 124 execution may be done by actually executing the plug-in, or it 124 may be accomplished by simply making it possible for the plug-in to run with little or no additional effort by the parties.
In some embodiments, the permitted execution 124 has an execution order, in which plug-in 438 execution is controlled relative to core code 432 execution. For instance, the core analytics component 430 and its plug-in 438 may be configured 230 such that analytics provider server 428 calls precede partner server 444 calls. If multiple plug-ins are present, they will normally execute in some sequence rather than completely in parallel, at least under current execution technologies, but they should not normally assume any particular execution order amongst themselves. In an alternate embodiment, plug-ins belong to execution classes, and those in one class have higher execution priority than those in another class.
In general, the analytics provider will track 126 plug-in execution, using log files, profilers, counters, and/or other familiar tools for tracking software execution. Tracking will assist in debugging and optimization, and may also be used as a basis for an accounting sent 306 to the partner 460. The analytics provider may track 126 the number of executions of the web-beacon plug-in in conjunction with execution of the core analytics component in the web-beacon-based analytics system, and/or the number of web pages from which execution of the web-beacon plug-in was invoked, for example.
In some embodiments, the web-beacon plug-in code includes a permitted execution means for providing analytics information flow control. This means includes computer source, object, or other code for performing 124 one or more of the following actions: making a web-beacon request to a server of the partner 202; tracking website user behavior based on a query string 204; tracking website user behavior based on interaction with a DOM object 206; tracking website user behavior based on viewing of specific website content 208; using an event listener 210; writing data to a cookie 212; reading data from a cookie 214; placing an advertisement in a web page for display to a website user 216; writing HTML to a web page 218; submitting text to be displayed in a web page 220; submitting an image to be displayed in a web page 222; returning a value 224; returning a base URL value 226; returning an array of name-value pairs 228.
These items are not mutually exclusive; more than one may be present in the code means in question. Indeed, these items overlap in some cases, e.g., returning a base URL value 226 is a particular way to return a value 224. In particular, the partner web-beacon plug-in code 438 can be configured in some embodiments as a function which returns a base URL and an array of name-value pairs. Other permitted execution tasks 232, which are not necessarily part of the particular means for providing analytics information flow control just described, include defining variables, emitting debugger statements, reading global variables, and other actions of the type normally performed in analytics software generally.
Partner Methods
FIG. 3 illustrates methods for use by a partner of an analytics provider; they may also be performed by one department of an analytics provider for scrutiny by another department, for example. These methods correspond generally to the methods illustrated in FIGS. 1 and 2. For instance, a step 302 of sending a web-beacon plug-in for scrutiny corresponds to obtaining 102 the plug-in. The same or similar transmission media used to obtain 102 the plug-in 438 may also be used to send 302 the plug-in. The scrutiny itself may be performed 104 by the partner, before being performed 104 by the analytics provider, or in consultation with the analytics provider. Similarly, the steps of detailing 130 the scrutiny results and/or certifying 122 the plug-in correspond to a step of learning 304 how well the plug-in 438 complies with the certification criteria 466.
If the plug-in is certified 122 and permitted 124 to execute, then the tracking 126 supports production 306 of an accounting, as discussed above. Some business arrangements may require that the partner 460 pay 308 the analytics provider for permitting execution of the partner's plug-in. Payment may be based on the number of pages 412 that invoke the plug-in 438, the number of times the plug-in executes, or on some other basis, such as a flat fee. In general, the partner wants the plug-in to run so that the partner can obtain 310 analytics data via the plug-in, which data the partner will then use 312 in providing services to the co-customer 464. For instance, the partner may use 312 the data to place 216 targeted ads within web pages 412.
If the plug-in is refused 128 certification, the partner (or someone acting on its behalf) may modify 314 the plug-in in an attempt to make it comply with the certification criteria 466. For example, the partner may remove 316 plug-in code that overrides or changes analytics code tag variables 434; may change 318 variable and function names to stay within the assigned namespace; may remove 320 code that changes the text, images, sounds, or other content 416 displayed to the visitor 402; may remove variables and/or otherwise optimize code to make 322 it smaller; and/or may make 324 other changes to satisfy the certification criteria 466. Modified code can be submitted 302 to the analytics provider or other scrutinizer, scrutinized 104, and acted on 122, 124, 126, 128, 130 as previously discussed.
Systems, Operation, and More
FIG. 4 illustrates a web-beacon-based system 400. The visitor 402 is typically an individual person; the co-customer 464, analytics provider 464 and partner 460 will typically be corporations, agencies, institutions, or other business entities.
The visitor's system 404 will often be a computer with corresponding I/O support 406 (keyboard, mouse, screen, speakers, trackball, touch screen, stylus, microphone, network link, etc.) and other software 422 (operating system, file system, diagnostics, applications) and hardware 408 (processor, local disk, etc.). But the visitor system 404 may include other devices capable of receiving a web page 412, such as cell phones, mobile phones, wireless devices such as those sold under the BLACKBERRY mark, personal digital assistants such as those sold under the PALM mark, and/or other devices, including handheld devices and others, which support visitor 402 actions to be tracked. Even if the device is a computer 404, it may be part of a client-server network or it may be a peer in a peer-to-peer network, or it may be a node in some other type of network.
Some embodiments include a computer-readable storage medium 468 such as a flash memory, CD, DVD, removable drive, or the like, which is configured to work in conjunction with a processor to perform a process for web-beacon certification and/or use as discussed herein. A hard disk, RAM, tape, or other memory 410 in a visitor device 404 and/or a server 428 may also be configured to serve as a computer-readable storage medium 468 embodying the invention. It will be understood that method embodiments and configured media embodiments are generally closely related, in the sense that many methods can be implemented using code that configures a medium, and that many configured media are configured by code which performs a method. Those of skill will understand that legally equivalent methods may also be performed using hardwired special-purpose hardware which does not contain a ROM, PROM, EEPROM, RAM, or other memory medium embodying code that performs a method, but such implementations are expected to be unusual because of the generally high cost of implementing methods completely in silicon without a medium containing microcode or other code.
The illustrated web-beacon-based analytics system 400 includes web-beacon code 414 pasted into web pages 412 of a co-customer website 426; core analytics code 432 invoked through the web-beacon code, the core analytics code having an interface 436 for passing control and data to the plug-in 438 and for limiting the effect of the plug-in on the core analytics code outside the plug-in to protect the availability and accuracy of analytics data; and the partner web-beacon plug-in code 438, which is configured to plug into the core analytics code 432 to receive control and data from the core analytics code through the interface and to send control and data only in conformance with the interface 436. In some embodiments, the partner web-beacon plug-in code consists essentially of a JavaScript function; that is, the plug-in may include more than a JavaScript function, but it will not function as desired without some JavaScript function that is thus essential to it.
In some embodiments, at least one analytics variable 434 is defined and written by the core analytics code 432, is read by the partner web-beacon plug-in code 438, and is not written by the partner web-beacon plug-in code 438. Meeting these conditions may be a way of satisfying 316 a certification criterion 466.
In some embodiments, the system 400 is configured to send 450 an image request to a server 428 of the analytics provider, to receive 452 a response, and to then send 454 a different image request to a server 444 of the partner. Adhering to this sequence 230 may be a way of satisfying 120 a certification criterion 466.
In some embodiments, the system 400 is configured to invoke the partner web-beacon plug-in code 438 in response to one or more of the following events: page 412 load, user 402 click, senddate( ) call. A given system 400 may also be configured to invoke the partner web-beacon plug-in code 438 in response to other events.
In some embodiments, the system 400 is configured with unique visitor IDs 458 which are generated by a co-customer server 424 and/or by co-customer code 422 on the visitor's device 404. These visitor IDs 458 are used by the core analytics code 423, and are also used 232 by the partner web-beacon plug-in code 438. Adhering 120 to specified types and/or uses of visitor IDs may be a certification criterion 466.
In some embodiments, the system 400 is configured to be free of any data exchange between analytics provider web-beacons 414 and partner web-beacons. Thus, any analytics data obtained 310 by the partner 460 comes by way of the partner's plug-in 438. Avoiding 120 data exchange between analytics provider web-beacons 414 and partner web-beacons may be a certification criterion 466.
Some embodiments include a plug-in produced by a method described herein. Some include analytics data structures produced and/or updated by the inventive methods. Such plug-ins and structures may be stored in—and thus configure—any computer-readable medium, including removable media 468 or memories 410. They may be implemented in JavaScript, ActionScript, VBScript, C++, JAVA, XML, PERL, and/or another programming or scripting language, or in a combination of languages, except as otherwise required by operability or claim limitations.
In operation, some embodiments proceed as follows. The visitor enters an URL, clicks on a hyperlink, or otherwise selects the co-customer's website 426 to visit, or if already at the website, selects a page of the site to visit. This leads to a request 446 from the co-customer's server 424, which in turn produces a web page 412 that is sent 448 over a network connection 406 to the user's device 404, and to the user's browser 418 in particular. Assume that web page 412 was tagged with a web-beacon 414 to support analytics services being provided to the co-customer 464 by the analytics provider 462.
The browser directs 450 a request—which may include raw analytics data—to the analytics provider's server. In Omniture terms, a hit comes to mod-stats containing SiteCatalyst information, e.g., along request 450 may be something along the lines of “1x1.gif?campaign=1234567& . . . ”. This “mod-stats” is an internal Omniture component, not to be confused with the commercially available ModStats product (www dot modstats dot com). The analytics provider server 428 responds 452 with the clear GIF; in Omniture terms, mod-stats returns a GIF. It will be appreciated that Omniture's mod-stats is merely an example of the more general case, namely, a data-collection engine. In some embodiments, the browser 418 executes the JS file 430 and therefore executes the JS plug-in 438. In other embodiments, the analytics provider servers 428 may execute a plug-in written for that platform. In the illustrated system 400, analytics data also flows from the analytics provider server 428 to an analytics provider data processing engine 440 and an analytics provider data store 442, which are known in the art.
Stated differently, in Omniture terms, a web-beacon request comes to the data collection server containing web site usage information, e.g., request 450 may be something along the lines of “[address]?c=123456& . . . ”. The analytics provider server 428 responds 452 with a GIF; in Omniture terms, the data collection server returns a transparent GIF.
The partner plug-in 438 generates a separate image request 454 to the partner server 444. For instance, this partner image request could be along the lines of “partner.com/track.gif?customer_id=123456789&campaign=1234567& . . . ”. The partner server thus leverages 310 analytics data for the partner to use 312. All applicable laws, policies, agreements, and practices as to privacy and data sharing should, of course, be respected. The partner server returns 456 a clear GIF, and the visitor's browsing experience continues.
Additional Examples
In some embodiments, some or all of the following characteristics are present in a system 400 and/or used in a method according to the present invention. These are merely examples, and are thus not necessarily required in a given embodiment, regardless of whether terms like “should” or “will” are used in describing them:
The plug-in 438 is a JavaScript function.
The plug-in 438 is JavaScript 1.0 compatible.
The plug-in 438 is backwards compatible.
The JavaScript file 430 and plug-in 438 run only inside a web browser 418.
The JavaScript file 430 is served 448 by a co-customer's server 424.
The partner must manage its own web-beacon 414 and its own cookies 420. This solution does not include data exchange between web-beacons, or redirects/pass thrus. Technical and process requirements will be imposed on the plug-ins 438 in order to protect the analytics provider's own web-beacon and service.
The analytics provider tag always executes any analytics provider server 428 calls first. Any partner server 444 calls will be executed after the analytics provider server 428 call(s). The partner web-beacon plug-in 438 will be executed prior to the analytics provider server call, so that the analytics provider server call can track 126 partner plug-in usage, but the actual partner image request 454 will not be sent until after the analytics provider server 428 call(s).
Following is a first run at the expected order of execution for Omniture H code:
1. Include our JS file
2. Write image/JavaScript placeholders if necessary
3. Set Omniture variables
4. Run partner functions/plug-ins
5. Fire Omniture gif
6. Fire partner gifs—at anytime after the page loads
7. Record billing info in a cookie or otherwise for later submission
To protect the namespace, the analytics provider assigns a plug-in prefix (<partner prefix>) or other identifier to each certified partner. This prefix or identifier must be used in all function and variable names. The analytics provider tag may only execute the partner plug-in that follows a specified naming convention, such as plug-ins 438 named “<partner prefix>_main”.
The plug-in 438 has access to all analytics provider tag object variables but it may not override or change the value of those variables. The plug-in 438 may introduce new variables within the plug-in; all such variables must use the assigned plug-in partner prefix.
Under a web-beacon plug-in approach, partners who wish to leverage the analytics provider's image tag management code (checking browser versions, writing out objects vs. tags, etc.) can write a simple plug-in 438 to generate and return a base URL and an array of name-value pairs. The analytics provider's code will construct the URL and perform the image handling. Under an ad hoc plug-in approach (which is not necessarily commercially available initially), partners who wish to perform their own image tag management, or who require functionality beyond generating a web-beacon, may write a plug-in 438 that returns no value; the analytics provider will do nothing beyond calling the certified plug-in.
In some instances, partners will want to customize their generic plug-in 438. For example, it is known in the art for targeted advertisers to customize their web-beacons for certain customers who want to target segments of their site. Similar customization of a plug-in 438 is possible. If the partner 460 works with the co-customer 464 to customize plug-in code after that code has been generated and/or otherwise certified by the analytics provider 462, they would do so at the co-customer's own risk. The co-customer may need to manage and retain such custom code, as a given analytics provider's code generation system will not necessarily regenerate such custom code.
It may develop that a key best practice is for co-customers 464 to establish their own visitor IDs 458. This approach would scale, and allow the co-customer to tie diverse data sets together accurately. Accordingly, it may be recommended that the co-customer set their own unique visitor ID in their own first-party cookie 420 and then send 450, 454 that unique visitor ID to the analytics provider and the partner(s) 460.
The invention allows partners to tag co-customer pages from within the analytics provider's JavaScript file. This allows the JavaScript file, and possibly one or more other files, to create reports to be used for billing the partner.
The partner web-beacon plug-ins 438 can deploy JavaScript on all pages, to: include an image beacon on all or specific pages; track user behavior based on query string parameters 204, DOM interaction 206, viewing specific content 208, etc.; store 212 user behavior in cookies; include 216 advertisements on all or specific pages; and/or perform 232 other permitted execution means for providing analytics information flow control.
The JavaScript plug-in interface 436 includes an API with functions that allow partners 460 to attach event listeners 210, reference DOM objects 206, write 212 and read 214 cookies 420, and submit 220 some text to be written to the page by the analytics provider's JS file 430. This text can be any valid HTML, including references to JavaScript files and images.
Partners 460 have the ability to attach 210 event listeners in all browsers 418. Known event listener functionality for old browsers is expanded to support calling any number of event listeners. If this creates potential problems or significantly increases the size of the core JS file 430, it can be dropped, e.g., by only supporting only new browsers.
Clear documentation should be provided, for example, of the JavaScript API, dos and don'ts for plug-in writing, plug-in examples, and limitations. For example, in Omniture terms the browser-specific event listener functions (addEventListener and attachEvent) could be passed the word “click” and the DOM object to attach to; addEventListener could be called with “click” and attachEvent with “onclick.” This can done to reduce JS file 430 size. Clear documentation is given about the DOM objects referenced in the analytics provider's code 432. In addition to aiding plug-in development, this could to allow partners 460 to use an analytic provider's very small variable names and thus reduce plug-in size.
Some parties are concerned about the number of cookies written on their domains. It is possible to combine all cookies written by the JavaScript file 430 into a single set of cookies. There are known requirements for implementing this type of cookie, e.g., all JS files on a domain need to use the same logic. The interface API 436 should allow clients to read and write either a combined cookie or their own separate cookie. The combined cookie will keep the total cookie count down, and the separate cookie will allow partners to read and write cookies outside of the analytics provider's JS file. A limit, e.g., 4K bytes, could be imposed if cookies get too large. Limits may be placed on partner cookies to prevent analytics provider cookies from being bumped. Partners that may generate large cookies should be allowed to have cookies in or out of the analytics provider's combined cookies. Part of the guidelines for approving plug-ins should include validation of cookie size, unless there is a programmatic way to limit cookie usage without breaking functionality.
An administration module and/or other tools may be provided to help customers generate and otherwise manage plug-ins.
Functionality may be provided to let customers update DOM objects on the web page. For instance, this could allow customers to update existing image placeholders or other tags on the page. The most common use might well be updating an image placeholder, but support for updating the HTML within DIV tags or inserting objects into the DOM could also be supported.
The plug-in 438 allows a partner 460 to write HTML code to the page 412. This may be an image beacon, a reference to a JS file, or an HTML table with references inside of it. This should only be allowed as the page loads, to avoid problems with overwriting the page.
In Omniture terms, a doPlugins function is called when the page 412 loads, each time a user 402 clicks on the page and each time the send-date function (t) is called. To avoid problems with overwriting the page after the page loads, any functions that write to the page should only be called as the page loads. Partners should be allowed to create functions that are called as event listeners 210, and those functions should be allowed to update the DOM 206 in a way similar to the way that Omniture or another analytics provider does. Because most partners will be using a beacon system, the system 400 should support the ability to update the source of images already included in the page at any time via a function call.
Steps are taken to prevent JS errors in analytics provider code. For instance, new browsers allow error handling, which should be taken advantage of. Additionally, documentation should be provided so that a solid review 104 process is outlined, instructing the implementation team on how to review a plug-in for potential errors.
In Omniture terms, plug-in support may be limited to newer releases, e.g., only version H code would be supported initially, with a potential for supporting G code later based on business development and partner needs, for example. Web-beacon plug-in support may be limited to certain versions of the web-beacon tag, those versions and that support may be influenced by business decisions, new browsers and technology, etc.
Efforts may be made to shrink the pre-existing core JS file 430. Partners and customers may express concern about the size of JavaScript files on the page 412. Relative page weight and page load speed may be concerns, whether or not there is some upper limit on page size, but these concerns are referred to collectively herein as “size constraints”. The smaller the JS file 430 is, the more room there is to add partner plug-ins 438. While using gzip compression on the file 430 will technically work, some clients are reluctant to make changes to their web servers, especially if they're not comfortable with the compression plug-ins like mod-gzip. The JavaScript file 430 to be used should be revisited in an effort to shrink it as much as possible. For example, by writing a function that performs a substring, another that returns the indexOf value on a string, etc, one can shrink the Omniture JS file by about 300 bytes. Devoting some engineering resources to shrinking the file 430 may to increase the likelihood of adoption of some embodiments of the invention. The core JS file may also be altered or enhanced, e.g., to track site sections. Adjustments to the JS file based on size or other considerations may be made to accommodate the plug-in structure. For example, customers or others may express concern regarding the resulting size of the JS file when considering adding partner plug-ins. The plug-in provider may provide optimizations or adjustments to the provided JS file to address these concerns.
Partner web-beacon plug-in executions are captured. Because partners are utilizing an analytics provider's code base to implement, they may be charged 308 a per-execution fee, or CPMM (cost per million impressions). Thus, it is helpful or necessary in these embodiments to accurately track the number of plug-in executions, and/or the number of pages on which the partner code is included. For example, the functions that update an image placeholder or write HTML to the page could contain a flag designating that this is a billable action. These image requests may be sent after Omniture's image request. For reporting purposes, the partner billing is not company specific, but should allow for company specific data. For example, a partner should be able to get a report that shows the number of total executions by client. Report format depends on whether the report is consumed only within the analytics provider (e.g., Omniture's accounting department) or sent outside. The embodiment may allow partners to receive billing information on a per “data sent” model, or via a per shared-client model. The per shared client model will be easier to track (bill for each customer that uses the plug-in), but one should also track from the JavaScript file to validate. One may log the number of times an image request is sent via the JS file. If a cookie is used, this may lose some accuracy due to exit links, which should be considered. The data should be collected globally—across data centers. Clients may have many partner plug-ins running on their pages at once, so data for all of these partners should be collected in the standard image request.
Conclusion
Although particular embodiments of the present invention are expressly illustrated and described herein as methods, for instance, it will be appreciated that discussion of one type of embodiment also generally extends to other embodiment types. For instance, the descriptions of methods also help describe devices, configured media, and method products. Limitations from one embodiment are not necessarily read into another.
All claims as filed are part of the specification and thus help describe the invention, and repeated claim language may be inserted outside the claims as needed without violating the prohibition against new matter. Terms such as “a” and “the” are inclusive of one or more of the indicated item or step. In the claims a reference to an item means at least one such item is present and a reference to a step means at least one instance of the step is performed, in the absence of a clear indication that the item or step is optional, in which case it may be present/performed. Headings herein are provided for convenience only; information on a given topic may often be found outside the section whose heading indicates that topic.
Embodiments such as the methods illustrated or corresponding systems may omit items/steps, repeat items/steps, group them differently, supplement them with familiar items/steps, or otherwise comprise variations on the given examples. Suitable software to assist in implementing the invention is readily provided by those of skill in the pertinent art(s) using the teachings presented here and programming languages and tools, including without limitation except as expressly required, JavaScript code, as well as other scripting languages, HTML, XML, APIs, SDKs, network protocol stacks, assembly language, firmware, microcode, compilers, debuggers, and/or other languages and tools.
Although this document includes at least one website address, such addresses and the material on the sites thus addressed are provided only for background and/or as examples to help illustrate the invention. This document does not incorporate by reference any essential material from such websites.
The embodiments discussed are illustrative of the application for the principles of the present invention. Numerous modifications and alternative embodiments can be devised without departing from the spirit and scope of the present invention.

## Claims

1. A method implemented in an analytics server for gathering and reporting analytics data about user interactions with a website, the method comprising:
providing a web-beacon code for inclusion in a web page of a website, wherein the web-beacon code is configured to invoke core analytics code for gathering analytics data associated with the website; and
in response to the web-beacon code being executed in a visitor computer of a visitor to the web page:
receiving a first request from the visitor computer to invoke the core analytics code, wherein the core analytics code is executed in the visitor computer to gather the analytics data and to execute a plug-in to the core analytics code, wherein the plug-in is an executable function provided by an analytics provider partner and certified to comply with one or more certification criteria for interfacing with the core analytics code, wherein the plug-in is configured to send at least some of the analytics data from the visitor computer to a server for the analytics provider partner, and wherein the core analytics code comprises an interface for (i) passing control and data to the plug-in and (ii) protecting availability and accuracy of the analytics data by limiting an effect of the plug-in on the core analytics code; and
receiving a second request from the visitor computer comprising the analytics data.

2. The method of claim 1, wherein an analytics provider tracks execution of the plug-in.

3. The method of claim 2, wherein tracking execution of the plug-in comprises tracking a number of executions of the plug-in or tracking a number of web pages from which execution of the plug-in was invoked.

4. The method of claim 1, wherein the core analytics code and the plug-in are configured to write to a shared cookie on the visitor computer.

5. The method of claim 1, wherein the core analytics code executes a plurality of plug-ins, each belonging to an execution class, wherein plug-ins in one execution class have higher execution priority than plug-ins in another execution class.

6. The method of claim 1, wherein the plug-in is invoked in response to at least one of the following events: page event, visitor action event, and programmatic event.

7. The method of claim 1, wherein the analytics data comprises a unique visitor ID generated by the web page for identifying the visitor computer.

8. The method of claim 1, wherein the core analytics code executes a plurality of plug-ins associated with a plurality of different analytics provider partners.

9. The method of claim 1, wherein code for the plug-in introduces a new variable not present in the core analytics code.

10. A non-transitory computer-readable medium embodying a program for gathering and reporting analytics data about user interactions with a web site, the program executable in an analytics server, comprising:
code that provides a web-beacon code for inclusion in a web page of a website, wherein the web-beacon code is configured to invoke core analytics code for gathering analytics data associated with the website; and
code that in response to the web-beacon code being executed in a visitor computer of a visitor to the web page:
receives a first request from the visitor computer to invoke the core analytics code, wherein the core analytics code is executed in the visitor computer to gather the analytics data and to execute a plug-in to the core analytics code, wherein the plug-in is an executable function provided by an analytics provider partner and certified to comply with one or more certification criteria for interfacing with the core analytics code, wherein the plug-in is configured to send at least some of the analytics data from the visitor computer to a server for the analytics provider partner, and wherein the core analytics code comprises an interface for (i) passing control and data to the plug-in and (ii) protecting availability and accuracy of the analytics data by limiting an effect of the plug-in on the core analytics code; and
receives a second request from the visitor computer comprising the analytics data.

11. The non-transitory computer-readable medium of claim 10, wherein the core analytics executes a plurality of plug-ins associated with a plurality of different analytics provider partners.

12. The non-transitory computer-readable medium of claim 10, wherein the analytics data comprises a unique visitor ID generated by the web page for identifying the visitor computer.

13. The non-transitory computer-readable medium of claim 10, wherein an analytics provider tracks execution of the plug-in.

14. The non-transitory computer-readable medium of claim 13, wherein tracking execution of the plug-in comprises tracking a number of executions of the plug-in or tracking a number of web pages from which execution of the plug-in was invoked.

15. A system for gathering and reporting analytics data about user interactions with a website, the system comprising:
one or more processors;
a memory coupled to the one or more processors; and
an analytics service executed by the one or more processors, the analytics service comprising logic that:
provides a web-beacon code for inclusion in a web page of a website, wherein the web-beacon code is configured to invoke core analytics code for gathering analytics data associated with the website; and
in response to the web-beacon code being executed in a visitor computer of a visitor to the web page:
receives a first request from the visitor computer to invoke the core analytics code, wherein the core analytics code is executed in the visitor computer to gather the analytics data and to execute a plug-in to the core analytics code, wherein the plug-in is an executable function provided by an analytics provider partner and certified to comply with one or more certification criteria for interfacing with the core analytics code, wherein the plug-in is configured to send at least some of the analytics data from the visitor computer to a server for the analytics provider partner, and wherein the core analytics code comprises an interface for (i) passing control and data to the plug-in and (ii) protecting availability and accuracy of the analytics data by limiting an effect of the plug-in on the core analytics code; and
receives a second request from the visitor computer comprising the analytics data.

16. The system of claim 15, wherein the plug-in is invoked in response to at least one of the following events: page event, visitor action event, and programmatic event.

17. The system of claim 15, wherein the analytics data comprises a unique visitor ID generated by the web page for identifying the visitor computer.

18. The system of claim 15, wherein an analytics provider tracks execution of the plug-in.

19. The system of claim 15, wherein the core analytics code executes a plurality of plug-ins, each belonging to an execution class, wherein plug-ins in one execution class have higher execution priority than plug-ins in another execution class.

20. The system of claim 15, wherein the core analytics code and the plug-in are configured to write to a shared cookie on the visitor computer.