View Tracking with Dynamic Teaser Insertion
    • 1 Minute to read
    • Dark
      Light

    View Tracking with Dynamic Teaser Insertion

    • Dark
      Light

    Article summary

    Teasers whose visibility is dynamically controlled by the zIndex, a rotation of different teaser elements, or other means, must be additionally marked when they are displayed (whether or not they are in the visible monitor area).

    Example

    window.wt_ttv2 = window.wt_ttv2 || [];
    window.wt_ttv2.push(
        {
        	selector: "li.item:nth-of-type(2)",
        	exclude: [
          		"li.item:nth-of-type(2) a:last-child"
          	],
          	data: {
             	name: "New Women Collection",
             	rank: "Main Page Banner",
             	content: "Women Collection",
             	variant: "campaign",
             	seen: true
          	},
          	conversion: {
             	type: "view",
             	goal: "order",
             	value: "10%"
          	}
        }
    );

    Parameter

    Description

    seen

    The "seen" parameter is specified in the "data" configuration object. This controls the type recognition of the teaser during data acquisition. View tracking is then deactivated for this teaser. Click, engagement and conversion tracking will continue to work for this teaser.


    Was this article helpful?

    What's Next