Google is committed to advancing racial equity for Black communities. See how.

TagManagerPreviewActivity

public class TagManagerPreviewActivity extends Activity

An Activity to preview or stop previewing a Google Tag Manager container.

To use the preview function, the app should add the following snippet into its build.gradle (where <application_id> needs to be replaced by your application id):

android {
 defaultConfig {
 applicationId "<application_id>"
 }
 }
 

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

Public Method Summary

void
onCreate(Bundle savedInstanceState)

Prepares for previewing a non-published container and then launches the launch activity for this package.

Inherited Method Summary

Public Constructors

public TagManagerPreviewActivity ()

Public Methods

public void onCreate (Bundle savedInstanceState)

Prepares for previewing a non-published container and then launches the launch activity for this package.