<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nielsentest.mywikis.net/w/index.php?action=history&amp;feed=atom&amp;title=StaticEnd_%28Browser%29</id>
	<title>StaticEnd (Browser) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nielsentest.mywikis.net/w/index.php?action=history&amp;feed=atom&amp;title=StaticEnd_%28Browser%29"/>
	<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=StaticEnd_(Browser)&amp;action=history"/>
	<updated>2026-04-14T20:15:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://nielsentest.mywikis.net/w/index.php?title=StaticEnd_(Browser)&amp;diff=6369&amp;oldid=prev</id>
		<title>NickParrucci: Created page with &quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Browser SDK API Reference}}  {{CurrentBreadcrumb}} Category:Digital Category:Browser SDK API Reference  The API cal...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=StaticEnd_(Browser)&amp;diff=6369&amp;oldid=prev"/>
		<updated>2023-06-07T18:51:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Browser SDK API Reference}}  {{CurrentBreadcrumb}} &lt;a href=&quot;/wiki/Category:Digital&quot; title=&quot;Category:Digital&quot;&gt;Category:Digital&lt;/a&gt; &lt;a href=&quot;/w/index.php?title=Category:Browser_SDK_API_Reference&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Browser SDK API Reference (page does not exist)&quot;&gt;Category:Browser SDK API Reference&lt;/a&gt;  The API cal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Browser SDK API Reference}}  {{CurrentBreadcrumb}}&lt;br /&gt;
[[Category:Digital]]&lt;br /&gt;
[[Category:Browser SDK API Reference]]&lt;br /&gt;
&lt;br /&gt;
The API call for staticend is not a requirement for all DCR Static integrations but is mandatory for Single Page Application (SPA).&lt;br /&gt;
The staticend call ends the DCR static measurement of the section or content viewed and is ready to start DCR static measurement for the next section. In the case of Single Page Application, to trigger a new view for a section, you have to stop the measurement of the current section through staticend call before starting the measurement for the next section.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
ggPM('56', metadataObject); // Use event '56' OR 'staticend'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
ggPM('staticend', metadataObject); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Input Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Description&lt;br /&gt;
|-&lt;br /&gt;
| event || staticend&lt;br /&gt;
|-&lt;br /&gt;
| metadataObject || Current metadata object&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
In Single Page Application (SPA) it is very important that the program calls &amp;lt;code&amp;gt;staticend&amp;lt;/code&amp;gt; before &amp;lt;code&amp;gt;loadMetadata&amp;lt;/code&amp;gt; This allows the Browser SDK to accurately credit the previous section/content being viewed before measuring the new one.&lt;br /&gt;
&lt;br /&gt;
Do not place this call inside beforeunload browser event, because the Browser SDK needs some time and resources to deliver data to the cloud.&lt;/div&gt;</summary>
		<author><name>NickParrucci</name></author>
	</entry>
</feed>