Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
js
 
 
 
 

WDS Cookie Count Views

Counts user's pageviews in a cookie for use in ad targeting.

####Example use for Google DFP

googletag
	.defineSlot('/XXXXXXX/SidebarHome', [320, 480], 'div-gpt-ad-XXXXXXXXXXXXX-X')
	.addService(googletag.pubads())
	.setTargeting("pageviews", wds_viewcount());

In this example, pageviews needs to be a defined custom targeting key setup in DFP.

About

Counts user's pageviews in a cookie for use in ad targeting.

Resources

Releases

No releases published

Packages

No packages published