The Test Tool allows you to immediately test the implementation of a page after you deploy a deployment group to the test environment. Before you start testing, check out these sections:
After reviewing these concepts, you're ready to start testing. Check out Test tags by URL and then Analyze test results.
Test considerations
Testing is performed based on the most recent deployment group logic that you deploy to the test environment. Additional information to consider:
-
To use the page testing feature, your browser must be HTML5-compliant.
- The ability to open the test page and test tool in separate windows is not supported in Internet Explorer. To activate test reports on the Digital Analytics test system, contact Acoustic Support.
-
If your deployment group uses Digital Analytics tags, when you deploy it to the test environment, the cookie domain for the group's pages is overridden to testdata.coremetrics.com. Tag data from those pages is sent to your test client ID.
Reporting environments
Two reporting environments are available to you: test and production.
- Use the test environment while tags are in development (your development and staging environments).
- Use the production environment after the tags are moved to the live production site.
The data collection domain and reporting URL for the test environment are shown in the following table.
Parameter | Description |
---|---|
Client ID | Your 8-digit 9-series production Client ID, with the first digit replaced by "6".
Example: The production client ID "92345678" has a corresponding test client ID "62345678" . |
Data Collection Domain | The data collection domain for the test environment is testdata.coremetrics.com. |
Reporting URL | The reporting URL for the test environment is http://welcome.coremetrics.com. |
To test tags by URL:
- Select Test tool in the main navigation of Exchange Capture.
- Enter a URL where you want to test tags.
- Specify where you want to view site and page analysis:
- Single window provides a single window for analysis.
- Separate windows provides a more flexible choice as it separates the page tested with the diagnostic windows.
- Select an option for analyzing tags:
- Analyze tag only verifies that the tag field data is available and correct without actually sending the data.
- Analyze tag and send tag data sends the tag data to its target. This is useful if the first option confirms the tags are set up correctly but it is not known if the actual data is being sent correctly.
- Click Run test. If you encounter errors, check out Test tool error messages.
- Navigate in the displayed page as you would in any web browser. When you click links on the displayed page, or enter another page URL, the tag results table refreshes to show test results for the current page tags. For information about analyzing test results, check out Analyze test results.
Analyze test results
The Tag Results Table displays at the bottom of the browser window when you test deployment groups, showing the results of the tags that executed on the current page. Use the controls above the table to filter or customize your view of the results.
- Deployment Groups
- Select whether to view the results for all deployment groups that are deployed in the test environment, or select a specific deployment group to view only its tag execution results.
- Partners
- Select whether to view the results for all partner tags deployed in the test environment, or select a specific partner to view only its tag execution results.
- Show Errors Only
- Select this option to show only errors, such as invalid datatype in the tag results table. If tags are executed successfully, with no errors, they are not displayed in the table.
- Suppress Duplicates
- This option suppresses the display of duplicate data for multiple rows. For example, if a tag has multiple tag data item rows, but the Date/Time, Deployment Group, Category, Partner, Tag Function, and Tag Name are identical for each of those tag data items, they are displayed only once, in the first row for that tag. This option is selected by default.
- Encyclopedia
- Click the Encyclopedia link to view a summary of elements, functions, and tags that execute on the test page. To refresh the display after changes are made to your pages, you might need to close and reopen the Encyclopedia window.
- Tags that not found or are unable to be syndicated are displayed with X in the Encyclopedia. Tags returning values with invalid datatypes (for example, if the tag value does not match the tag's expected data type) are displayed with alerts.
- Settings
- Click this link to display the current global settings.
Column | Description |
---|---|
Date/Time | The date and time at which the tag was executed. |
Deployment Group | The name of the deployment group to which the tested page belongs. |
Category | The category of deployment groups to which the tested page belongs. |
Partner | The name of the partner that manages or hosts the tag. |
Tag Function | The name of the function that is called by the tag. |
Tag Data Item | The name of the tag data field that is associated with the tag. There can be several tag data fields for each tag. |
Value Returned |
The value that is captured by the tag for the tag data item.
|